On Sep 21, 2005, at 8:05 PM, lin sun wrote:

Jeremy,

I am using 9/16's build, sun JDK 1.4.2_09, windows XP pro.

Sure I can zip it up if you have a site for me to load the files.

I noticed that I have "Service webadmin.properties failed to load" error in the
log...would that prevent things from working?


No, that error is just the server trying to start the Webadmin functionality and not finding it in the classloader. You don't need to boot the Webadmin, it's completely optional. If you are interested in trying it out though, see this page for setup http:// openejb.org/Webadmin

I think the issue you are facing is in regards to classloader change we made in 1.0 beta1.

-David


Thanks, Lin

--- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:


Lin,
I am unable to replicate this issue. I will look into it but maybe David
will have a better assessment. Let me ask you a few questions:

When did you install OpenEJB? We've made a lot of changes in the past few
weeks to fix issues.
What environment? (JDK, OS)
Is there anyway you can zip up the EJB so I can see it?

Take care,
Jeremy

On 9/21/05, lin sun <[EMAIL PROTECTED]> wrote:


Jeremy,

Thanks for trying to reproduce this for me. I cleaned
up the log and restarted the server, and reran the
client:

I got the same error on the client side, and I
verified that I have "DEBUG: STATELESS Hello" in
my openejb.log. But I got the following exception
after the server is ready:

INFO : OpenEJB ready.

ERROR: Service webadmin.properties failed to load.
Cannot load properties: System resource
webadmin.properties cannot be found

ERROR: Unexpected error

java.net.SocketException: Software caused connection
abort: socket write error

at java.net.SocketOutputStream.socketWrite0(Native
Method)

at java.net.SocketOutputStream.socketWrite(Unknown
Source)

at java.net.SocketOutputStream.write(Unknown Source)

at
java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
Source)

at
java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode (Unknown
Source)

at
java.io.ObjectOutputStream.writeNonProxyDesc(Unknown
Source)

at java.io.ObjectOutputStream.writeClassDesc(Unknown
Source)

at
java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)

at java.io.ObjectOutputStream.writeObject0(Unknown
Source)

at
java.io.ObjectOutputStream.writeFatalException(Unknown
Source)

at java.io.ObjectOutputStream.writeObject(Unknown
Source)

at
org.openejb.client.EJBMetaDataImpl.writeExternal (EJBMetaDataImpl.java:209)

at
org.openejb.client.JNDIResponse.writeExternal(JNDIResponse.java:150)

at
org.openejb.server.ejbd.JndiRequestHandler.processRequest(
JndiRequestHandler.java:114)

at
org.openejb.server.ejbd.EjbDaemon.processJndiRequest (EjbDaemon.java:186)

at
org.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:141)

at
org.openejb.server.ejbd.EjbServer.service(EjbServer.java:77)

at
org.openejb.server.ServiceLogger.service(ServiceLogger.java:142)

at
org.openejb.server.ServiceAccessController.service(
ServiceAccessController.java:109)

at
org.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:152)

at java.lang.Thread.run(Unknown Source)

ERROR: Encountered problem while closing connection
with client: Software caused connection abort: socket
write error



--- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:


Lin,
I just rebuilt an OpenEJB install from CVS and also
recreated the Hello
World EJB documented on the OpenEJB site. I was
unable to reproduce your
situation. In the client, I was able to look up the
EJB by it's JNDI name,
"/Hello". Can you look at your openejb.log to see if
you see a line like
this:

DEBUG: STATELESS Hello

While in there, check to see if you see any OpenEJB
errors. If you'd like,
paste your log here:

http://www.rafb.net/paste/

and email me the link. Sorry about this. Take care,
Jeremy

On 9/21/05, Jeremy Whitlock <[EMAIL PROTECTED]>
wrote:


Lin,
I'll try and replicate your issue. I'll be back to

you in a bit. Take

care, Jeremy

On 9/20/05, lin sun < [EMAIL PROTECTED]> wrote:


I was able to get further... You are right the
classpath isn't setup correctly. My openejb_home

is

set to 0916's openejb home directory, but the

jar file

is named as openejb-core-1.0-beta1.jar.

Here's the new error I am getting:

E:\try\app>c:\j2sdk1.4.2_09\bin\java -cp
c:\j2sdk1.4.2_09\lib\tools.jar;E:\try\o





penejb-1.0-20050916\openejb-1.0-20050916\lib\openejb- core-1.0-20050916.jar

;E:\tr
y\openejb-




1.0-20050916\openejb-1.0-20050916\lib\openejb- loader-1.0-20050916.jar;

E:\try\openejb-




1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-clientto

ols.jar;E:\try\openejb-




1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-

ejbgen.jar;E:\try\openejb-




1.0-20050916\openejb-1.0-20050916\beans\openejb-webadm

in-main.jar;.




-Dopenejb.home=E:\try\openejb-1.0-20050916\openejb-1.0-20050916

or
g.acme.HelloWorld
javax.naming.NamingException: Cannot lookup

/Hello:

Received error: Error while
communicating with server: ; nested exception

is:

java.rmi.RemoteException: Error reading
response from server: ; nested e
xception is:
java.lang.NoClassDefFoundError:
javax/ejb/EJBMetaData
at
org.openejb.client.JNDIContext.lookup

(JNDIContext.java:260)

at




javax.naming.InitialContext.lookup(InitialContext.java:347)

at
org.acme.HelloWorld.main(HelloWorld.java:18)



=== message truncated ===




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com



Reply via email to