Strange NoClassDefFoundError
We have a session bean that has looked up and narrowed the home of an entity bean. It successfully uses a finder method on the home. It then tries to pass the reference to the home as an argument in a method of a helper object at which point the VM throws a NoClassDefFoundError with the name of the home interface. Any suggestions on why this happens? An identical problem occurs when we try pass a reference to an EJBObject as an argument in the method of a helper object. The error makes no sense as a NoClassDefFoundError is something that should only occur when the VM can't find a .class file. Yet in this case the classes in question are successfully used prior to the error being thrown. - Colin Naturman Visoft
Re: Great speed up in Orion 1.1.30
there's also a noticable improvement in startup performance. attached are some numbers for our typical development setup (5 rather heavyweight ejb applications deployed). the machine is a dual PIII 700 with 640 Meg RAM running linux and sun's beta jdk 1.3 using hotspot server VM. the test is a regular server restart with no autodeployment taking place. version memstartup time 1.1.27 65156 70 sec 1.1.30 42320 22 sec keep going. this really is an important step forward for daily work with orion. great work! regards, robert At 13:08 23.07.00 , Yann Doussot wrote: Hello, I just want to let you know that I have noticed a great speed improvement in the latest Orion with an heavly EJB based application (compared with 1.1.24). Keep up the good work ! BTW it would really be nice to have some kind of change log with the orion updates. -- Yann Doussot [EMAIL PROTECTED] Grey Interactive - France - http://www.gifrance.com/ (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüder-Knauß-Str. 79 - 64285 Darmstadt, (-) Tel: 06151 665401, Fax: 06151 665373 (-) [EMAIL PROTECTED], www.signal7.de
Re: Shutting down in Windows NT.
I did that. Now I get this message: Christian Sell wrote: you will have to upgrade to the latest version. This can be done with the command java -jar autoupdate.jar f:\orionjava -jar admin.jar ormi://localhost admin 123 -shutdown Write: 28 getCodedNotation: com.evermind.reflect.InvocationHandler getCodedNotation: java.lang.reflect.Method java.lang.Exception: Written: 98 (2) at com.evermind.io.ji.aoz(JAX) at com.evermind.io.ji.aoy(JAX) at com.evermind.bytecode.me.ayb(JAX) at com.evermind.bytecode.me.ao2(JAX) at com.evermind.bytecode.me.a5(JAX) at com.evermind.bytecode.me.a1(JAX) at com.evermind.bytecode.l2.a1(JAX) at com.evermind.bytecode.mb.ax2(JAX) at com.evermind.bytecode.mb.a1(JAX) at com.evermind.bytecode.md.ax9(JAX) at com.evermind.reflect.Proxy.amz(JAX) at com.evermind.reflect.Proxy.am0(JAX) at com.evermind.reflect.Proxy.am_(JAX) at com.evermind.reflect.Proxy.amy(JAX) at com.evermind.server.rmi.bb.g4(JAX) at com.evermind.server.rmi.a8.resolveObject(JAX) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.evermind.server.rmi.bb.hi(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Unknown Source) Expand: 200 Write: 136 java.lang.Exception: Written: 58 (136) at com.evermind.io.ji.aoz(JAX) at com.evermind.io.ji.write(JAX) at com.evermind.bytecode.me.a1(JAX) at com.evermind.bytecode.l2.a1(JAX) at com.evermind.bytecode.mb.ax2(JAX) at com.evermind.bytecode.mb.a1(JAX) at com.evermind.bytecode.md.ax9(JAX) at com.evermind.reflect.Proxy.amz(JAX) at com.evermind.reflect.Proxy.am0(JAX) at com.evermind.reflect.Proxy.am_(JAX) at com.evermind.reflect.Proxy.amy(JAX) at com.evermind.server.rmi.bb.g4(JAX) at com.evermind.server.rmi.a8.resolveObject(JAX) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.evermind.server.rmi.bb.hi(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Unknown Source) Expand: 200 java.lang.Exception: Written: 198 (2) at com.evermind.io.ji.aoz(JAX) at com.evermind.io.ji.aoy(JAX) at com.evermind.bytecode.l2.a1(JAX) at com.evermind.bytecode.mb.ax2(JAX) at com.evermind.bytecode.mb.a1(JAX) at com.evermind.bytecode.md.ax9(JAX) at com.evermind.reflect.Proxy.amz(JAX) at com.evermind.reflect.Proxy.am0(JAX) at com.evermind.reflect.Proxy.am_(JAX) at com.evermind.reflect.Proxy.amy(JAX) at com.evermind.server.rmi.bb.g4(JAX) at com.evermind.server.rmi.a8.resolveObject(JAX) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.evermind.server.rmi.bb.hi(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Unknown Source) Expand: 400 getCodedNotation: com.evermind.reflect.InvocationHandler getCodedNotation: java.lang.reflect.Method java.lang.Exception: Written: 98 (2) at com.evermind.io.ji.aoz(JAX) at com.evermind.io.ji.aoy(JAX) at com.evermind.bytecode.me.ayb(JAX) at com.evermind.bytecode.me.ao2(JAX) at com.evermind.bytecode.me.a5(JAX) at com.evermind.bytecode.me.a1(JAX) at com.evermind.bytecode.l2.a1(JAX) at com.evermind.bytecode.mb.ax2(JAX) at com.evermind.bytecode.mb.a1(JAX) at com.evermind.bytecode.md.ax9(JAX) at com.evermind.reflect.Proxy.amz(JAX) at com.evermind.reflect.Proxy.am0(JAX) at com.evermind.reflect.Proxy.am_(JAX) at com.evermind.reflect.Proxy.amy(JAX) at com.evermind.server.rmi.bb.g4(JAX) at com.evermind.server.rmi.a8.resolveObject(JAX) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.evermind.server.rmi.bb.hi(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Unknown Source) Expand: 200 Write: 130 getCodedNotation: com.evermind.reflect.InvocationHandler getCodedNotation: java.lang.reflect.Method java.lang.Exception: Written: 98 (2) at com.evermind.io.ji.aoz(JAX) at com.evermind.io.ji.aoy(JAX) at com.evermind.bytecode.me.ayb(JAX) at com.evermind.bytecode.me.ao2(JAX) at com.evermind.bytecode.me.a5(JAX) at com.evermind.bytecode.me.a1(JAX) at com.evermind.bytecode.l2.a1(JAX) at com.evermind.bytecode.mb.ax2(JAX) at com.evermind.bytecode.mb.a1(JAX) at com.evermind.bytecode.md.ax9(JAX) at com.evermind.reflect.Proxy.amz(JAX) at
orion as a nt service
hi everybody, simple problem: how can i make sure under win nt that orionserver will restart after a system-reboot? - i think, the normal solution would be installing orionserver as a nt service please could you give me some hints how to do _that_? thanks! joe peer [EMAIL PROTECTED] ___ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html
RE: debugging orion EJB's with Netbeans
Hello all, It works, the problem was that the .class files must be compiled by Netbeans. If the .class files were from the Javasoft jdk1.2.2 compiler, the Netbeans will not be able to display variable contents. I looks like we will be switching from IBM Visual Age to Netbeans. Thanks for Martin's help on this. Regards, Rob Lapensee Director of Technology Delfour Corporation [EMAIL PROTECTED] www.delfour.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Martin Mavrov Sent: Thursday, July 20, 2000 2:07 PM To: Orion-Interest Subject: Re: debugging orion EJB's with Netbeans - Original Message - From: "Rob Lapensee" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, July 20, 2000 6:35 PM Subject: debugging orion EJB's with Netbeans Hello all, Did anyone get Netbeans debugging to work. I have found the following so far... 1) you need to get Netbeans from www.netbeans.org 2) you need to get jpda from sun at http://java.sun.com/products/jpda/ AFAIK JDK 1.3 has JPDA built-in... at least works here without any additional stuff. 3) you need to make sure the netbeans startup includes the jpda.jar 4) you need to make sure that the jpda/bin directory is in the path (not classpath) before starting orion make sure orion.jar, ejb.jar jndi.jar are all in the CLASSPATH then start orion with: java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se rver=y,suspend=y com.evermind.server.ApplicationServer I use shared memory, works too. It will stop at the right line of code when I set a break point! But I cannot seem to get it to show the contents of any of the variables. It stops at the breakpoint and shows the variable contents. BTW my NetBeans is the Jaga build (2007) Best regards, /Martin
Question on location of servlet vs classes
Classes are under: Web-inf/classes Why are servlets under /servlet ? Where would jar files go? What if I have a single jar to deploy and it has: com.mycompany. com.mycompany.servlet.x ?
RE: Shutting down in Windows NT.
Still happens in 1.1.30. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rick Bos Sent: Sunday, July 23, 2000 3:40 PM To: Orion-Interest Subject: Re: Shutting down in Windows NT. I did that. Now I get this message: Christian Sell wrote: you will have to upgrade to the latest version. This can be done with the command java -jar autoupdate.jar error.log log.log
RE: How to programatically start orion ejb container
-userThreads should not be used with the -D option (it is not a definition) but should be added to the args array before calling the main method. Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] -Original Message- From: Vidur Dhanda [mailto:[EMAIL PROTECTED]] Sent: Sunday, 23 July 2000 13:00 To: Orion-Interest Subject: How to programatically start orion ejb container Hello, How can I start an ejb container programmatically. I want to start the container and then do some initialization. I tried calling ApplicationServer.main(args) and then do the initialization. However, when during initialization, I try to access JNDI via new InitialContext() I get an error "Not in an application scope - start Orion with the -userThreads switch if using user-created threads". I pass Java -DuserThreads on the command line. Please help. Thanks, Vidur
SSL again
I followed the directions on the how-to and got an error getting the test certificate from Thawte. I must have done something wrong as after going through the keytool steps again, I successfully got a certificate from Thawte. I then ran the final keytool command as in the instructions. I then followed the instructions and did the following: 1. Copied a web-site.xml file (I didn't use the default, I copied the one I am needing ssl for). 2. Edited this file by removing the port=80 attribute, added secure="true", and placed ssl-config keystore="path/to/my/keystore" keystore-password="my-password" / 3. I then edited my server.xml and added the the site with web-site path="../../../secure-web-site.xml" / I then got an error from Orion stating that address was already in use. I see that both "my-original-web-site.xml" and "secure-web-site.xml" both have the same host="My-IP" entry so I can see how that would happen. I then added port="439" to my secure-web-site.xml file and restarted Orion. Orion did not give an error and said initialized (That is the only output I received, I thought I should see something about deploying my new site or something but I didn't). No errors so I though great, it worked! It didn't. I then browsed to http://my.host.comand everything was normal. I tried the following and am kind of confused: 1. Ibrowsed to https://my.host.com and got and cannot find server or DNS error. 2. I browsed to http://my.host.com:439 and got 5 little boxes (I assume some sort of control characters) 3. I browsed to https://my.host.com:439and it seems to work just fine. I assume it works because IE gives my the little padlock icon in the status line. Any help would be appreciated. I am confused why I have to type both https and :439 to browse to the page. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.com
Re: SSL again
The SSL port is 443. By default, all browsers will go to port 443 if you specify https:// Regards, Brian Dale Bronk wrote: I followed the directions on the how-to and got an error getting the test certificate from Thawte. I must have done something wrong as after going through the keytool steps again, I successfully got a certificate from Thawte. I then ran the final keytool command as in the instructions. I then followed the instructions and did the following: 1. Copied a web-site.xml file (I didn't use the default, I copied the one I am needing ssl for). 2. Edited this file by removing the port=80 attribute, added secure="true", and placed ssl-config keystore="path/to/my/keystore" keystore-password="my-password" / 3. I then edited my server.xml and added the the site with web-site path="../../../secure-web-site.xml" / I then got an error from Orion stating that address was already in use. I see that both "my-original-web-site.xml" and "secure-web-site.xml" both have the same host="My-IP" entry so I can see how that would happen. I then added port="439" to my secure-web-site.xml file and restarted Orion. Orion did not give an error and said initialized (That is the only output I received, I thought I should see something about deploying my new site or something but I didn't). No errors so I though great, it worked! It didn't. I then browsed to http://my.host.com and everything was normal. I tried the following and am kind of confused: 1. I browsed to https://my.host.com and got and cannot find server or DNS error. 2. I browsed to http://my.host.com:439 and got 5 little boxes (I assume some sort of control characters) 3. I browsed to https://my.host.com:439 and it seems to work just fine. I assume it works because IE gives my the little padlock icon in the status line. Any help would be appreciated. I am confused why I have to type both https and :439 to browse to the page. Dale Bronk [EMAIL PROTECTED] Windscape Consulting, Inc. http://www.windscape.com