[Remoting] - Class Not Found Exception when remoting
by green804
I am getting the following exception in JBoss when remoting. We are running Jboss in a clustered enviroment using JBoss 4.2.1.GA with Java 5. We are using EJB3 and Spring. Is there something I need to configure or set to make sure this class loads?
java.lang.NoClassDefFoundError: org/jboss/aop/util/MarshalledValue
| 16:44:42,360 ERROR [STDERR] at org.jboss.aop.metadata.SimpleMetaData.readExternal(SimpleMetaData
| .java:251)
| 16:44:42,360 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java
| :1755)
| 16:44:42,360 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.ja
| va:1717)
| 16:44:42,360 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305
| )
| 16:44:42,360 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| 16:44:42,361 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.readExternal(MethodInvoc
| ation.java:328)
| 16:44:42,361 ERROR [STDERR] at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java
| :1755)
| 16:44:42,361 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.ja
| va:1717)
| 16:44:42,361 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305
| )
| 16:44:42,361 ERROR [STDERR] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.jav
| a:1908)
| 16:44:42,362 ERROR [STDERR] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1
| 832)
| 16:44:42,362 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.ja
| va:1719)
| 16:44:42,362 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305
| )
| 16:44:42,362 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
| 16:44:42,362 ERROR [STDERR] at org.jboss.remoting.serialization.impl.java.JavaSerializationManag
| er.receiveObjectVersion2_2(JavaSerializationManager.java:239)
| 16:44:42,362 ERROR [STDERR] at org.jboss.remoting.serialization.impl.java.JavaSerializationManag
| er.receiveObject(JavaSerializationManager.java:133)
| 16:44:42,363 ERROR [STDERR] at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.
| read(SerializableUnMarshaller.java:120)
| 16:44:42,363 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.versionedRead(Se
| rverThread.java:650)
| 16:44:42,363 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocatio
| n(ServerThread.java:530)
| 16:44:42,363 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThre
| ad.java:369)
| 16:44:42,363 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread
| .java:165)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202594#4202594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202594
17 years, 5 months
[JBoss Tools (users)] - Re: EAR Auto-Deployment Issue with Ganymede and JBoss Tools
by mingdexu
I have a similar issue - Eclipse 3.4.1, Jboss AS 4.2.3GA, JBoss Tool 3.0.0.CR1, Seam 2.0.2SP1
Application is deployed via Eclipse. It is an EAR project with WAR and EJB. When I manually deploy it to JBoss sever inside eclipse, the application starts and works fine.
When I change a web page (such as one .xhtml page) and click Save to save the file. In a minute, server starts to publish. It also tries to publish the java classes. However, the application will not start because it does not hot deploy the application correctly.
As a note, I used to use Eclipse Europa (ie, 3.3.2), and Jboss Tool 3.0.0 Alpha, and it does not deploy the Java classes.
Here is the console log -
14:44:19,635 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.AuthenticatorBean ejbName: AuthenticatorBean
14:44:19,639 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.impl.BookingSumCalculatorBean ejbName: BookingSumCalculatorBean
14:44:19,642 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.impl.CompanyCopyBean ejbName: CompanyCopyBean
14:44:19,645 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.impl.NumberRangeGeneratorBean ejbName: NumberRangeGeneratorBean
14:44:19,655 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.impl.UserSessionManagerBean ejbName: UserSessionManagerBean
14:44:19,663 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.LoadStructureAction ejbName: LoadStructureAction
14:44:19,672 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.UIRenderingManagerBean ejbName: UIRenderingManagerBean
14:44:19,673 INFO [EJBContainer] STOPPED EJB: com.harasoftware.eem.session.UnitConversion ejbName: UnitConversion
14:44:19,673 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=eem-ear.ear,jar=eem-ejb.jar,unitName=eem
14:44:19,674 INFO [SessionFactoryImpl] closing
14:44:19,674 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=eem-ear.ear,jar=eem-ejb.jar,unitName=eem
14:44:19,674 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:44:19,676 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=eem-ear.ear,jar=eem-ejb.jar,unitName=eem
14:44:19,676 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=eemDatasource' from JNDI name 'java:eemDatasource'
14:44:19,776 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=eemDatasource' to JNDI name 'java:eemDatasource'
14:44:19,776 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=eem-ear.ear,jar=eem-ejb.jar,unitName=eem
14:44:23,897 INFO [Ejb3Configuration] found EJB3 Entity bean: com.harasoftware.eem.entity.Accrual
....
14:44:25,599 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
14:44:25,619 INFO [Ejb3Configuration] [PersistenceUnit: eem] META-INF/orm.xml found
...
14:44:34,351 INFO [EJBContainer] STARTED EJB: com.harasoftware.eem.session.UIRenderingManagerBean ejbName: UIRenderingManagerBean
14:44:34,359 INFO [EJBContainer] STARTED EJB: com.harasoftware.eem.session.UnitConversion ejbName: UnitConversion
and then it hangs ..
If I undeploy the application and redeploy iy again, it start to work again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202588#4202588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202588
17 years, 5 months
[Clustering/JBoss] - discarded message from non-member
by bmelloni
As far as I can tell I setup a cluster following all the instructions. But as I start the 2nd server, even without any of my apps deployed, I get the error "discarded message from non-member" several times on the first server. Needless to say... things get worse when I try to deploy a simple webapp through the farm folder. I then see lots of errors and although I see the file -slowly (horrendously slowly)- arriving at the other server, the cluster is unusable. The documentation and troubleshooting FAQs haven't helped.
Does anyone have any clues about the possible causes?
Configuration for both boxes:
- JDK 1.6
- jBoss EAP 4.3
- Windows XP
- Firewall disabled for test
- Run all the jgroups standalone troubleshooting test successfully (problem only when using full jBoss)
- Using the 'all' configuration
- Reduced the network to a linksys router and 2 boxes
Symptoms:
- jGroups seems to start correctly and recognize both boxes:
15:50:45,995 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event:
15:50:45,995 INFO [DefaultPartition] Dead members: 0 ([])
15:50:45,995 INFO [DefaultPartition] New Members : 0 ([])
15:50:45,995 INFO [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 127.0.0.1:1099])
15:51:07,386 INFO [TreeCache] viewAccepted(): [192.168.11.103:2591|1] [192.168.11.103:2591, 192.168.11.102:1136]
15:51:09,730 INFO [TreeCache] viewAccepted(): [192.168.11.103:2595|1] [192.168.11.103:2595, 192.168.11.102:1141]
- Then the first server complains about 9 times like:
15:51:24,808 WARN [NAKACK] 192.168.11.103:2600] discarded message from non-member 192.168.11.102:1147, my view is [192.168.11.1
03:2600|0] [192.168.11.103:2600]
My guess is that I missed configuring something. Because of the jGroups tests I am reasonably confident that multicast works OK.
I searched this forum (no results), then googled and found lots of similar posts, but no answers. Any help will be greatly welcome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202586#4202586
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202586
17 years, 5 months