Not really. The SerializationStreamFactory will try to statically load
both java and jboss serialization. There is a try/catch around the
loading of the jboss serialization, but only catches Exception.
However, when tries to load it and JBossObjectOutputStream is not found,
throws a NoClassDefFoundError, which is an error (which extends
Throwable, not Exception) so causes Naming to not be deployed.
So can either add the jboss serialization classes
(JBossObjectOutputStream imports a lot of the other jboss serialization
classes) or change this within SerializationStreamFactory so catches
throwable and allows processing to continue (but is going to require
another remoting release).
Dimitris Andreadis wrote:
I meant actually used by remoting in this setup, sorry.
-----Original Message-----
From: Dimitris Andreadis
Sent: 04 May, 2006 23:34
To: Tom Elrod
Cc: Scott M Stark; Clebert Suconic; QA;
jboss-development@lists.sourceforge.net
Subject: RE: Problem with minimal config in Branch_4_0
Is JBossSerialization actually, or this is just the API, in
which case you can just bundle the missing classes?
JBossSerialization is about 121Kb, and jboss-minimal 190kb.
-----Original Message-----
From: Tom Elrod
Sent: 04 May, 2006 22:48
To: Dimitris Andreadis
Cc: Scott M Stark; Clebert Suconic; Tom Elrod; QA;
jboss-development@lists.sourceforge.net
Subject: Re: Problem with minimal config in Branch_4_0
I have locally changed server/build.xml to include the 15 classes
needed from remoting into the jboss-minimal.jar.
However, is going to still need jboss serialization classes (see
below). Should jboss-serialization.jar be added to minimal lib
directory?
14:14:29,494 INFO [NamingService] JNDI bootstrap
JNP=/0.0.0.0:1099,
RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server
SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
14:14:29,524 WARN [ServiceController] Problem starting service
jboss:service=Naming
java.lang.NoClassDefFoundError:
org/jboss/serial/io/JBossObjectOutputStream
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at
org.jboss.remoting.serialization.SerializationStreamFactory.lo
adObjectManagerClass(Serial
izationStreamFactory.java:139)
Dimitris Andreadis wrote:
http://jira.jboss.com/jira/browse/JBAS-3171
-----Original Message-----
From: Scott M Stark
Sent: 02 May, 2006 07:34
To: Clebert Suconic; Tom Elrod
Cc: Dimitris Andreadis; QA;
'jboss-development@lists.sourceforge.net'
Subject: RE: Problem with minimal config in Branch_4_0
Ok, this package already is in the jboss-minmal.jar
-----Original Message-----
From: Clebert Suconic
Sent: Monday, May 01, 2006 9:20 PM
To: Scott M Stark; Tom Elrod
Cc: Dimitris Andreadis; QA;
'jboss-development@lists.sourceforge.net'
Subject: RE: Problem with minimal config in Branch_4_0
Eh eh... sorry, I should have been clearer.
There is an implementation under
org.jboss.invocation.unified package.
If that package is available under the minimal configuration, we
don't need to add the streaming Tom mentioned.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development