Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
Alex Wallace
Searching Web Content in 6.0 from trunk
2 luglio 2010 11.20
Risposta

Alex Wallace

Punteggio: Liferay Master

Messaggi: 640

Data di Iscrizione: 4 novembre 2007

Messaggi recenti

Hi there... Is this the right place to talk about issues found in pre - releases?

I just got LR 6 from trunk and still notice that I can't find Web Content using the Search portlet. Or the Content Search portlet.

When i use the search portlet all i see in the logs is :

[jsp:1513] com.liferay.portlet.journal.util.JournalOpenSearchImpl null

The portlet finds blogs and other types of content, but not WEB.

Thanks!
Jorge Ferrer
RE: Searching Web Content in 6.0 from trunk
8 luglio 2010 2.17
Risposta

Jorge Ferrer

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2764

Data di Iscrizione: 31 agosto 2006

Messaggi recenti

Hi Alex,

Yes, this is the right place. Sorry for the late reply, I had this task in my TODO list but it got pushed back by some urgent tasks related to the release.

I've finally had time to test it (with trunk rev 57732) and I've found an issue, but it's not exactly how you descrive. This is what I've done:
  1. Start with an empty database
  2. Enter as the Administrator user (Test Test)
  3. Create a new web content from the Control Panel
  4. Go back to the public page of the liferay.com (Guest) community
  5. Add the global search portlet and the web content portlet
  6. Search in the "global" search portlet. It finds the content I created.
  7. Search in the Web Content Search portlet: It doesn't find the content!


I'm working on finding out why the web content search fails. Please, let me know if the global search portlet still fails for you or if I've done something different.
Jorge Ferrer
RE: Searching Web Content in 6.0 from trunk
8 luglio 2010 10.24
Risposta

Jorge Ferrer

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2764

Data di Iscrizione: 31 agosto 2006

Messaggi recenti

I've been able to reproduce your exact behavior. See http://issues.liferay.com/browse/LPS-11075
Alex Wallace
RE: Searching Web Content in 6.0 from trunk
8 luglio 2010 10.56
Risposta

Alex Wallace

Punteggio: Liferay Master

Messaggi: 640

Data di Iscrizione: 4 novembre 2007

Messaggi recenti

Oh! Good to hear!

I gave it a try earlier, but after upgrading my trunk, the publish button would not appear... I didn't submit another post for that because i did another svn update and say that culprit files were updated, so I was about to give it another try.

Now that you've been able to see it I'll hold on trying for now.

Thanks Jorge!
Syed Mudassir Ali
RE: Searching Web Content in 6.0 from trunk
12 gennaio 2011 7.17
Risposta

Syed Mudassir Ali

Punteggio: New Member

Messaggi: 10

Data di Iscrizione: 29 novembre 2010

Messaggi recenti

Hi Guys,
Iam novice to liferay and trying caching(ehcache) of few java(serializable) objects in a multiple Tomcat 6.0.26 server environment(clusttered).
followed all the instructions you have mentioned here.

But i was not able to replicate cache.getting below exception.
I have Completely no idea on what iam doing wrong.

07:37:38,905 WARN [RMIAsynchronousCacheReplicator:328] Unable to send message to remote peer. Message was: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.cts.sample.SampleFormBean (no security manager: RMI class loader disabled)java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.cts.sample.SampleFormBean (no security manager: RMI class loader disabled)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:336)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at net.sf.ehcache.distribution.RMICachePeer_Stub.send(Unknown Source)
at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.flushReplicationQueue(RMIAsynchronousCacheReplicator.java:317)
at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.replicationThreadMain(RMIAsynchronousCacheReplicator.java:119)
at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.access$100(RMIAsynchronousCacheReplicator.java:56)
at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator$ReplicationThread.run(RMIAsynchronousCacheReplicator.java:376)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.cts.sample.SampleFormBean (no security manager: RMI class loader disabled)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:296)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.cts.sample.SampleFormBean (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
at net.sf.ehcache.Element.readObject(Element.java:796)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at net.sf.ehcache.distribution.EventMessage.readObject(EventMessage.java:139)
at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.ArrayList.readObject(ArrayList.java:593)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)
... 9 more


any kind of help on the issue would be of great use for me.

Thanks in Advance.
Syed Mudassir Ali.