Example application

2000-09-28 Thread Carl Troedsson



I have tried to run the test applications in Orion 
but canĀ“t get them to work, forexample when I try :

java -classpath 
../../../orion.jar;../../../ejb.jar;../../../jndi.jar ProductClient 


I get the following:

Exception in thread "main" 
java.lang.NoClassDefFoundError: ProductClient

And if I try to compile the class like 
this:

javac -classpath 
../../../orion.jar;../../../ejb.jar;../../../jndi.jar 
ProductClient.java

Iget the 
following:
ProductClient.java:28: cannot resolve 
symbol
symbol : class ProductHome
location: class ProductClient
  

   ProductHome home = 
(ProductHome)PortableRemoteObjectnarrow(homeObject, 
ProductHome.class)..


If you now what I should do please 
respond.

/Carl
 




Why!?.... NoClassDefFoundError

2000-09-13 Thread Carl Troedsson




Hi,
I have installed Orion server. The example 
JSP-pages and servlets works fine, but when I try the EJB examples 
(ProductClient etc) I recieve a Exception in thread "main" 
java.lang.NoClassDefFoundError. javax/ejb/CreateException I have also 
tried to compile these classes and thenrecieved package 
javax.ejb does not exist. This is strange since I think that I have 
followed the instructions for running the examples. I have also tried to add the 
all theneeded jar files to my path and classpath variables and still have 
the same problem. 

I am running the Orion server on win2000 advanced 
server with SQLserver7 

I would really appriciate if someone could help me 
out so thatI can try the examples.

/Carl