I need a litle help ... could you ?

2002-05-27 Thread Bozdoghina Nicolae



   I have a problem with cacheing when I'm trying to release a connection to a 
database. I used Resin like server and MySql like a database server. At the 
first connection to database the response is good (at the first query), but 
then, when I have trying to make a new query to database (using a JavaBean 
class) the response is the same like the previous, it is not the real response.
   Is this a problem with cacheing in the Resin server ? ... and for this what 
must I do ? 
   If you could help me, I will be very happy ...

Thanks , 
 Nick.  
(from Romania)


 


__
Do you want a free e-mail for life ? Get it at http://www.email.ro/





RE: help with trans. synchronization

2002-05-17 Thread Chris Francis

Don't know if this will help, but it looks like the problem starts
with the execution of a finder query. So maybe review the sql you've set
for this query in orion-ejb-jar.xml.
Or maybe the query can return more than one row and you have it set to
return
a single entity instance in the ejb's home interface?

-Original Message-
From: Waller Anne [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2002 02:35
To: Orion-Interest
Subject: help with trans. synchronization



  Can anyone give some pointers or have come across a similar problem ?

 We are currently in development and in the middle of UAT testing. The
application runs on Orion1.5.2 connecting to multiple datasources on the one
server.

  A recent test raised the following exception

java.lang.ArrayIndexOutOfBoundsException at
com.evermind.server.ApplicationServerTransactionSynchrization.getConnection(
Unknown source) .
at ChangeHome_EntityHomeWrapper267.findActive(ChangeHome_EntityHomeWrapper)
 

  The application ues stateless session beans and CMP entity beans. There
are 3 queuelisteners for transactions.

   
  Have reviewed the orion-ejb-jar and the ejb-jar for the
transaction-attributes but am still none the wiser.

  Has anyone got any suggestions on tracking this down, we have put the
profiler from HP called HPJMeter on and run with -Xprof.

  Perhaps we have too much information now but we are too inexperienced to
be able to know what the next step should be in tracking this down. Would
appreciate any advise on this one? 


  regards,

Anne.
 



 


**
This e-mail is confidential and for the sole use of the intended 
recipient(s).  If you are not the intended recipient, you are not 
authorised to disclose, use, distribute or in any other way make 
use of the information contained in it, and such activities are 
prohibited.  If you have received this e-mail in error, please 
notify the sender by reply e-mail, delete the document and destroy 
all copies of the original message.
**




help with trans. synchronization

2002-05-16 Thread Waller Anne


  Can anyone give some pointers or have come across a similar problem ?

 We are currently in development and in the middle of UAT testing. The
application runs on Orion1.5.2 connecting to multiple datasources on the one
server.

  A recent test raised the following exception

java.lang.ArrayIndexOutOfBoundsException at
com.evermind.server.ApplicationServerTransactionSynchrization.getConnection(
Unknown source) .
at ChangeHome_EntityHomeWrapper267.findActive(ChangeHome_EntityHomeWrapper)
 

  The application ues stateless session beans and CMP entity beans. There
are 3 queuelisteners for transactions.

   
  Have reviewed the orion-ejb-jar and the ejb-jar for the
transaction-attributes but am still none the wiser.

  Has anyone got any suggestions on tracking this down, we have put the
profiler from HP called HPJMeter on and run with -Xprof.

  Perhaps we have too much information now but we are too inexperienced to
be able to know what the next step should be in tracking this down. Would
appreciate any advise on this one? 


  regards,

Anne.
 



 


**
This e-mail is confidential and for the sole use of the intended 
recipient(s).  If you are not the intended recipient, you are not 
authorised to disclose, use, distribute or in any other way make 
use of the information contained in it, and such activities are 
prohibited.  If you have received this e-mail in error, please 
notify the sender by reply e-mail, delete the document and destroy 
all copies of the original message.
**




Begging for help

2002-05-15 Thread Jon Bricker

I'm begging for some help on this set up.  I'm using Glue Standard for using
SOAP calls.  Anyone that has used Glue with Orion before please help me out.

I've gotten the orion example from glue working. Now I'm trying to do something
practical. I've set up an app on Orion. It had to be a separate app because it
will be using EJBs that are already deployed.

So in server.xml I have

application name=cande path=../applications/cande.ear parent=catd /

catd is the application with the EJB I need. I need this to have the apps
share EJBs.

I have the GLUE-STD.jar in my WEB-INF/lib

my web.xml looks like this:
web-app

!-- Description --
servlet
servlet-name http /servlet-name
servlet-class electric.server.http.ServletServer /servlet-class

init-param
param-name electric.commands /param-name
param-value /orion-files/glue/commands.xml /param-value
/init-param

load-on-startup 1 /load-on-startup
/servlet

servlet-mapping
servlet-name http /servlet-name
url-pattern /* /url-pattern
/servlet-mapping

ejb-ref
ejb-ref-nameejb/CanDEDataMgr/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.lilly.javaatg.catd.ejb.CanDEDataMgrHome/home
remotecom.lilly.javaatg.catd.ejb.CanDEDataMgr/remote
/ejb-ref

/web-app

It is the same as the webapps/glue web.xml except for the file location of the
commands.xml and the reference to my EJB.

My commands.xml looks like this:
commands
invoke electric.registry.Registry.publishInstance( urn:cande, 
com.lilly.javaatg.catd.cande.DataLoadImpl ) /invoke
/commands

I wrote a test program to try this out. The main calls look like this:

String url = 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl;;

RemoteDataLoader dataLoad = (RemoteDataLoader) 
Registry.bind( url, RemoteDataLoader.class );
boolean answer = dataLoad.isUserValid(userID,password);

When I run it I get this error:
could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
Exception:
electric.registry.RegistryException: could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
at electric.net.soap.SOAPRegistry.bind(Unknown Source)
at electric.registry.compound.CompoundRegistry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at ejbtest.main(ejbtest.java:78)
Caused by: java.io.IOException: HTTP GET error: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl Internal Server 
Error. Response code: 500: unable to load file 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl

I've tried generating the wsdl and pointing the console to it but that does not
work. 

What am I missing to make this work? 


=
Jon Bricker

You should never settle for the lesser of two Weasels.

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com




RE: Begging for help

2002-05-15 Thread Satter, Rabi

Can you point a browser at the url and get the wsdl? 

Are you trying to access the EJB directly? If so you need pro which can talk
to stateless session beans. 

Probably doesn't matter but you might try putting the jar file in the
orion/lib directory.

Hopes this helps.

-Original Message-
From: Jon Bricker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 7:56 AM
To: Orion-Interest
Subject: Begging for help


I'm begging for some help on this set up.  I'm using Glue Standard for using
SOAP calls.  Anyone that has used Glue with Orion before please help me out.

I've gotten the orion example from glue working. Now I'm trying to do
something
practical. I've set up an app on Orion. It had to be a separate app because
it
will be using EJBs that are already deployed.

So in server.xml I have

application name=cande path=../applications/cande.ear parent=catd /

catd is the application with the EJB I need. I need this to have the apps
share EJBs.

I have the GLUE-STD.jar in my WEB-INF/lib

my web.xml looks like this:
web-app

!-- Description --
servlet
servlet-name http /servlet-name
servlet-class electric.server.http.ServletServer /servlet-class

init-param
param-name electric.commands /param-name
param-value /orion-files/glue/commands.xml /param-value
/init-param

load-on-startup 1 /load-on-startup
/servlet

servlet-mapping
servlet-name http /servlet-name
url-pattern /* /url-pattern
/servlet-mapping

ejb-ref
ejb-ref-nameejb/CanDEDataMgr/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.lilly.javaatg.catd.ejb.CanDEDataMgrHome/home
remotecom.lilly.javaatg.catd.ejb.CanDEDataMgr/remote
/ejb-ref

/web-app

It is the same as the webapps/glue web.xml except for the file location of
the
commands.xml and the reference to my EJB.

My commands.xml looks like this:
commands
invoke electric.registry.Registry.publishInstance( urn:cande, 
com.lilly.javaatg.catd.cande.DataLoadImpl ) /invoke
/commands

I wrote a test program to try this out. The main calls look like this:

String url = 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl;;

RemoteDataLoader dataLoad = (RemoteDataLoader) 
Registry.bind( url, RemoteDataLoader.class );
boolean answer = dataLoad.isUserValid(userID,password);

When I run it I get this error:
could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
Exception:
electric.registry.RegistryException: could not bind to path: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl
at electric.net.soap.SOAPRegistry.bind(Unknown Source)
at electric.registry.compound.CompoundRegistry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at electric.registry.Registry.bind(Unknown Source)
at ejbtest.main(ejbtest.java:78)
Caused by: java.io.IOException: HTTP GET error: 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl Internal Server 
Error. Response code: 500: unable to load file 
http://duke1.d51.lilly.com:8088/cande/urn:cande.wsdl

I've tried generating the wsdl and pointing the console to it but that does
not
work. 

What am I missing to make this work? 


=
Jon Bricker

You should never settle for the lesser of two Weasels.

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com




GZIPFilter Help?

2002-04-27 Thread Clay Mitchell

I've done the tutorial on atlassian/orion support, and for the life of
me, I can't get the GZIPFilter stuff to work. 

This is the error I get every time.

500 Internal Server Error
java.lang.AbstractMethodError   at com.evermind[Orion/1.5.2 (build
10460)]._ah._fkd(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cvb._fjd(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._cvb._uec(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source) 
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)  
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

Does anybody have this working? If so, can you share your java/classes
with me? 

Thanks a lot!
-Clay Mitchell






could somebody help me pls

2002-04-16 Thread Cristina Perma




 Hi,
 I have a database on firebird interbase and respectively a jsp file with a 
bean file . The bean must be the connection to the database, but I receive an 
error like in attached file:

   Know somebody why ??


__
Do you want a free e-mail for life ? Get it at http://www.clujnapoca.ro/




eroare.zip
Description: Zip compressed data


HELP! Error in connecting to EJB

2002-04-12 Thread pop m





I am using Orion 1.5.4 and 
SOAP 2.2 . I have written a simple stateless EJB and I want to call a 
method
via SOAP but always I am 
getting the next error from client:

Fault 
Code = SOAP-ENV:Server Fault String = Error in connecting 
to EJB
and my Orion app. server 
writes this:

Exception caught: 
javax.naming.NamingException: Error instantiating web-app JNDI-context: No 
location specified and no suitable instance of the type 
'hu.regens.ejb.graph' found for the ejb-ref graph

However, I have tried to 
configure the "classpaths" to see my own EJB classes but it didn't 
work.

Can somebody help me ? If 
you'll get me an answer please specify what/where should I do/configure/try ! 


P.S. I have tried everything, even whether my autoexec.bat has been 
modifiedas you see  below:

set 
classpath=.;.\classes;c:\java_classes;c:\jakarta-ant-1.4.1\lib\ant.jar;c:\jakarta-ant-1.4.1\lib\jaxp.jar;set 
classpath=%classpath%;c:\orion\applications\regens_app\regens_app-ejb.jar; 
(this contains my EJB classes)

set java_home=c:\jdk131rem set java_home=c:\j2sdk1.4.0set 
oracle_home=c:\orawin95set ant_home=c:\jakarta-ant-1.4.1rem set 
j2ee_home=c:\jdeveloper\j2ee\homeset j2ee_home=c:\orion

Thanks 
!


RE: arrg please help

2002-04-03 Thread John Creaner

thats sounds like an sql issue, are you closing your statement before you
get all the information in the resultset back??

John Creaner
Software Development,
e-Spatial Solutions,
Ireland.
Tel: 353 (0)1 867 5500
Fax: 353 (0)1 867 5599

Direct Tel: 353 (0)1 867 5508
[EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ofur-Bjarni
Sent: 03 April 2002 08:35
To: Orion-Interest
Subject: arrg please help


I have an existing database and I am trying to make an entity bean that
retrieves data from one of it's tables.

I have set the autocreate-table to false, and everything deploys nicely, but
when I try to list the contents of the table (using findAll()) then I get
this error:

com.evermind.server.rmi.OrionRemoteException: Database error: Closed
Statement: next; nested exception is: java.sql.SQLException: Closed
Statement: next

And I have no idea what to do. I know that the datasource works, because I
have used it for other purposes.

Thanks,
Bjarni







RE: arrg please help

2002-04-03 Thread Greg Davis

Are you using CMP or BMP with your entity bean?  It sounds like BMP and you
are accidentally closing the connetion somewhere you are not supposed to
inside the bean.  What kind of database are you connecting to (i.e. MySQL,
SQL Server, Oracle,etc...)

I need a little more info here before I can try to help. :-)

Later...
Greg
 

-Original Message-
From: Ofur-Bjarni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 12:35 AM
To: Orion-Interest
Subject: arrg please help


I have an existing database and I am trying to make an entity bean that
retrieves data from one of it's tables.

I have set the autocreate-table to false, and everything deploys nicely, but
when I try to list the contents of the table (using findAll()) then I get
this error:

com.evermind.server.rmi.OrionRemoteException: Database error: Closed
Statement: next; nested exception is: java.sql.SQLException: Closed
Statement: next

And I have no idea what to do. I know that the datasource works, because I
have used it for other purposes.

Thanks,
Bjarni





RE: arrg please help

2002-04-03 Thread Ofur-Bjarni

Actually I worked that one out and got a new, better bug. This was happening
because I didn't set exclusive-write-access to false in
orion-ejb-jar.xml. Since I'm using cmp, I don't have any statements of my
own.

thanks,
Bjarni

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Creaner
Sent: 3. apríl 2002 11:50
To: Orion-Interest
Subject: RE: arrg please help


thats sounds like an sql issue, are you closing your statement before you
get all the information in the resultset back??

John Creaner
Software Development,
e-Spatial Solutions,
Ireland.
Tel: 353 (0)1 867 5500
Fax: 353 (0)1 867 5599

Direct Tel: 353 (0)1 867 5508
[EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ofur-Bjarni
Sent: 03 April 2002 08:35
To: Orion-Interest
Subject: arrg please help


I have an existing database and I am trying to make an entity bean that
retrieves data from one of it's tables.

I have set the autocreate-table to false, and everything deploys nicely, but
when I try to list the contents of the table (using findAll()) then I get
this error:

com.evermind.server.rmi.OrionRemoteException: Database error: Closed
Statement: next; nested exception is: java.sql.SQLException: Closed
Statement: next

And I have no idea what to do. I know that the datasource works, because I
have used it for other purposes.

Thanks,
Bjarni








RE: arrg please help

2002-04-03 Thread Ofur-Bjarni

I already posted this, but I seem to have have mis-posted it:

Actually I worked that one out and got a new, better bug. This was happening
because I didn't set exclusive-write-access to false in
orion-ejb-jar.xml. Since I'm using cmp, I don't have any statements of my
own.

thanks,
Bjarni

ps: What is the correct way to post questions and answers to the list?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Davis
Sent: 3. apríl 2002 14:23
To: Orion-Interest
Subject: RE: arrg please help


Are you using CMP or BMP with your entity bean?  It sounds like BMP and you
are accidentally closing the connetion somewhere you are not supposed to
inside the bean.  What kind of database are you connecting to (i.e. MySQL,
SQL Server, Oracle,etc...)

I need a little more info here before I can try to help. :-)

Later...
Greg


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Creaner
Sent: 3. apríl 2002 11:50
To: Orion-Interest
Subject: RE: arrg please help

thats sounds like an sql issue, are you closing your statement before you
get all the information in the resultset back??

John Creaner
Software Development,
e-Spatial Solutions,
Ireland.
Tel: 353 (0)1 867 5500
Fax: 353 (0)1 867 5599

Direct Tel: 353 (0)1 867 5508
[EMAIL PROTECTED]



-Original Message-
From: Ofur-Bjarni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 12:35 AM
To: Orion-Interest
Subject: arrg please help


I have an existing database and I am trying to make an entity bean that
retrieves data from one of it's tables.

I have set the autocreate-table to false, and everything deploys nicely, but
when I try to list the contents of the table (using findAll()) then I get
this error:

com.evermind.server.rmi.OrionRemoteException: Database error: Closed
Statement: next; nested exception is: java.sql.SQLException: Closed
Statement: next

And I have no idea what to do. I know that the datasource works, because I
have used it for other purposes.

Thanks,
Bjarni






arrg please help

2002-04-02 Thread Ofur-Bjarni

I have an existing database and I am trying to make an entity bean that
retrieves data from one of it's tables.

I have set the autocreate-table to false, and everything deploys nicely, but
when I try to list the contents of the table (using findAll()) then I get
this error:

com.evermind.server.rmi.OrionRemoteException: Database error: Closed
Statement: next; nested exception is: java.sql.SQLException: Closed
Statement: next

And I have no idea what to do. I know that the datasource works, because I
have used it for other purposes.

Thanks,
Bjarni





Some more help with SwiftMQ and Orion

2002-03-21 Thread Vani H.S.

Hello All,
  My earlier message on the same topic got lost, I think.
  Anyways, I have successfully integrated SwiftMQ with Orion 1.5.4
I have been able to create queues and I am even able to deploy MDBs.

   I am facing a strange problem. For my MDB, in the orion-ejb-jar.xml, I
have given the following settings.
message-driven-deployment name=SystemMessageEJB
destination-location=java:comp/resource/SwiftMQ/SystemQueue
connection-factory-location=java:comp/resource/SwiftMQ/QueueConnectionFactory
max-instances=1 min-instances=1 cache-timeout=never /

But somehow, when my application runs, I see that the SystemMessageBean's
ejbCreate is called once again in the code. I don't know why this is
happening. Please can anybody suggest any solution to this problem? Now I am
really confused as to whether MDBs are getting created in Orion or SwiftMQ.
Why is  the setting my orion-ejb-jar.xml getting ignored? Please help.

Thanks,
Vani



_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com





Help getting started with JMS

2002-03-20 Thread Joe Antkowiak



I'm having some problems getting JMS up and 
running.

I've activated the jms entry in the 
server.xml. I've checked the jms log file, and it seems to be getting 
started. I'm using the default port of 9127. Unfortunately, when I 
run my application client, I get the following exception:

javax.jms.JMSException: Unable to connect to 
JMSServer (localhost:127.0.0.1:9127)

I'm currently using a queue. My jms.xml 
configurations for this are:

jms-server port="9127" 
host="localhost" queue-connection-factory 
location="jms/theQueueConnectionFactory"host="localhost"port="9127" 
/
 
queue name="Demo Queue" location="jms/demoQueue" 
persistence-file="../persistence/jms/demoQueue.queue" 
descriptionA dummy 
queue/description/queue

My jndi properties for my application 
are:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactoryjava.naming.provider.url=ormi://localhost/java.naming.security.principal=admin 
accountjava.naming.security.credentials=admin 
password

And last but not least, my application-client.xml 
is:

?xml version="1.0"?!DOCTYPE 
application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 
Client 1.2//EN" "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"application-client 
resource-ref 
res-ref-namejms/theQueueConnectionFactory/res-ref-name 
res-typejavax.jms.QueueConnectionFactory/res-type 
res-authContainer/res-auth 
/resource-ref 
resource-ref 
res-ref-namejms/demoQueue/res-ref-name 
res-typejavax.jms.Queue/res-type 
res-authContainer/res-auth 
/resource-ref/application-client
My client program is very basic:

 public static void main(String [] 
argv) { 
 try 
{ Context context = new 
InitialContext(); 
QueueConnectionFactory qfactory = 
(QueueConnectionFactory)context.lookup("java:comp/env/jms/theQueueConnectionFactory"); 
Queue myqueue = 
(Queue)context.lookup("java:comp/env/jms/demoQueue"); 
QueueConnection qconn = 
qfactory.createQueueConnection(); 
qconn.start(); QueueSession 
qsess = qconn.createQueueSession(false, 
Session.AUTO_ACKNOWLEDGE); 
QueueSender qsend = 
qsess.createSender(myqueue); 
qsend.send(qsess.createTextMessage("Message")); 
System.out.println("sent 
message!"); 
qconn.close(); 
 } catch (Exception e) 
{ 
e.printStackTrace();  
} }
Any ideas as to what I'm doing wrong?? Obviously, something is hosed 
on my configuration.

Thanks for any help.

Joe



Need some help to implement Clustering

2002-03-20 Thread Prabahkar Subramaniam

Hi,
I am unable to implement session failover in orion1.5.2 , getting 'Error while 
receiving sessions from the cluster'.
SETUP:
I have 2 win2k servers running jdk 1.3.0_02 and jikes 1.15 with Orion1.5.2. The 
servers have ids 82 and 83.
PROBLEM:
Both 82 and 83 are up, I go to page1.jsp and then to page2.jsp, I see session being 
created and all the values that are being sent to the other server in the same 
island(1). If my session is in 83 and when I bring 83 down, my session is transferred 
to 82. Perfect. Page2.jsp has a counter similar to sessionServlet. When I bring up 83, 
everything works fine in the web site, However I looked at the logs and I found this 
error 'Error while receiving sessions from the cluster' in 83(see below).
I am also attaching the bean and both the jsp pages. I am just curious, when you use a 
Java Bean, shouldn't you see a *.ser file in the persistence directory of the 
application?. I have also attached(see below) the out.log just in case you notice 
anything else.
*** application.log_83 
3/19/02 11:27 AM Started
3/19/02 11:27 AM config-web-app: 1.5.2 Started
3/19/02 11:27 AM config-web-app: 1.5.2 Stopped
3/19/02 11:27 AM Stopped (JVM termination)
3/19/02 11:28 AM Started
3/19/02 11:28 AM config-web-app: Error while receiving sessions from the cluster
java.lang.ClassNotFoundException: com/micronpc/util/ChannelUtilityBean
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.evermind._dp.resolveClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.evermind.server.ApplicationServer._wy(Unknown Source)
at com.evermind.server.http.EvermindHttpSession.readObject(Unknown Source)
at com.evermind.server.http.EvermindHttpSession._hy(Unknown Source)
at com.evermind.server.http.ClusteredHttpSession._hy(Unknown Source)
at com.evermind.server.http.ClusteredHttpSession._hy(Unknown Source)
at com.evermind._ah._toc(Unknown Source)
at com.evermind._cqb._tfc(Unknown Source)
at com.evermind._cqb._os(Unknown Source)
at com.evermind._hr.run(Unknown Source)
at com.evermind._if.run(Unknown Source)
3/19/02 11:28 AM config-web-app: 1.5.2 Started
*** out.log for server 82 *
HTTP-clustering service started...
HTTP-Clustering service initializing...
HTTP-Clustering sent I want sessions request...
HTTP-clustering service started...
HTTP-Clustering service initializing...
HTTP-Clustering sent I want sessions request...
Orion/1.5.2 initialized
Sending HTTP-cluster session creation for session OBHGJMAIILGLs2hKTBB9B...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
[EMAIL PROTECTED]
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=0...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=1...
Receiving HTTP-cluster send-sessions request...
Receiving HTTP-cluster send-sessions permission from 82 (I'm 82)...
Persisting state
Storing 0 sessions...
Receiving HTTP-cluster send-sessions request...
Receiving HTTP-cluster send-sessions permission from 82 (I'm 82)...
Persisting state
Storing 1 sessions...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=2...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=3...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=4...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=5...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=6...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=7...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=8...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=9...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=10...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=11...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=12...
Sending HTTP-cluster session value update for session OBHGJMAIILGLs2hKTBB9B: 
Counter=13...
Receiving HTTP-cluster send-sessions request...
Receiving HTTP-cluster send-sessions permission from 82 (I'm 82)...
Persisting state
Storing 0 sessions...
Receiving HTTP-cluster send-sessions request...
Receiving HTTP-cluster send-sessions permission from 82 (I'm 82)...

Bean managed Transactions Help

2002-03-14 Thread Joe Antkowiak



I'm trying to get a session bean that uses 
bean-managed transactions to work. Basically, I've got a 
transaction-type of 'Bean' in my ejb-jar.xml file. It's also a 
stateful session bean. Don't know if that makes a difference or 
not.

In my code, I have the lines:

try { 
if(context.getUserTransaction().getStatus() != 
javax.transaction.Status.STATUS_ACTIVE) throw 
new EJBException("Transaction is not 
active!");
context.getUserTransaction().begin();

context is an EJBContext I initialize during 
setSessionContext. Unfortunately, it never gets that far. There's 
never a transaction that is active. It blows up in the 'if' 
statement:

javax.transaction.TransactionRolledBackException: 
javax.ejb.EJBException

Is there something else that I need to be aware of 
inhandling bean-managed transactions??

Thanks for all your help.

Joe






Transactions help - nevermind

2002-03-14 Thread Joe Antkowiak



Nevermind the last message I wrote on help with 
transactions. I got it. My mind is fluff today. :)

Thanks anyways.

Joe



Auto-reply: Transactions help - nevermind

2002-03-14 Thread Sam Chou

I am on vacation from 3/1 to 3/22.  Please contact my
manger, Wendy Liau for any issue.

Sam

---BeginMessage---



Nevermind the last message I wrote on help with 
transactions. I got it. My mind is fluff today. :)

Thanks anyways.

Joe

---End Message---


More help for the newbie - javax.naming.NamingNotFoundException

2002-03-05 Thread Joe Antkowiak



I'm trying to learn ejb's using Orion's web 
server. I'm currently running 1.5.4. I appreciate all the help I've 
gotten so far.

Basically, I'm trying to get the CabinBean example 
from O'Reilly publishings "Enterprise JavaBeans 2nd Edition" working. I 
think I'm pretty close. I just need to understand a couple 
things.

I'm basically referencing the enterprise beans from 
an application outside the ejb container (a regualar class with a static void 
main method). I've got all the required things put together. I have 
the ejb-jar.xml in the META-INF of the cabin.jar. I have the 
application.xml in the META-INF of the cabin.ear. I have an 
application-client.xml in a META-INF of where my application is running. 
It seems to be looking at the application xml like it should.

The problem is, when i do:

Context jndiContext = new 
InitialContext();Object ref = 
jndiContext.lookup("java:comp/env/ejb/CabinHome");

The client fails on the lookup statement. I 
get the following error:

javax.naming.NamingNotFoundException: ejb/CabinHome 
not found in Application Client

Now, when I look at my beans in the orionconsole, 
it doesn't look like they are necessarily deployed under comp/env/ejb/. It 
looks like it's listed under comp. Maybe this doesn't matter.

I've done some RMI programming in the past, and 
understand some things about the naming lookup. For starters, where is it 
specified where the beans actually get binded to?? For instance, with rmi, 
if I had a bean called 'whatever', I could explicitly bind it to 
"newbean/whatever", and then my lookup statement would be: 
lookup("newbean/whatever"). Could someone explain this to me a 
bit...

Mostly, I'm just trying to get my beans located 
from my client program. Any insight on this would be greatly 
appreciated.

Also, In my jndi.properties file, I'm using 
ApplicatonClientInitialContextFactory. When I tried using 
RMIInitialContextFactory, i got errors. Just curious as to what the 
differences are, and what the proper factory is, and where it should be 
used.

Thanks again for all of your help.

Joe


HELP! Newbie with orion and EJB's

2002-03-04 Thread Joe Antkowiak



I need some help understanding the configuration of Orion so that I 
canlearn EJB. I understand most of the concepts behind it, but am 
failing inconfiguring my server properly.Right now, I'm doing the 
Cabin bean example out of Enterprise JavaBeans (2ndEd) by O'Reilly 
publishing. I'm doing the first example with the basiccabin bean, and 
static application (I'm not looking up the entity beans froma servlet - I am 
looking them up from a static void main method in a class).Anyways, I'm 
getting the following error:"Error reading application-client 
descriptor: No location specified and notsuitable instance of the type 
'com.titan.cabin.Cabin' found for the ejb-refejb/Cabin"I have the 
application being deployed properly. I have an ejb-jar.xml inthe 
META-INF directory in my cabin.jar. I have an application.jar in 
theMETA-INF directory of my cabin.ear file. I have an 
application-client.xmlfile in the META-INF directory where my application 
Client_1.class resides.When I invoke the client, I set the classpath to 
reference the directorywhere Client_1.class is, so that it can find the 
application-client.xmlfile, and it does. But I'm getting that 
error.Any help would be greatly appreciated.Thank 
you,Joe


Install Petstore 1.3, pls help.

2002-03-01 Thread Next Step

Hi all,

I'm very newbie to Orion and J2EE
I want to install Petstore 13 on Orion 154 (Win2k)

I followed instruction as in this milist archive :
http://wwwmail-archivecom/orion-interest@orionservercom/msg14262html

cd petstore13\src\components
build
cd 
build

I copied these following files to orion\application
  petstore13\src\apps\admin\build\petstoreadminear
  petstore13\src\apps\opc\build\opcear
  petstore13\src\apps\petstore\build\petstoreear
  petstore13\src\apps\supplier\build\supplierear

Other setting in xml file same as above Url

When I try to populate the database, i got this following error :

---cut---
javaxejbDuplicateKeyException: Entity already exists
at 
comsunj2eeblueprintspetstoretoolspopulateXMLDBHandlerendElement(XMLDBHandlerjava:115)
 

at orgapachecrimsonparserParser2maybeElement(Parser2java:1489)
at orgapachecrimsonparserParser2content(Parser2java:1700)
at orgapachecrimsonparserParser2maybeElement(Parser2java:1468)
at orgapachecrimsonparserParser2content(Parser2java:1700)
at orgapachecrimsonparserParser2maybeElement(Parser2java:1468)
at orgapachecrimsonparserParser2parseInternal(Parser2java:499)
at orgapachecrimsonparserParser2parse(Parser2java:304)
at orgapachecrimsonparserXMLReaderImplparse(XMLReaderImpljava:433)
at orgxmlsaxhelpersXMLFilterImplparse(XMLFilterImpljava:371)
at orgxmlsaxhelpersXMLFilterImplparse(XMLFilterImpljava:371)

---cut-

FYI, i do not start cloudscape ( do i need it?)
Also what is the meaning of the database since i do not setup any 
database tables
TIA





Re: App server debugging -- HELP

2002-02-09 Thread Stephen Davidson

Hi Aaron.

I've had some success on these kinds of issues with a product called OptimizeIt, from 
VMGear.
Best link to hit would be www.opitmizeit.com.  They have a free-trial, which you can 
use to figure out if it will find your issue or not.  I just saw that they 
were recently purchased by Borland, so no idea if it will affect their currently 
excellent tech support.  One of the things it does show is how much time is 
being spent in a given function, which may indicate if this is the cause of the 
contention, or where threads may be waiting for resources.

-Steve

Aaron Tavistock wrote:

 I've got a very large web application (about 300 objects and about 1000
 pages) which uses mostly straight JSP.  This gets a reasonable number of
 hits with approximately 200 concurrant sessions operating.  
 
 

[snip to save bandwidth]

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208





Help

2002-02-08 Thread François Beauregard

I decided to day to give a first try at Orion (1.5.3).
I started trying to deploy an application that already runs fine under
Tomcat / Borland AppServer.
I have a .ear for this application

I configured server.xml, data-sources.xml and default-web-site.xml
server.xml :
application name=oasis path=../applications/OASIS.ear auto-start=true
/
default-web-site.xml :
web-app application=oasis name=oasisWeb root=/oasisWeb /

Here is my application.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
application
  display-nameOASIS Application/display-name
  module
ejbOasisBaseEJBs.jar/ejb
  /module
  module
ejbOasisPartyEJBs.jar/ejb
  /module
  module
web
  web-urioasisWeb.war/web-uri
  context-root/oasisWeb/context-root
/web
  /module
/application

In the web.xml in oasisWeb.war I only have servlet mappings and tld
definitions.

When I start Orion, the application deploys just fine but if I try to invoke
any jsp I get an internal error (500).
http:/localhost/oasisWeb/Welcome.jsp
If I change Welcome.jsp to Welcome.html, it displays correctly.

If I invoke a servlet, it is properly invoked but whenever I try to
servlet.getServletContext().getRequestDispatcher(res.encodeURL(url))
For a url that is a jsp I get a null result.

Any idea?

Thanks
__
François Beauregard
Pyxis Technologies
Vice-président, recherche et développement

Tel: (450) 681-9094
Fax: (450) 681-5758
[EMAIL PROTECTED]






Re: Help

2002-02-08 Thread Manoj Sadangi

how your web.xml file looks like

François Beauregard wrote:

I decided to day to give a first try at Orion (1.5.3).
I started trying to deploy an application that already runs fine under
Tomcat / Borland AppServer.
I have a .ear for this application

I configured server.xml, data-sources.xml and default-web-site.xml
server.xml :
application name=oasis path=../applications/OASIS.ear auto-start=true
/
default-web-site.xml :
web-app application=oasis name=oasisWeb root=/oasisWeb /

Here is my application.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
application
  display-nameOASIS Application/display-name
  module
ejbOasisBaseEJBs.jar/ejb
  /module
  module
ejbOasisPartyEJBs.jar/ejb
  /module
  module
web
  web-urioasisWeb.war/web-uri
  context-root/oasisWeb/context-root
/web
  /module
/application

In the web.xml in oasisWeb.war I only have servlet mappings and tld
definitions.

When I start Orion, the application deploys just fine but if I try to invoke
any jsp I get an internal error (500).
http:/localhost/oasisWeb/Welcome.jsp
If I change Welcome.jsp to Welcome.html, it displays correctly.

If I invoke a servlet, it is properly invoked but whenever I try to
servlet.getServletContext().getRequestDispatcher(res.encodeURL(url))
For a url that is a jsp I get a null result.

Any idea?

Thanks
__
François Beauregard
Pyxis Technologies
Vice-président, recherche et développement

Tel: (450) 681-9094
Fax: (450) 681-5758
[EMAIL PROTECTED]








Re: Help

2002-02-08 Thread Igor Chirokov

Hi François Beauregard,
Configuration for server.xml, data-sources.xml and default-web-site.xml
looks fine. Do your servlets located in the
..\oasis\oasisWeb\WEB-INF\classes  directory?
And one more note: jsp file is compiled file  html not so when you run jsp
file Orion compiles it. Result of the compiling you can see in the
...\application-deployments\oasis directory.

Igor.
___
Igor Chirokov

[EMAIL PROTECTED]





- Original Message -
From: François Beauregard [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, February 08, 2002 5:16 AM
Subject: Help


 I decided to day to give a first try at Orion (1.5.3).
 I started trying to deploy an application that already runs fine under
 Tomcat / Borland AppServer.
 I have a .ear for this application

 I configured server.xml, data-sources.xml and default-web-site.xml
 server.xml :
 application name=oasis path=../applications/OASIS.ear
auto-start=true
 /
 default-web-site.xml :
 web-app application=oasis name=oasisWeb root=/oasisWeb /

 Here is my application.xml
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
 Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
 application
   display-nameOASIS Application/display-name
   module
 ejbOasisBaseEJBs.jar/ejb
   /module
   module
 ejbOasisPartyEJBs.jar/ejb
   /module
   module
 web
   web-urioasisWeb.war/web-uri
   context-root/oasisWeb/context-root
 /web
   /module
 /application

 In the web.xml in oasisWeb.war I only have servlet mappings and tld
 definitions.

 When I start Orion, the application deploys just fine but if I try to
invoke
 any jsp I get an internal error (500).
 http:/localhost/oasisWeb/Welcome.jsp
 If I change Welcome.jsp to Welcome.html, it displays correctly.

 If I invoke a servlet, it is properly invoked but whenever I try to
 servlet.getServletContext().getRequestDispatcher(res.encodeURL(url))
 For a url that is a jsp I get a null result.

 Any idea?

 Thanks
 __
 François Beauregard
 Pyxis Technologies
 Vice-président, recherche et développement

 Tel: (450) 681-9094
 Fax: (450) 681-5758
 [EMAIL PROTECTED]








Re: Help

2002-02-08 Thread Fredrik Lindgren

Hi,

If for some reason the JSP will not compile, you will get null when 
trying to get a RequestDispatcher to it. What stacktrace do you get when 
you access it directly (the internal server error 500)?

A tip to see what's happening is to add development=true to the 
orion-web.xml deployment descriptor to get readable java code for the 
accessed JSPs (stored in the deployment directory)

/Fredrik Lindgren

François Beauregard wrote:

 I decided to day to give a first try at Orion (1.5.3).
 I started trying to deploy an application that already runs fine under
 Tomcat / Borland AppServer.
 I have a .ear for this application
 
 I configured server.xml, data-sources.xml and default-web-site.xml
 server.xml :
 application name=oasis path=../applications/OASIS.ear auto-start=true
 /
 default-web-site.xml :
 web-app application=oasis name=oasisWeb root=/oasisWeb /
 
 Here is my application.xml
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
 Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd;
 application
   display-nameOASIS Application/display-name
   module
 ejbOasisBaseEJBs.jar/ejb
   /module
   module
 ejbOasisPartyEJBs.jar/ejb
   /module
   module
 web
   web-urioasisWeb.war/web-uri
   context-root/oasisWeb/context-root
 /web
   /module
 /application
 
 In the web.xml in oasisWeb.war I only have servlet mappings and tld
 definitions.
 
 When I start Orion, the application deploys just fine but if I try to invoke
 any jsp I get an internal error (500).
 http:/localhost/oasisWeb/Welcome.jsp
 If I change Welcome.jsp to Welcome.html, it displays correctly.
 
 If I invoke a servlet, it is properly invoked but whenever I try to
 servlet.getServletContext().getRequestDispatcher(res.encodeURL(url))
 For a url that is a jsp I get a null result.
 
 Any idea?
 
 Thanks
 __
 François Beauregard
 Pyxis Technologies
 Vice-président, recherche et développement
 
 Tel: (450) 681-9094
 Fax: (450) 681-5758
 [EMAIL PROTECTED]
 
 
 
 
 






Can anyone help me with this - config of orion-ejb-jar

2002-02-04 Thread Garrett Skelly

Hello there,

I am struggling with something and was wondering if you could help me.

I have an Entity EJB that is successfully deploying, however I am running
out of memory in the system and would like to restrict the number of beans
and the timeouts for the EJB. 

I have edited the orion-ejb-jar.xml and the bean deploys OK, please see the
atached file. However when viewing the bean using the console I see that the
number of used instances just keeps climbing and goes beyond the
max-instances and doesn't appear to flush out of the  cache.

Thanks for you help

Garrett Skelly
 m2uworkflow-deploy.jar 




m2uworkflow-deploy.jar
Description: Binary data


pls help register EJB in web app

2002-01-16 Thread Alexey Alexapolsky




Hello guys , asking 
for some help ...I get this error:"Error instantiating web-app JNDI-context: No location 
specified and no suitable instanceof the type 'yp.ypSession' found for the ejb-ref 
yp.ypSession"
1) I have this 
EJBworking well from standalone app
2) When I try to use 
it in simple JSP page , that I placed in default-webapp directoryI get the 
error above/*this is how I look it up*/Object homeObject = 
context.lookup("java:comp/env/yp.ypSession");

Can this be because beans are 
registeredin a separate application andI try to get them from 
another(default) application ?This 
is web.xml contents of my default-web app 
where this jsp page resides
ejb-ref
ejb-ref-nameyp.ypSession/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homeyp.ypSessionHome/home
remoteyp.ypSession/remote
/ejb-ref




RE: can't figure out this one. need help: logging, reloading custom usermanager class

2002-01-14 Thread Alex Paransky

Can you be a little bit more specific as to what is not working?  I just
spend 2 days trying to get EJBUserManager to work, and I am happy to report
that I was successful.  I assume your functions are getting called, so you
have properly registered your user manager is the orion-application.xml.
What specifically is not working?

-AP_

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jesse Schoch
Sent: Friday, January 11, 2002 11:21 AM
To: Orion-Interest
Subject: can't figure out this one. need help: logging, reloading custom
usermanager class


ok so i tried to write a custom usermanager but it will not work and will
not give me any clue as to why.  I have followed the directions on the
support site, and have turned on -verbosity 10, i think i may have had it
wrong the first time i compiled it but i don't know how to find out what
version of my class i am using.

Is there a way to see the date of the class file that's loaded?  how do you
insure that it is reloaded?  i've done touch application.xml web.xml and
every other xml that i can think of.

here is my code. it compiles fine, and this is from my active login system
so i'm pretty sure the code works.  how do i get the damn logging to work?
System.out.println() does not show up on my logs or STDOUT from running
orion.jar

package jesse;

import java.util.*;
import com.orionsupport.security.SimpleUserManager;
import java.sql.*;
import java.io.*;
import javax.sql.*;
import javax.naming.*;
//
// fuck some shit up with da user manager.
//

public class uM extends SimpleUserManager
{
private Map users  = new HashMap();
protected boolean userExists( String username )
{
boolean result = false;
try
{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(jdbc/mysql);
Connection con = ds.getConnection();
Statement st = con.createStatement();
Statement st2 = con.createStatement();
String q = select count(*) from stamps.users where
username='+username+';
ResultSet rs = st.executeQuery(q);
int test = rs.getInt(1);
if (test == 1)
{
result = true;
}
if (result){}
else {System.out.println(user:  +username+ does not 
exist\n);}
con.close();
}
catch (SQLException e)
{System.out.println(SQL error: +e);}
catch (NamingException er)
{System.out.println(jndi naming error+ er);}
return result;

}

  protected boolean checkPassword( String username, String password )
{
boolean result = false;
try
{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(jdbc/mysql);
Connection con = ds.getConnection();
Statement st = con.createStatement();
Statement st2 = con.createStatement();
if (userExists(username))
{
String q = select password user_id from stamps.users where
username='+username+';
ResultSet rs = st.executeQuery(q);
while (rs.next())
{
String u = rs.getString(2);
String p = rs.getString(1);
String q2 = select password('+password+');
ResultSet rs2 = st2.executeQuery(q2);
rs2.next();
String enpass = rs2.getString(1);
if (p.equals(enpass))
{
result = true;
users.put(username,u);
}
}
}
if (result){}
else {System.out.println(user:  +username+ failed pass check\n);}
con.close();
}
catch (SQLException e)
{System.out.println(SQL error: +e);}
catch (NamingException er)
{System.out.println(jndi naming error+ er);}
return result;
}
  protected boolean inGroup( String username, String groupname )
{
return true;
}
  protected String getUID(String username)
{
String result = (String)users.get(username);
return result;
}
}





can't figure out this one. need help: logging, reloading custom usermanager class

2002-01-11 Thread Jesse Schoch

ok so i tried to write a custom usermanager but it will not work and will
not give me any clue as to why.  I have followed the directions on the
support site, and have turned on -verbosity 10, i think i may have had it
wrong the first time i compiled it but i don't know how to find out what
version of my class i am using.

Is there a way to see the date of the class file that's loaded?  how do you
insure that it is reloaded?  i've done touch application.xml web.xml and
every other xml that i can think of.

here is my code. it compiles fine, and this is from my active login system
so i'm pretty sure the code works.  how do i get the damn logging to work?
System.out.println() does not show up on my logs or STDOUT from running
orion.jar

package jesse;

import java.util.*;
import com.orionsupport.security.SimpleUserManager;
import java.sql.*;
import java.io.*;
import javax.sql.*;
import javax.naming.*;
//
// fuck some shit up with da user manager.
//

public class uM extends SimpleUserManager
{
private Map users  = new HashMap();
protected boolean userExists( String username )
{
boolean result = false;
try
{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(jdbc/mysql);
Connection con = ds.getConnection();
Statement st = con.createStatement();
Statement st2 = con.createStatement();
String q = select count(*) from stamps.users where
username='+username+';
ResultSet rs = st.executeQuery(q);
int test = rs.getInt(1);
if (test == 1)
{
result = true;
}
if (result){}
else {System.out.println(user:  +username+ does not 
exist\n);}
con.close();
}
catch (SQLException e)
{System.out.println(SQL error: +e);}
catch (NamingException er)
{System.out.println(jndi naming error+ er);}
return result;

}

  protected boolean checkPassword( String username, String password )
{
boolean result = false;
try
{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(jdbc/mysql);
Connection con = ds.getConnection();
Statement st = con.createStatement();
Statement st2 = con.createStatement();
if (userExists(username))
{
String q = select password user_id from stamps.users where
username='+username+';
ResultSet rs = st.executeQuery(q);
while (rs.next())
{
String u = rs.getString(2);
String p = rs.getString(1);
String q2 = select password('+password+');
ResultSet rs2 = st2.executeQuery(q2);
rs2.next();
String enpass = rs2.getString(1);
if (p.equals(enpass))
{
result = true;
users.put(username,u);
}
}
}
if (result){}
else {System.out.println(user:  +username+ failed pass check\n);}
con.close();
}
catch (SQLException e)
{System.out.println(SQL error: +e);}
catch (NamingException er)
{System.out.println(jndi naming error+ er);}
return result;
}
  protected boolean inGroup( String username, String groupname )
{
return true;
}
  protected String getUID(String username)
{
String result = (String)users.get(username);
return result;
}
}





RE: App server debugging -- HELP

2002-01-10 Thread Carroll, Jim


I'm starting to use 'kill -3' but that again only shows the
parent thread.  

kill -3 should dump a stack trace of all of the threads.
 





Help!

2002-01-09 Thread Nihilist
Title: Message



Can 
anybody explain this error to me:

Error parsing JSP page /process/index.jsp Error creating jsp-page 
instance: java.lang.VerifyError: (class: __jspPage1_process_index_jsp, method: 
_jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
Illegal target of jump or branch

It 
can't be replicated on a consistent basis, it seems to pop up, then go away, all 
by itself. And that's disturbing... Gotta be able to trust the app 
server!

Thanks,
Michael

-Michael LaccettiDeveloper, Eldan 
Software[EMAIL PROTECTED]



RE: Help!

2002-01-09 Thread Alex Paransky
Title: Message



Most 
likely, your .jsp page is too large. I think there is a limit of 64K per 
method, and since the JSP page all get's generated into a single method, you 
might be exceeding that. Try using dynamic includes instead of static 
includes, or if you are not using includes at all, try to break up the page and 
use dynamic includes.

-AP_

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  NihilistSent: Wednesday, January 09, 2002 6:41 AMTo: 
  Orion-InterestSubject: Help!
  Can anybody explain this error to me:
  
  Error parsing JSP page /process/index.jsp Error creating jsp-page 
  instance: java.lang.VerifyError: (class: __jspPage1_process_index_jsp, method: 
  _jspService signature: 
  (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
  Illegal target of jump or branch
  
  It 
  can't be replicated on a consistent basis, it seems to pop up, then go away, 
  all by itself. And that's disturbing... Gotta be able to trust the 
  app server!
  
  Thanks,
  Michael
  
  -Michael LaccettiDeveloper, Eldan 
  Software[EMAIL PROTECTED]
  


App server debugging -- HELP

2002-01-09 Thread Aaron Tavistock


I've got a very large web application (about 300 objects and about 1000
pages) which uses mostly straight JSP.  This gets a reasonable number of
hits with approximately 200 concurrant sessions operating.  

Recently, we introduced something thats causing something resembling a
thread deadlock.  Some unknown event occurs, then things start grinding to
halt as threads get backed up.  When this happens they only way to get out
is to hard kill the server (e.g. - orions shutdown doesn't work, and kill
-TERM doesn't work).

This only really occurs under load, and we cannot reproduce it in a
development environment (even with loading tools).  We've crawled through
every line of code carefully and have found some obscure race-conditions we
hadn't considered (race conditions we never actually had occur).  But so far
nothing that has would fix our real problem, so I'm fairly convinced that
I'm not going to find it easily by looking at java code.

Now I've tried jdb and of course I can only see suspended threads (which is
not too useful) and I've tried jprobe but that only shows the parent threads
state.  I even tried strace/truss but thats too lowlevel to make out whats
happening.  I'm starting to use 'kill -3' but that again only shows the
parent thread.  

Does anyone have an suggestions on doing runtime debug on the thread level?
I'd really just like to see whats actually happening in the locked threads.
Anyone?

 




RE: Help: Out of Memory Error...

2002-01-08 Thread Mohammed Islam


don't send this mail  to me


Mohammed Islam
Fulcrum Analytics,  Inc.(formerly Cyber Dialogue )
Phone:  212-651-9263






Re: HTTP response help please ?

2002-01-08 Thread Rasmy Anand

Hello Eddie
In the code you have to set the content type,.So if you are sending any data
or Object as it is, you have to give the code like this
String url;//some url intialize it
String obj=t1.getText();
URL u=new URL(url);
URLConnection cn=u.openConnection();
cn.setDoOutput(true);
cn.setDoInput(true);
cn.setUseCaches(false);

cn.setRequestProperty(Content-Type,Java-internal/+obj.getClass().getName
());
ObjectOutputStream fp1=new ObjectOutputStream(cn.getOutputStream());
fp1.writeObject(obj);
fp1.close();
ObjectInputStream in=new ObjectInputStream(cn.getInputStream());
String replay=(String)in.readObject();
t2.setText(replay);
in.close();

Regards
Rasmy :-) Enjoy Java





RE: Off-topic: UML Tools...Help!!!

2001-12-09 Thread udi h bauman

Hi

We've been using SparxSystems modelling product (Enterprise Architect) 
found it fairly good. If you also consider its very small price, you might
find it even more nice.


udi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jorge De Flon
Sent: Saturday, December 08, 2001 4:06 PM
To: Orion-Interest
Subject: Re: Off-topic: UML Tools...Help!!!


I Also think that together is the best UML modeling tool.
if you dont have the money, you can use a opensource tool as fujaba (goggle
it because it is not fujaba.org )

Regards



- Original Message -
From: Curt Smith [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 7:47 AM
Subject: Re: Off-topic: UML Tools...Help!!!


 I have a team using TogetherJ for our modeler, IDE and deploy tool.
 TogetherJ, the first to market with a great all Java UML modeler, round
trip
 code generator product.  Supports all IDE functions including debugging
into
 your appserver's VM, deploy, call Ant, JUnit etc etc.  Very feature rich.

 togethersoft.com

 Curt

 Oisin Kim wrote:

  John,
  have a look at Poseidon, the community edition is free and it's 100%
  Java so multi platform, although it runs best with 1.3.1_01 JRE...
  Oisin
 
  On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
   Hi,
  
   I have been asked by my manager to evaluate some UML modelling tools:
   Rational Rose and Select. However, I have never really used UML so I
   probably wasn't the best person to ask :)
  
   So, if anyone could tell me any pros and cons of these packages I
would
   appreciate it. Developers are gonna be using JBuilder 5 Enterprise,
and the
   idea would be to farm out classes/beans you have designed and
structured in
   the UML model.
  
   Any information or experiences you would like to share would be
appreciated
   as I don't have a clue :)
  
   Thanks,
  
   Johnny
  
  
   Confidentiality Notice:
   The information in this e-Mail message is confidential and for the use
of
   the named recipients only. The information may be protected by
privilege,
   work product immunity or other applicable law.
   If you are not the intended recipient - the retention, dissemination,
   distribution or copying of this e-Mail message is strictly prohibited.
If
   you receive this e-Mail message in error, please notify me immediately
by
   telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
  --
 
  
  Oisin Kim
  Software Engineer
  Aurium - the new brand for Conceptual Drift
  Clifton House
  Lower Fitzwilliam Street
  Dublin 2
  Web - http://www.aurium.net
  Email - [EMAIL PROTECTED]
  Mobile - +353 86 841 9967
  Telephone - +353 1 661 1132
  




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com







Re: Off-topic: UML Tools...Help!!!

2001-12-08 Thread Jorge De Flon

I Also think that together is the best UML modeling tool.
if you dont have the money, you can use a opensource tool as fujaba (goggle
it because it is not fujaba.org )

Regards



- Original Message -
From: Curt Smith [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 7:47 AM
Subject: Re: Off-topic: UML Tools...Help!!!


 I have a team using TogetherJ for our modeler, IDE and deploy tool.
 TogetherJ, the first to market with a great all Java UML modeler, round
trip
 code generator product.  Supports all IDE functions including debugging
into
 your appserver's VM, deploy, call Ant, JUnit etc etc.  Very feature rich.

 togethersoft.com

 Curt

 Oisin Kim wrote:

  John,
  have a look at Poseidon, the community edition is free and it's 100%
  Java so multi platform, although it runs best with 1.3.1_01 JRE...
  Oisin
 
  On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
   Hi,
  
   I have been asked by my manager to evaluate some UML modelling tools:
   Rational Rose and Select. However, I have never really used UML so I
   probably wasn't the best person to ask :)
  
   So, if anyone could tell me any pros and cons of these packages I
would
   appreciate it. Developers are gonna be using JBuilder 5 Enterprise,
and the
   idea would be to farm out classes/beans you have designed and
structured in
   the UML model.
  
   Any information or experiences you would like to share would be
appreciated
   as I don't have a clue :)
  
   Thanks,
  
   Johnny
  
  
   Confidentiality Notice:
   The information in this e-Mail message is confidential and for the use
of
   the named recipients only. The information may be protected by
privilege,
   work product immunity or other applicable law.
   If you are not the intended recipient - the retention, dissemination,
   distribution or copying of this e-Mail message is strictly prohibited.
If
   you receive this e-Mail message in error, please notify me immediately
by
   telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
  --
 
  
  Oisin Kim
  Software Engineer
  Aurium - the new brand for Conceptual Drift
  Clifton House
  Lower Fitzwilliam Street
  Dublin 2
  Web - http://www.aurium.net
  Email - [EMAIL PROTECTED]
  Mobile - +353 86 841 9967
  Telephone - +353 1 661 1132
  




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: Off-topic: UML Tools...Help!!!

2001-12-07 Thread Oisin Kim

John,
have a look at Poseidon, the community edition is free and it's 100%
Java so multi platform, although it runs best with 1.3.1_01 JRE...
Oisin

On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
 Hi,
  
 I have been asked by my manager to evaluate some UML modelling tools:
 Rational Rose and Select. However, I have never really used UML so I
 probably wasn't the best person to ask :)
  
 So, if anyone could tell me any pros and cons of these packages I would
 appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and the
 idea would be to farm out classes/beans you have designed and structured in
 the UML model.
  
 Any information or experiences you would like to share would be appreciated
 as I don't have a clue :)
  
 Thanks,
  
 Johnny
  
 
 Confidentiality Notice:
 The information in this e-Mail message is confidential and for the use of
 the named recipients only. The information may be protected by privilege,
 work product immunity or other applicable law.
 If you are not the intended recipient - the retention, dissemination,
 distribution or copying of this e-Mail message is strictly prohibited. If
 you receive this e-Mail message in error, please notify me immediately by
 telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
-- 


Oisin Kim
Software Engineer
Aurium - the new brand for Conceptual Drift 
Clifton House
Lower Fitzwilliam Street
Dublin 2
Web - http://www.aurium.net
Email - [EMAIL PROTECTED]
Mobile - +353 86 841 9967
Telephone - +353 1 661 1132






RE: Off-topic: UML Tools...Help!!!

2001-12-07 Thread Edward de Jongh

Please unsubscribe me according to a message I received earlier I am
unsubscribed, but this is clearly not the case.

ed

-Original Message-
From: Oisin Kim [mailto:[EMAIL PROTECTED]] 
Sent: 07 December 2001 12:04
To: Orion-Interest
Subject: Re: Off-topic: UML Tools...Help!!!

John,
have a look at Poseidon, the community edition is free and it's 100%
Java so multi platform, although it runs best with 1.3.1_01 JRE...
Oisin

On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
 Hi,
  
 I have been asked by my manager to evaluate some UML modelling tools:
 Rational Rose and Select. However, I have never really used UML so I
 probably wasn't the best person to ask :)
  
 So, if anyone could tell me any pros and cons of these packages I would
 appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and
the
 idea would be to farm out classes/beans you have designed and structured
in
 the UML model.
  
 Any information or experiences you would like to share would be
appreciated
 as I don't have a clue :)
  
 Thanks,
  
 Johnny
  
 
 Confidentiality Notice:
 The information in this e-Mail message is confidential and for the use of
 the named recipients only. The information may be protected by privilege,
 work product immunity or other applicable law.
 If you are not the intended recipient - the retention, dissemination,
 distribution or copying of this e-Mail message is strictly prohibited. If
 you receive this e-Mail message in error, please notify me immediately by
 telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
-- 


Oisin Kim
Software Engineer
Aurium - the new brand for Conceptual Drift 
Clifton House
Lower Fitzwilliam Street
Dublin 2
Web - http://www.aurium.net
Email - [EMAIL PROTECTED]
Mobile - +353 86 841 9967
Telephone - +353 1 661 1132






Re: Off-topic: UML Tools...Help!!!

2001-12-07 Thread Curt Smith

I have a team using TogetherJ for our modeler, IDE and deploy tool.
TogetherJ, the first to market with a great all Java UML modeler, round trip
code generator product.  Supports all IDE functions including debugging into
your appserver's VM, deploy, call Ant, JUnit etc etc.  Very feature rich.

togethersoft.com

Curt

Oisin Kim wrote:

 John,
 have a look at Poseidon, the community edition is free and it's 100%
 Java so multi platform, although it runs best with 1.3.1_01 JRE...
 Oisin

 On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
  Hi,
 
  I have been asked by my manager to evaluate some UML modelling tools:
  Rational Rose and Select. However, I have never really used UML so I
  probably wasn't the best person to ask :)
 
  So, if anyone could tell me any pros and cons of these packages I would
  appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and the
  idea would be to farm out classes/beans you have designed and structured in
  the UML model.
 
  Any information or experiences you would like to share would be appreciated
  as I don't have a clue :)
 
  Thanks,
 
  Johnny
 
 
  Confidentiality Notice:
  The information in this e-Mail message is confidential and for the use of
  the named recipients only. The information may be protected by privilege,
  work product immunity or other applicable law.
  If you are not the intended recipient - the retention, dissemination,
  distribution or copying of this e-Mail message is strictly prohibited. If
  you receive this e-Mail message in error, please notify me immediately by
  telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
 
 --

 
 Oisin Kim
 Software Engineer
 Aurium - the new brand for Conceptual Drift
 Clifton House
 Lower Fitzwilliam Street
 Dublin 2
 Web - http://www.aurium.net
 Email - [EMAIL PROTECTED]
 Mobile - +353 86 841 9967
 Telephone - +353 1 661 1132
 





Re: Off-topic: UML Tools...Help!!!

2001-12-07 Thread Oisin Kim

I agree totally, very feature rich, a real quality product, more
features than you could ever possibly use, but at £5000 a seat the price
is slightly prohibitive. I was lucky enough to use Together Control
Center for my Thesis, if you can afford it, get it!
Otherwise, for 10% of the functionality, for free get Poseidon! If you
like it and use it commercially pay the $150 or so dollars for the
Professional version.

Oisin

On Fri, 2001-12-07 at 13:47, Curt Smith wrote:
 I have a team using TogetherJ for our modeler, IDE and deploy tool.
 TogetherJ, the first to market with a great all Java UML modeler, round trip
 code generator product.  Supports all IDE functions including debugging into
 your appserver's VM, deploy, call Ant, JUnit etc etc.  Very feature rich.
 
 togethersoft.com
 
 Curt
 
 Oisin Kim wrote:
 
  John,
  have a look at Poseidon, the community edition is free and it's 100%
  Java so multi platform, although it runs best with 1.3.1_01 JRE...
  Oisin
 
  On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
   Hi,
  
   I have been asked by my manager to evaluate some UML modelling tools:
   Rational Rose and Select. However, I have never really used UML so I
   probably wasn't the best person to ask :)
  
   So, if anyone could tell me any pros and cons of these packages I would
   appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and the
   idea would be to farm out classes/beans you have designed and structured in
   the UML model.
  
   Any information or experiences you would like to share would be appreciated
   as I don't have a clue :)
  
   Thanks,
  
   Johnny
  
  
   Confidentiality Notice:
   The information in this e-Mail message is confidential and for the use of
   the named recipients only. The information may be protected by privilege,
   work product immunity or other applicable law.
   If you are not the intended recipient - the retention, dissemination,
   distribution or copying of this e-Mail message is strictly prohibited. If
   you receive this e-Mail message in error, please notify me immediately by
   telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
  --
 
  
  Oisin Kim
  Software Engineer
  Aurium - the new brand for Conceptual Drift
  Clifton House
  Lower Fitzwilliam Street
  Dublin 2
  Web - http://www.aurium.net
  Email - [EMAIL PROTECTED]
  Mobile - +353 86 841 9967
  Telephone - +353 1 661 1132
  
 
 
-- 


Oisin Kim
Software Engineer
Aurium - the new brand for Conceptual Drift 
Clifton House
Lower Fitzwilliam Street
Dublin 2
Web - http://www.aurium.net
Email - [EMAIL PROTECTED]
Mobile - +353 86 841 9967
Telephone - +353 1 661 1132






Re: Off-topic: UML Tools...Help!!!

2001-12-07 Thread Ray Harrison

Also, for a reasonable amount of functionality at a fraction of the cost, look at 
Enterprise
Architect from www.sparxsystems.com.au. For what I do, I like it quite a bit.


Cheers
Ray
--- Oisin Kim [EMAIL PROTECTED] wrote:
 I agree totally, very feature rich, a real quality product, more
 features than you could ever possibly use, but at £5000 a seat the price
 is slightly prohibitive. I was lucky enough to use Together Control
 Center for my Thesis, if you can afford it, get it!
 Otherwise, for 10% of the functionality, for free get Poseidon! If you
 like it and use it commercially pay the $150 or so dollars for the
 Professional version.

 Oisin

 On Fri, 2001-12-07 at 13:47, Curt Smith wrote:
  I have a team using TogetherJ for our modeler, IDE and deploy tool.
  TogetherJ, the first to market with a great all Java UML modeler, round trip
  code generator product.  Supports all IDE functions including debugging into
  your appserver's VM, deploy, call Ant, JUnit etc etc.  Very feature rich.
 
  togethersoft.com
 
  Curt
 
  Oisin Kim wrote:
 
   John,
   have a look at Poseidon, the community edition is free and it's 100%
   Java so multi platform, although it runs best with 1.3.1_01 JRE...
   Oisin
  
   On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
Hi,
   
I have been asked by my manager to evaluate some UML modelling tools:
Rational Rose and Select. However, I have never really used UML so I
probably wasn't the best person to ask :)
   
So, if anyone could tell me any pros and cons of these packages I would
appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and the
idea would be to farm out classes/beans you have designed and structured in
the UML model.
   
Any information or experiences you would like to share would be appreciated
as I don't have a clue :)
   
Thanks,
   
Johnny
   
   
Confidentiality Notice:
The information in this e-Mail message is confidential and for the use of
the named recipients only. The information may be protected by privilege,
work product immunity or other applicable law.
If you are not the intended recipient - the retention, dissemination,
distribution or copying of this e-Mail message is strictly prohibited. If
you receive this e-Mail message in error, please notify me immediately by
telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
   
   --
  
   ===   Oisin Kim
   Software Engineer
   Aurium - the new brand for Conceptual Drift
   Clifton House
   Lower Fitzwilliam Street
   Dublin 2
   Web - http://www.aurium.net
   Email - [EMAIL PROTECTED]
   Mobile - +353 86 841 9967
   Telephone - +353 1 661 1132
   === 
 
 --

 === Oisin Kim
 Software Engineer
 Aurium - the new brand for Conceptual Drift
 Clifton House
 Lower Fitzwilliam Street
 Dublin 2
 Web - http://www.aurium.net
 Email - [EMAIL PROTECTED]
 Mobile - +353 86 841 9967
 Telephone - +353 1 661 1132
 ===



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com




Re: Off-topic: UML Tools...Help!!!

2001-12-07 Thread BRICKER_JONATHAN_E

You can get TogetherJ in a solo version for about 1/2 of the Control Center's price.

Jonathan Bricker
Lilly Research Labs
Java ATG






Oisin Kim [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
12/07/01 12:15 PM
Please respond to Orion-Interest


To:Orion-Interest [EMAIL PROTECTED]
cc:
Subject:Re: Off-topic: UML Tools...Help!!!



I agree totally, very feature rich, a real quality product, more
features than you could ever possibly use, but at £5000 a seat the price
is slightly prohibitive. I was lucky enough to use Together Control
Center for my Thesis, if you can afford it, get it!
Otherwise, for 10% of the functionality, for free get Poseidon! If you
like it and use it commercially pay the $150 or so dollars for the
Professional version.

Oisin

On Fri, 2001-12-07 at 13:47, Curt Smith wrote:
 I have a team using TogetherJ for our modeler, IDE and deploy tool.
 TogetherJ, the first to market with a great all Java UML modeler, round trip
 code generator product. Supports all IDE functions including debugging into
 your appserver's VM, deploy, call Ant, JUnit etc etc. Very feature rich.
 
 togethersoft.com
 
 Curt
 
 Oisin Kim wrote:
 
  John,
  have a look at Poseidon, the community edition is free and it's 100%
  Java so multi platform, although it runs best with 1.3.1_01 JRE...
  Oisin
 
  On Thu, 2001-12-06 at 15:28, [EMAIL PROTECTED] wrote:
   Hi,
  
   I have been asked by my manager to evaluate some UML modelling tools:
   Rational Rose and Select. However, I have never really used UML so I
   probably wasn't the best person to ask :)
  
   So, if anyone could tell me any pros and cons of these packages I would
   appreciate it. Developers are gonna be using JBuilder 5 Enterprise, and the
   idea would be to farm out classes/beans you have designed and structured in
   the UML model.
  
   Any information or experiences you would like to share would be appreciated
   as I don't have a clue :)
  
   Thanks,
  
   Johnny
  
  
   Confidentiality Notice:
   The information in this e-Mail message is confidential and for the use of
   the named recipients only. The information may be protected by privilege,
   work product immunity or other applicable law.
   If you are not the intended recipient - the retention, dissemination,
   distribution or copying of this e-Mail message is strictly prohibited. If
   you receive this e-Mail message in error, please notify me immediately by
   telephone (44 207 384 8102) or e-Mail ([EMAIL PROTECTED]).
  
  --
 
  
  Oisin Kim
  Software Engineer
  Aurium - the new brand for Conceptual Drift
  Clifton House
  Lower Fitzwilliam Street
  Dublin 2
  Web - http://www.aurium.net
  Email - [EMAIL PROTECTED]
  Mobile - +353 86 841 9967
  Telephone - +353 1 661 1132
  
 
 
-- 


Oisin Kim
Software Engineer
Aurium - the new brand for Conceptual Drift 
Clifton House
Lower Fitzwilliam Street
Dublin 2
Web - http://www.aurium.net
Email - [EMAIL PROTECTED]
Mobile - +353 86 841 9967
Telephone - +353 1 661 1132








Off-topic: UML Tools...Help!!!

2001-12-06 Thread John . Miller



Hi,

I have been asked by 
my manager to evaluate some UML modelling tools: Rational Rose 
and Select. However, I have never really used UML so I 
probably wasn't the best person to ask :)

So, if anyone could 
tell me any pros and cons of these packages I would appreciate it. Developers 
are gonna be using JBuilder 5 Enterprise,and the idea would be to farm out 
classes/beans you have designed and structured in the UML 
model.

Any information or 
experiences you would like to share would be appreciated as I don't have a clue 
:)

Thanks,

Johnny

Confidentiality 
Notice:The information in this e-Mail message is confidential 
and for the use of the named recipients only. The information may be protected 
by privilege, work product immunity or other applicable law.If you are not 
the intended recipient - the retention, dissemination, distribution or copying 
of this e-Mail message is strictly prohibited. If you receive this e-Mail 
message in error, please notify me immediately by telephone (44 207 384 8102) or 
e-Mail ([EMAIL PROTECTED]).



RE: Off-topic: UML Tools...Help!!!

2001-12-06 Thread SAURUGGER,PETER (A-PaloAlto,ex2)



I can't say anything 
about Select, but we are using (Ir)Rational Rose here - a sometimes harrowing 
but necessary experience. Harrowing, because of numerous littlebugs in the 
software, workflows which work only under certain circumstances and not others, 
and certain features only partially implemented (like roundtrip engineering). 
Necessary, because in any medium size or larger project the UML models and 
diagrams are an invaluable tool for understanding what's going on. I personally 
like to first look at the big picture, than hack up a few prototype 
implementation classes, and then combine them and make model and class design 
coherent. Rational certainly does allow us to do this (although not as easily as 
we would wish). Of course it integrates better with other rational tools (e.g. 
clearcase) than other UML modeling apps.

I have been using 
MagicDraw a bit, mostly for reverse engineering which was not quite as well 
supported by Rational. It doesn't have the number of features that Rational has, 
but is certainly an interesting alternative for smaller projects (and much less 
expensive). I have to amend that we are in the process of installing the latest 
update of Rational, which seems to take care of many concerns that we had and 
adds features like better roundtrip engineering, better integration with tools 
like jbuilder, andJSP support (caveat emptor - we have not used this 
version yet, will know more in a couple of weeks) which can be a major headache 
because it doesn't easily fit in the typical class model.

So despite my 
irreverence, (ir)rational Rose helps us as a group to document the model and 
keep track of the overall structure of the project.

If you go with Rose, 
make sure it's the latest version - it certainly seems to make life considerable 
easier (and be less irrational)

Cheers

 
--peter

P.S. A coworker just 
told me that he used Select a couple of years ago - it was really clunky 
then.People here had betterexperience with togetherj than select. Of 
course this is all coming from opinionated people like myself 
...

  -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, 
  December 06, 2001 7:29 AMTo: Orion-InterestSubject: 
  Off-topic: UML Tools...Help!!!
  Hi,
  
  I have been asked 
  by my manager to evaluate some UML modelling tools: Rational Rose 
  and Select. However, I have never really used UML so 
  I probably wasn't the best person to ask :)
  
  So, if anyone 
  could tell me any pros and cons of these packages I would appreciate it. 
  Developers are gonna be using JBuilder 5 Enterprise,and the idea would 
  be to farm out classes/beans you have designed and structured in the UML 
  model.
  
  Any information or 
  experiences you would like to share would be appreciated as I don't have a 
  clue :)
  
  Thanks,
  
  Johnny
  
  Confidentiality 
  Notice:The information in this e-Mail message is 
  confidential and for the use of the named recipients only. The information may 
  be protected by privilege, work product immunity or other applicable 
  law.If you are not the intended recipient - the retention, dissemination, 
  distribution or copying of this e-Mail message is strictly prohibited. If you 
  receive this e-Mail message in error, please notify me immediately by 
  telephone (44 207 384 8102) or e-Mail 
  ([EMAIL PROTECTED]).
  


Re: Off-topic: UML Tools...Help!!!

2001-12-06 Thread Ravishankar S



go for argouml..it's free and it's a java appln so 
u can run it even in linux/unix or mac

u can find the links in www.javafaq.nu then click on the links 
development tools

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: Orion-Interest 
  Sent: Thursday, December 06, 2001 8:58 
  PM
  Subject: Off-topic: UML 
  Tools...Help!!!
  
  Hi,
  
  I have been asked 
  by my manager to evaluate some UML modelling tools: Rational Rose 
  and Select. However, I have never really used UML so 
  I probably wasn't the best person to ask :)
  
  So, if anyone 
  could tell me any pros and cons of these packages I would appreciate it. 
  Developers are gonna be using JBuilder 5 Enterprise,and the idea would 
  be to farm out classes/beans you have designed and structured in the UML 
  model.
  
  Any information or 
  experiences you would like to share would be appreciated as I don't have a 
  clue :)
  
  Thanks,
  
  Johnny
  
  Confidentiality 
  Notice:The information in this e-Mail message is 
  confidential and for the use of the named recipients only. The information may 
  be protected by privilege, work product immunity or other applicable 
  law.If you are not the intended recipient - the retention, dissemination, 
  distribution or copying of this e-Mail message is strictly prohibited. If you 
  receive this e-Mail message in error, please notify me immediately by 
  telephone (44 207 384 8102) or e-Mail 
  ([EMAIL PROTECTED]).
  


Help: Out of Memory Error...

2001-11-28 Thread Arjen Schoneveld

Hi All,
 
We are about to deploy a new application for our client that is built on
Orion. The application consists of some Servlets, statefull and
stateless
session beans and CM entity beans.
We have been testing the application for a month now and did not
experience
any problems.
However today we set up a client application that sequentially submits
XML
documents to the Servlet which controls a Statefull Session bean.
(This is also
how our web-application (and that of others) talk to this servlet (via
XML).
Normally a human is entering data in a web application and the data is
marshalled
in an XML document and send to the Servlet).
The client-application is supposed to submit 2 XML documents
sequentially
to the servlet, which parses it, calls some methods of a statefull
session bean 
(which controls other stateless session beans and entity beans) and
sends an XML
reply back. Every XML request takes about 1.5s to process. So far so
good. However after an hour (or so) of running, Orion gets an
java.lang.OutOfMemory Exception (see below).
Does anybody known a solution. It is very important because we are about
to deploy our application in production environment.
 
Maybe we should delimit the number of (entity) bean instances? For every
XML
request about 20 records (hence entity beans) are created.
 
BTW We are using SQL-server as a database.
 
Thanks very much in advance,
Arjen Schoneveld
 
11/28/01 6:28 PM nbwo: Servlet error
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean NBWOSession
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean Requests: Error loading state
java.rmi.RemoteException: java.lang.IllegalStateException: Transaction
expired: java.lang.OutOfMemoryError
 at
com.dvs.nbwo.toolbox.ejb.entity.RequestsBean.ejbLoad(RequestsBean.java:8
6)
 at
Requests_EntityBeanWrapper3.loadState(Requests_EntityBeanWrapper3.java:7
17)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.maakResultaatWaardebepalingsBe
richt(NBWOServlet.java:1375)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doNbwoToetsing(NBWOServlet.jav
a:977)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doAction(NBWOServlet.java:168)
 at
org.dexels.toolbox.server.ToolboxServerServlet.doPost(ToolboxServerServl
et.java:395)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb.include(Unknown Source)
 at org.dexels.toolbox.server.Postman.dispatch(Postman.java:197)
 at org.dexels.toolbox.server.Postman.doPost(Postman.java:513)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
11/28/01 6:28 PM Error in bean Requests: Error while delisting bean from
TX
com.evermind[Orion/1.5.2 (build
10460)].transaction.MarshallingXAException
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at

RE: Help: Out of Memory Error...

2001-11-28 Thread Vipul Mehta

java -ms128M -mx800M -jar orion.jar use this jvm setting where 128M is
the minimum memory  and 800M is the maximum memory jvm will use it to
start orion.

vipul
-Original Message-
From: Arjen Schoneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 12:02 PM
To: Orion-Interest
Cc: Arjen Schoneveld
Subject: Help: Out of Memory Error...


Hi All,
 
We are about to deploy a new application for our client that is built on
Orion. The application consists of some Servlets, statefull and
stateless
session beans and CM entity beans.
We have been testing the application for a month now and did not
experience
any problems.
However today we set up a client application that sequentially submits
XML
documents to the Servlet which controls a Statefull Session bean.
(This is also
how our web-application (and that of others) talk to this servlet (via
XML).
Normally a human is entering data in a web application and the data is
marshalled
in an XML document and send to the Servlet).
The client-application is supposed to submit 2 XML documents
sequentially
to the servlet, which parses it, calls some methods of a statefull
session bean 
(which controls other stateless session beans and entity beans) and
sends an XML
reply back. Every XML request takes about 1.5s to process. So far so
good. However after an hour (or so) of running, Orion gets an
java.lang.OutOfMemory Exception (see below).
Does anybody known a solution. It is very important because we are about
to deploy our application in production environment.
 
Maybe we should delimit the number of (entity) bean instances? For every
XML
request about 20 records (hence entity beans) are created.
 
BTW We are using SQL-server as a database.
 
Thanks very much in advance,
Arjen Schoneveld
 
11/28/01 6:28 PM nbwo: Servlet error
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean NBWOSession
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean Requests: Error loading state
java.rmi.RemoteException: java.lang.IllegalStateException: Transaction
expired: java.lang.OutOfMemoryError
 at
com.dvs.nbwo.toolbox.ejb.entity.RequestsBean.ejbLoad(RequestsBean.java:8
6)
 at
Requests_EntityBeanWrapper3.loadState(Requests_EntityBeanWrapper3.java:7
17)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.maakResultaatWaardebepalingsBe
richt(NBWOServlet.java:1375)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doNbwoToetsing(NBWOServlet.jav
a:977)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doAction(NBWOServlet.java:168)
 at
org.dexels.toolbox.server.ToolboxServerServlet.doPost(ToolboxServerServl
et.java:395)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb.include(Unknown Source)
 at org.dexels.toolbox.server.Postman.dispatch(Postman.java:197)
 at org.dexels.toolbox.server.Postman.doPost(Postman.java:513)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
11/28/01 6:28 PM Error in bean Requests: Error while delisting bean from
TX
com.evermind[Orion/1.5.2 (build
10460)].transaction.MarshallingXAException
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti

RE: Help: Out of Memory Error...

2001-11-28 Thread Trujillo, Kris

What are you setting for your VM min/max heap settings?

-Original Message-
From: Arjen Schoneveld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:02 PM
To: Orion-Interest
Cc: Arjen Schoneveld
Subject: Help: Out of Memory Error...


Hi All,
 
We are about to deploy a new application for our client that is built on
Orion. The application consists of some Servlets, statefull and
stateless
session beans and CM entity beans.
We have been testing the application for a month now and did not
experience
any problems.
However today we set up a client application that sequentially submits
XML
documents to the Servlet which controls a Statefull Session bean.
(This is also
how our web-application (and that of others) talk to this servlet (via
XML).
Normally a human is entering data in a web application and the data is
marshalled
in an XML document and send to the Servlet).
The client-application is supposed to submit 2 XML documents
sequentially
to the servlet, which parses it, calls some methods of a statefull
session bean 
(which controls other stateless session beans and entity beans) and
sends an XML
reply back. Every XML request takes about 1.5s to process. So far so
good. However after an hour (or so) of running, Orion gets an
java.lang.OutOfMemory Exception (see below).
Does anybody known a solution. It is very important because we are about
to deploy our application in production environment.
 
Maybe we should delimit the number of (entity) bean instances? For every
XML
request about 20 records (hence entity beans) are created.
 
BTW We are using SQL-server as a database.
 
Thanks very much in advance,
Arjen Schoneveld
 
11/28/01 6:28 PM nbwo: Servlet error
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean NBWOSession
java.lang.OutOfMemoryError
 no stack trace available
11/28/01 6:28 PM Error in bean Requests: Error loading state
java.rmi.RemoteException: java.lang.IllegalStateException: Transaction
expired: java.lang.OutOfMemoryError
 at
com.dvs.nbwo.toolbox.ejb.entity.RequestsBean.ejbLoad(RequestsBean.java:8
6)
 at
Requests_EntityBeanWrapper3.loadState(Requests_EntityBeanWrapper3.java:7
17)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction.end(Unknown Source)
 at
NBWOSession_StatefulSessionBeanWrapper27.storeData(NBWOSession_StatefulS
essionBeanWrapper27.java:3919)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.maakResultaatWaardebepalingsBe
richt(NBWOServlet.java:1375)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doNbwoToetsing(NBWOServlet.jav
a:977)
 at
com.dvs.nbwo.toolbox.servlets.NBWOServlet.doAction(NBWOServlet.java:168)
 at
org.dexels.toolbox.server.ToolboxServerServlet.doPost(ToolboxServerServl
et.java:395)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb.include(Unknown Source)
 at org.dexels.toolbox.server.Postman.dispatch(Postman.java:197)
 at org.dexels.toolbox.server.Postman.doPost(Postman.java:513)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
 at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
11/28/01 6:28 PM Error in bean Requests: Error while delisting bean from
TX
com.evermind[Orion/1.5.2 (build
10460)].transaction.MarshallingXAException
 at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EntityEJBObject.endTransaction(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization._vib(Unknown
Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._vib(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransactionSynchronization.afterCompleti
on(Unknown Source)
 at com.evermind[Orion/1.5.2 (build
10460)].server.ApplicationServerTransaction._end(Unknown

RE: Http response more help

2001-11-15 Thread Eddie



Hellu,I 
did some more testing and discovered where the problem is.When I do return a 
return code of for example 400 or 500 I get the errorlisted below. If I set 
a return code 200 in my jsp it all works fine ... Idid the same test with a 
asp page and got the same error.Hmmm strange... Can someone explain this 
. or this some kind of bug ??The code in my main to test it 
all:-BufferedWriter out = new 
BufferedWriter(newOutputStreamWriter(connection.getOutputStream()));out.write(sms,0,sms.length());out.close();BufferedReader 
in = new 
BufferedReader(newInputStreamReader(connection.getInputStream()));String 
inputLine;while ((inputLine = in.readLine()) != 
null) 
System.out.println(inputLine);in.close();-The 
JSP that is called:-- BufferedReader in = 
new 
BufferedReader(newInputStreamReader(request.getInputStream())); 
String inputLine = ""; String totLine = 
""; while ((inputLine = in.readLine()) != 
null) { totLine = totLine + 
inputLine; } 
in.close(); // close input 
stream.System.out.println("Received: 
"+totLine);response.setContentType("text/html");response.setStatus(400);out.println("bla");-En 
de error:--java.io.FileNotFoundException:http://localhost:9000/groupsend/bla/receiveStrm.jsp 
atsun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown 
Source) at 
java.net.HttpURLConnection.getResponseCode(Unknown 
Source) at 
connect2Url.main(connect2Url.java:57)--Please some 
help,Ed Bras- Original Message -From: "Eddie" 
[EMAIL PROTECTED]To: "Orion-Interest" [EMAIL PROTECTED]Sent: Wednesday, November 14, 2001 9:10 AMSubject: HTTP 
response help please ? Hellu, Please some HTTP 
response help as it drives me grazy. I have a tiny java program 
(originaly it is part of the EJB but Iextrated it to a stand-alone 
program for testing) that opens a Url connection and sends something 
through a Stream. It then reads the response from theinput 
stream. The strange thing is that some a jsp, and asp give me an 
error whentrying to open the input stream when to get the respons. I 
am a bit confused and don't know the exact requirements of the receiving 
side to not receivethis respons error. When I make 
connection to an empty asp I don't have any error, but to anasp that 
has some code, I do get an error. When calling my servlets I 
don'tget any error. it looks like the called page should return 
something in aproper way otherwhise the receiving side doesn't 
understand it... or somethinglike that. Search a lot on the web. 
nothing :( Please some help on this. Here is the 
code snap, used trying to solve the problem : - 
public static void main(String[] args) { HttpURLConnection 
connection=null; DataOutputStream 
out=null; 
if (args.length!=1) 
{ 
System.out.println("To less input parameters 
detected"); 
System.exit(-1); 
} 
String url=args[0]; try { 
System.out.println("Trying to connect to "+url); URL 
urlCon = new URL(url); // open connection with remote 
server connection = (HttpURLConnection) 
urlCon.openConnection(); connection.setDoOutput(true); 
// indicate the we want to write output. 
connection.setDoInput (true); // indicate the we expect 
input. connection.setUseCaches (false); // no 
cache. String 
bla="SOMETHING"; 
connection.setRequestProperty("CONTENT_LENGTH", "" + 
sms.length()); out = new 
DataOutputStream(connection.getOutputStream()); 
System.out.println("Trying to send: "+bla); 
out.writeBytes (bla); out.flush 
(); out.close(); // free shared 
resources. // Getting 
response code/string from remote server. 
DataInputStream input; InputStream resStrm 
= connection.getInputStream (); // HERE IS WERE 
COMPLAINS. int res = connection.getResponseCode(); 
System.out.println("Return: "+res); input = new 
DataInputStream (resStrm); String str; 
while (null != ((str = input.readLine( 
System.out.println (str); 
- The error: 
-- java.io.FileNotFoundException: http://10.17.17.213/m2u/interfaces/g aap.asp at 
sun.net.www.protocol.http.HttpURLConnection.getInputStre 
am(Unknown Source) at 
java.net.HttpURLConnection.getResponseCode(Unknown Source) 
at connect2Url.main(connect2Url.java:49) 
--- The test jsp to receive it, that 
doesn't work:  System.out.println("Receiving 
something"); BufferedReader in = new 
BufferedReader(new 
InputStreamReader(request.getInputStream())); String 
inputLine = ""; String totLine = 
""; while ((inputLine = in.readLine()) != null) 
{ totLine = totLine + 
inputLine; } 
in.close(); // close input stream. 
System.out.println("Received: "+totLine); 
response.setContentType("text/html"); 
response.setStatus(200);  When 
I call an empty asp page it all goes well ... :( 
Regards, Ed Bras 



HTTP response help please ?

2001-11-14 Thread Eddie

Hellu,

Please some HTTP response help as it drives me grazy.
 I have a tiny java program (originaly it is part of the EJB but I extrated
it to a stand-alone program for testing) that opens a Url connection and
sends something through a Stream. It then reads the response from the input
stream.
 The strange thing is that some a jsp, and asp give me an error when trying
to open the input stream when to get the respons. I am a bit confused and
don't know the exact requirements of the receiving side to not receive this
respons error.
When I make connection to an empty asp I don't have any error, but to an asp
that has some code, I do get an error. When calling my servlets I don't get
any error. it looks like the called page should return something in a proper
way otherwhise the receiving side doesn't understand it... or something like
that. Search a lot on the web. nothing :(
Please some help on this.

 Here is the code snap, used trying to solve the problem :
-
public static void main(String[] args) {
HttpURLConnection connection=null;
  DataOutputStream out=null;

 if (args.length!=1) {
 System.out.println(To less input parameters detected);
 System.exit(-1);
  }
  String url=args[0];

 try {
  System.out.println(Trying to connect to +url);
   URL urlCon = new URL(url); // open connection with remote server
   connection = (HttpURLConnection) urlCon.openConnection();
   connection.setDoOutput(true); // indicate the we want to write output.
   connection.setDoInput (true); // indicate the we expect input.
   connection.setUseCaches (false); // no cache.

  String bla=SOMETHING;

   connection.setRequestProperty(CONTENT_LENGTH,  + sms.length());
   out = new DataOutputStream(connection.getOutputStream());
   System.out.println(Trying to send: +bla);
   out.writeBytes (bla);
   out.flush ();
   out.close(); // free shared resources.

   // Getting response code/string from remote server.

 DataInputStream input;
 InputStream resStrm = connection.getInputStream ();
 // HERE IS WERE
 COMPLAINS.
 int res = connection.getResponseCode();
 System.out.println(Return: +res);

 input = new DataInputStream (resStrm);
 String str;
   while (null != ((str = input.readLine(
System.out.println (str);

 -

 The error:
 --
 java.io.FileNotFoundException: http://10.17.17.213/m2u/interfaces/g
 aap.asp at sun.net.www.protocol.http.HttpURLConnection.getInputStre
 am(Unknown Source)  at java.net.HttpURLConnection.getResponseCode(Unknown
Source)
 at connect2Url.main(connect2Url.java:49)
 ---


 The test jsp to receive it, that doesn't work:

System.out.println(Receiving something);

  BufferedReader in = new BufferedReader(new
 InputStreamReader(request.getInputStream()));
  String inputLine = ;
  String totLine = ;

  while ((inputLine = in.readLine()) != null) {
totLine = totLine + inputLine;
   }
  in.close();   // close input stream.
System.out.println(Received: +totLine);

response.setContentType(text/html);
response.setStatus(200);
 

When I call an empty asp page it all goes well ... :(

Regards,
Ed Bras






EJB help for a beginner

2001-10-23 Thread Sujith Menon S



Hi Everybody,

 I am a beginner in Orion and am trying to 
deploy the example EJB.Follwoing the steps as given , I get the 
following error.

While running the CartClient and Product Client i get the 
follwoing error

Product Client
Exception in thread "main" java.lang.SecurityException: 
Invalid username/password for ejbsamples 
(admin) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._np(Unknown 
Source) at 
com.evermind._ce._np(Compiled 
Code) at 
com.evermind.server.rmi.RMIContext.lookup(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder._np(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder.getEJBHome(Unknown 
Source) at 
com.evermind._ck._ho(Compiled 
Code) at 
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(Compiled 
Code) at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) 
at 
javax.naming.InitialContext.init(InitialContext.java:226) 
at 
javax.naming.InitialContext.init(InitialContext.java:182) 
at ProductClient.main(ProductClient.java:18)



Cart Client
Exception in thread "main" java.lang.SecurityException: 
Invalid username/password for ejbsamples 
(admin) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._np(Unknown 
Source) at 
com.evermind._ce._np(Compiled 
Code) at 
com.evermind.server.rmi.RMIContext.lookup(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder._np(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder.getEJBHome(Unknown 
Source) at 
com.evermind._ck._ho(Compiled 
Code) at 
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(Compiled 
Code) at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) 
at 
javax.naming.InitialContext.init(InitialContext.java:226) 
at 
javax.naming.InitialContext.init(InitialContext.java:182) 
at CartClient.main(CartClient.java:17)
When i continue and restart the server i get the 
following. 
Auto-deploying product (No previous deployment found)... Error 
compiling C:\Sujith\Techy\Orion\orion\demo\ejb\product: No default 
cmt-datasource and no source specifiedAuto-deploying usermanager (No 
previous deployment found)... Error compiling 
C:\Sujith\Techy\Orion\orion\demo\ejb\usermanager: No default cmt-datasource 
and nosource specifiedError instantiating application 'ejbsamples' at 
file:/C:/Sujith/Techy/Orion/orion/demo/ejb/: Error initializing userManager 
'com.evermind.ejb.EJBUserManager': NamingException: com.evermind.ejb.EJBUser 
not foundWarning: Error reading transaction-log file 
(/C:/Sujith/Techy/Orion/orion/persistence/transaction.state) for recovery: 
premature end of fileForced or abrubt (crash etc) server shutdown detected, 
starting recovery process...Recovery completed, 0 connections committed 
and 0 rolled back...Orion/1.5.2 initialized

Wud be grateful if you cud help me.. 
 
Thanks in Advance,

Sujith


RE: Query help please ??

2001-10-09 Thread Owen Fellows



This 
might seem like a stupid suggestion but try changing the order you pass the 
parameters in so the number of records you are retrieving is first and the id is 
second.

If you 
look at the generated queryit uses P1 and P2 and if they standard for 
parameters they are the wrong way around.

Its 
worth a try.

Owen

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  EddieSent: 08 October 2001 19:53To: 
  Orion-InterestSubject: Query help please 
  ??Hellu,I have problems with a advanced finder, 
  in combination with the Ms SQLserver.I have a the following 
  finder: finder-method query="select top $2 
  * from sgssmsmo where acc_id=$1 orderby dattimrec desc" 
  partial="false" !-- Generated SQL: "select top ? 
  * from sgssmsmo where acc_id=? orderby dattimrec desc" 
  -- method 
  ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
  method-namefindByAcc_IdNext/method-name 
  method-params 
  method-paramint/method-param 
  method-paramint/method-param 
  /method-params /method 
  /finder-method-The SUN jdbc-odbc driver (I also 
  tried the i-net Opta driver) fires thefollowing query (see with the Ms 
  profiler):declare @P1 intset @P1=NULLexec 
  sp_prepexec @P1 output, N'@P1 int,@P2 int', 
  N'select top @P1 * fromsgssmsmo where acc_id=@P2 order by dattimrec desc', 0, 
  2select @P1---Which gives the following 
  error:- Nested 
  exception is:java.sql.SQLException: [Microsoft][ODBC SQL Server 
  Driver][SQL Server]Line 1: Incorrect syntax near '@P1'. 
  at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbc.standardError(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(UnknownSource) 
  ..-If I change the $2 argument in the finder to a 
  constant:--- finder-method query="select 
  top 5 * from sgssmsmo where acc_id=$2 orderby dattimrec desc" 
  partial="false" !-- Generated SQL: "select top 5 
  * from sgssmsmo where acc_id=? orderby dattimrec desc" 
  -- method 
  ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
  method-namefindByAcc_IdNext/method-name 
  method-params 
  method-paramint/method-param 
  method-paramint/method-param 
  /method-params /method 
  /finder-method--Everyting goes fine ?!!!, 
  that is, the driver fires the following query:-declare @P1 
  intset @P1=1exec sp_prepexec @P1 output, N'@P1 int', N'select top 5 * from sgssmsmowhere acc_id=@P1 order by dattimrec desc', 0select 
  @P1-Any idea what it is ??? (I am not such a Ms 
  SQL server expert yet ...)I print the input argument and they aren't zero 
  or null: public Collection 
  findByAcc_IdNext(int acc_Id, int num) throwsRemoteException, 
  FinderException;BTW: I use Orion 1.5.1 and are parsing it all so 
  that it can be used on theMs SQL database, whereas it worked on the 
  Postgres database.Why isn't Orion/the JDBC driver just firing the 
  generated query that I seein the orion-ejb.jar file ???.What am I 
  missing here :(Eddie


Re: Query help please ??

2001-10-09 Thread Eddie



Hellu,

I solved it. Appearantly you can't give an argument 
to the top command of Ms SQL. I solved ti through SET ROWCOUNT.

Eddie

  - Original Message - 
  From: 
  Eddie 
  
  To: Orion-Interest 
  Sent: Monday, October 08, 2001 8:52 
  PM
  Subject: Query help please ??
  Hellu,I have problems with a advanced finder, in 
  combination with the Ms SQLserver.I have a the following 
  finder: finder-method query="select top $2 
  * from sgssmsmo where acc_id=$1 orderby dattimrec desc" 
  partial="false" !-- Generated SQL: "select top ? 
  * from sgssmsmo where acc_id=? orderby dattimrec desc" 
  -- method 
  ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
  method-namefindByAcc_IdNext/method-name 
  method-params 
  method-paramint/method-param 
  method-paramint/method-param 
  /method-params /method 
  /finder-method-The SUN jdbc-odbc driver (I also 
  tried the i-net Opta driver) fires thefollowing query (see with the Ms 
  profiler):declare @P1 intset @P1=NULLexec 
  sp_prepexec @P1 output, N'@P1 int,@P2 int', 
  N'select top @P1 * fromsgssmsmo where acc_id=@P2 order by dattimrec desc', 0, 
  2select @P1---Which gives the following 
  error:- Nested 
  exception is:java.sql.SQLException: [Microsoft][ODBC SQL Server 
  Driver][SQL Server]Line 1: Incorrect syntax near '@P1'. 
  at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbc.standardError(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown 
  Source) at 
  sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(UnknownSource) 
  ..-If I change the $2 argument in the finder to a 
  constant:--- finder-method query="select 
  top 5 * from sgssmsmo where acc_id=$2 orderby dattimrec desc" 
  partial="false" !-- Generated SQL: "select top 5 
  * from sgssmsmo where acc_id=? orderby dattimrec desc" 
  -- method 
  ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
  method-namefindByAcc_IdNext/method-name 
  method-params 
  method-paramint/method-param 
  method-paramint/method-param 
  /method-params /method 
  /finder-method--Everyting goes fine ?!!!, 
  that is, the driver fires the following query:-declare @P1 
  intset @P1=1exec sp_prepexec @P1 output, N'@P1 int', N'select top 5 * from sgssmsmowhere acc_id=@P1 order by dattimrec desc', 0select 
  @P1-Any idea what it is ??? (I am not such a Ms 
  SQL server expert yet ...)I print the input argument and they aren't zero 
  or null: public Collection 
  findByAcc_IdNext(int acc_Id, int num) throwsRemoteException, 
  FinderException;BTW: I use Orion 1.5.1 and are parsing it all so 
  that it can be used on theMs SQL database, whereas it worked on the 
  Postgres database.Why isn't Orion/the JDBC driver just firing the 
  generated query that I seein the orion-ejb.jar file ???.What am I 
  missing here :(Eddie


Query help please ??

2001-10-08 Thread Ed Bras

Hellu,

I have problems with a advanced finder, in combination with the Ms SQL
server.

I have a the following finder:

   finder-method query=select top $2 * from sgssmsmo where acc_id=$1 order
by dattimrec desc partial=false
!-- Generated SQL: select top ? * from sgssmsmo where acc_id=? order
by dattimrec desc --
method
 ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name
 method-namefindByAcc_IdNext/method-name
 method-params
  method-paramint/method-param
  method-paramint/method-param
 /method-params
/method
   /finder-method
-

The SUN jdbc-odbc driver (I also tried the i-net Opta driver) fires the
following query (see with the Ms profiler):

declare @P1 int
set @P1=NULL
exec sp_prepexec @P1 output, N'@P1 int,@P2 int', N'select top @P1 * from
sgssmsmo where acc_id=@P2 order by dattimrec desc', 0, 2
select @P1
---

Which gives the following error:
-
Nested exception is:
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Serv
er]Line 1: Incorrect syntax near '@P1'.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(UnknownSource)
  ..
-

If I change the $2 argument in the finder to a constant:
---
   finder-method query=select top 5 * from sgssmsmo where acc_id=$2 order
by dattimrec desc partial=false
!-- Generated SQL: select top 5 * from sgssmsmo where acc_id=? order
by dattimrec desc --
method
 ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name
 method-namefindByAcc_IdNext/method-name
 method-params
  method-paramint/method-param
  method-paramint/method-param
 /method-params
/method
   /finder-method
--


Everyting goes fine ?!!!, that is, the driver fires the following query:
-
declare @P1 int
set @P1=1
exec sp_prepexec @P1 output, N'@P1 int', N'select top 5 * from sgssmsmo
where acc_id=@P1 order by dattimrec desc', 0
select @P1
-


Any idea what it is ??? (I am not such a Ms SQL server expert yet ...)
I print the input argument and they aren't zero or null:

 public Collection findByAcc_IdNext(int acc_Id, int num) throws
RemoteException, FinderException;

BTW: I use Orion 1.5.1 and are parsing it all so that it can be used on the
Ms SQL database, whereas it worked on the Postgres database.
Why isn't Orion/the JDBC driver just firing the generated query that I see
in the orion-ejb.jar file ???.

What am I missing here :(
Eddie





Query help please ??

2001-10-08 Thread Eddie


Hellu,I have problems with a advanced finder, in 
combination with the Ms SQLserver.I have a the following 
finder: finder-method query="select top $2 * 
from sgssmsmo where acc_id=$1 orderby dattimrec desc" 
partial="false" !-- Generated SQL: "select top ? * 
from sgssmsmo where acc_id=? orderby dattimrec desc" 
-- method 
ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
method-namefindByAcc_IdNext/method-name 
method-params 
method-paramint/method-param 
method-paramint/method-param 
/method-params /method 
/finder-method-The SUN jdbc-odbc driver (I also 
tried the i-net Opta driver) fires thefollowing query (see with the Ms 
profiler):declare @P1 intset @P1=NULLexec 
sp_prepexec @P1 output, N'@P1 int,@P2 int', N'select 
top @P1 * fromsgssmsmo where acc_id=@P2 
order by dattimrec desc', 0, 2select @P1---Which gives 
the following 
error:- Nested 
exception is:java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL 
Server]Line 1: Incorrect syntax near '@P1'. at 
sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown 
Source) at 
sun.jdbc.odbc.JdbcOdbc.standardError(Unknown 
Source) at 
sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown 
Source) at 
sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(UnknownSource) 
..-If I change the $2 argument in the finder to a 
constant:--- finder-method query="select top 
5 * from sgssmsmo where acc_id=$2 orderby dattimrec desc" 
partial="false" !-- Generated SQL: "select top 5 * 
from sgssmsmo where acc_id=? orderby dattimrec desc" 
-- method 
ejb-namenl.unwired.sgs.sms.SmsMo/ejb-name 
method-namefindByAcc_IdNext/method-name 
method-params 
method-paramint/method-param 
method-paramint/method-param 
/method-params /method 
/finder-method--Everyting goes fine ?!!!, 
that is, the driver fires the following query:-declare @P1 
intset @P1=1exec sp_prepexec @P1 output, N'@P1 int', N'select top 5 * from sgssmsmowhere acc_id=@P1 order by dattimrec desc', 0select 
@P1-Any idea what it is ??? (I am not such a Ms SQL 
server expert yet ...)I print the input argument and they aren't zero or 
null: public Collection findByAcc_IdNext(int 
acc_Id, int num) throwsRemoteException, FinderException;BTW: I 
use Orion 1.5.1 and are parsing it all so that it can be used on theMs SQL 
database, whereas it worked on the Postgres database.Why isn't Orion/the 
JDBC driver just firing the generated query that I seein the orion-ejb.jar 
file ???.What am I missing here :(Eddie


RE: Help with HTTP Internal Server Error

2001-10-05 Thread Knutsen Aslak

Hi

If your using Internet Explorer you might want to turn Friendly Error
Messages off.
I found this a couple a days ago(on this list). It seems that IE wraps more
or less every server error into the standard useless 500 InternalServer
error. Disabling Friend Error Messages should, in most cases, give you the
error message the server is sending, and not the one from ie.

Tools - Internet Options - Advanced - Browsing - Show friendly HTTP
error messages


Aslak Knutsen
EDB Teamco Dialog

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 4. oktober 2001 16:09
To: Orion-Interest
Subject: Help with HTTP Internal Server Error





Hi

I'm getting a HTTP 500 Internal Server error when I try to access one of my
JSP
pages.

The following is written to the web-access.log file, but no other errors are
reported anywhere.

GET /budgeting/Test?event=accountSummaryaccType=SAVNG HTTP/1.1 500 482

Does the 482 at the end mean something or is there anywhere else where I
could
get more information about the error.

Just to make things interesting, the page works fine if I run it through
Tomcat.

Thanks

Derek Hardy







E-mail communication is not secure and may be intercepted by a third party.
This 
message is confidential to the intended addressee. If you are not the
intended 
addressee, please inform us immediately and then delete this message. Virgin

Direct does not accept responsibility for changes made to this message after
it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure 
that it is virus free and Virgin Direct does not accept any responsibility
for any loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and

represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank
of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 








RE: Help with HTTP Internal Server Error

2001-10-04 Thread Alex Paransky

Disable IE's friendly error messages, then you should see a stack trace...

-AP_

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 7:09 AM
To: Orion-Interest
Subject: Help with HTTP Internal Server Error





Hi

I'm getting a HTTP 500 Internal Server error when I try to access one of my
JSP
pages.

The following is written to the web-access.log file, but no other errors are
reported anywhere.

GET /budgeting/Test?event=accountSummaryaccType=SAVNG HTTP/1.1 500 482

Does the 482 at the end mean something or is there anywhere else where I
could
get more information about the error.

Just to make things interesting, the page works fine if I run it through
Tomcat.

Thanks

Derek Hardy







E-mail communication is not secure and may be intercepted by a third party.
This
message is confidential to the intended addressee. If you are not the
intended
addressee, please inform us immediately and then delete this message. Virgin
Direct does not accept responsibility for changes made to this message after
it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure
that it is virus free and Virgin Direct does not accept any responsibility
for any loss
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal
Investment Authority for life insurance, pension and unit trust business and
represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd.
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK.
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank
of
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored.









Database connection config ???-- HELP

2001-10-01 Thread Ed Bras

Hellu,

I am setting up a pooled database connection, but I am completely confused
what should, and how, configured.
I went through the mailing list, and got more configured still, as I think
that many people are confused about this subject.

I am using the i-net opta driver which supports db pooling.
I have the following questions concerning the configuration in the
datasource.xml:
- If I understand the little documentation on this subject, I noticed that
you can let Orion emulate a connection pool, or let the driver offers this
functionality. In my case the driver supports the functionality. But what do
I put in the datsource.xml such that Orion knows that the driver handles the
connection pooling and that Orion doesn't do this job ???
-  What is the difference, and which should I use, between ?:
+ com.evermind.sql.DriverManagerDataSource ( I think I should use this one,
when reading the Orion API)
+ com.evermind.sql.ConnectionDataSource (Can't find this one in the Orion
API).
+ com.evermind.sql.OrionPooledDataSource (does Orion emulate database
connection through this class ).
+ There are more, but I think that I understand this difference I know the
rest as well.
- I noticed a configuration in the mailing list for the Opta driver ,
whereby there was one datasource of type DriverManagerDataSource and one
of type OrionPooledDataSource, whereby the latter one had the first one as
source-location
(http://www.mail-archive.com/orion-interest@orionserver.com/msg09179.html).
I don't understand this configuration, and neiter does it work when I tested
it. If someone understands this configuration, please give me some clearness
on this issue ?
- What is the difference between, and which should I use (the Orion
documentation datasource.xml isn't clear on this issue) ?
+  ejb-location=jdbc/SQLServerDS
+ pooled-location=jdbc/SybasePDS (when do you use this one ??)

It's a lon story above, but hope that someone can clear some things.
I now have the datasource configuration as listed below, which works,
but I like to know what it does and that it is the correct way to do
this .annnddd. (I hate it when I don't know what's happening ) :(

I hope that Magnus also included a guide on how to set up a (poold) database
connection !?

Eddie


data-source
   class=com.evermind.sql.DriverManagerDataSource
   name=SQLServer
   location=jdbc/SQLServerDS
   xa-location=jdbc/xa/SQLServerXADS
   ejb-location=jdbc/SQLServerDS
  pooled-location=jdbc/SybasePDS
   connection-driver=com.inet.tds.TdsDriver
   url=jdbc:inetdae:localhost
   inactivity-timeout=30
   schema=database-schemas\ms-sql.xml
   username=login
   password=password
  min-connections=2
   max-connections=5
   max-connect-attempts=2
   wait-timeout=0
   connection-retry-interval=3
/








Newbie classpath problem - please help

2001-09-27 Thread Derek_Hardy




I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp %CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks







E-mail communication is not secure and may be intercepted by a third party. This 
message is confidential to the intended addressee. If you are not the intended 
addressee, please inform us immediately and then delete this message. Virgin 
Direct does not accept responsibility for changes made to this message after it
was sent. Although Virgin Direct believes this e-mail is free of any virus or other
defect which may affect a computer, it is the responsibility of the recipient to 
ensure 
that it is virus free and Virgin Direct does not accept any responsibility for any 
loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and 
represents only the Virgin Direct marketing group. Registered office: Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 







RE: Newbie classpath problem - please help

2001-09-27 Thread SAURUGGER,PETER (A-PaloAlto,ex2)

-cp does not work in conjunction with -jar. The jar file gets its class path
from the manifest file. 

You can drop jars into the the implicit classpath at your jre/lib/ext. I
have not tried it, but Orions classloader may pick up jars in the Orion
directory. 

For your applications, you can specify a lib directory in application.xml
library path=.../; for web applications WEB-INF/lib will do.

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 2:48 AM
To: Orion-Interest
Subject: Newbie classpath problem - please help





I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label
syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks








E-mail communication is not secure and may be intercepted by a third party.
This 
message is confidential to the intended addressee. If you are not the
intended 
addressee, please inform us immediately and then delete this message. Virgin

Direct does not accept responsibility for changes made to this message after
it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure 
that it is virus free and Virgin Direct does not accept any responsibility
for any loss 
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal 
Investment Authority for life insurance, pension and unit trust business and

represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No. 3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank 
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd. 
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK. 
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal Bank
of 
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored. 








Re: Newbie classpath problem - please help

2001-09-27 Thread Joe Sackett

Derek,

In server.xml
Use:
  library path=c:\java\jdk1.3.1\lib\tools.jar/
to include shared jars in Orion's environment.
You can also deploy classes as J2EE applications:
  application name=TestApp path=d:\Projects\Test\TestApp.ear/

- Joe

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Thursday, September 27, 2001 10:32 AM
Subject: Newbie classpath problem - please help





I've installed Orion 1.5.2 on my Windows NT4 development machine.

I have a system classpath that points to lots of standard classes, for
utilities, etc.

If I start Orion with the command java -jar orion.jar then it doesn't
pick
anything up from the classpath,
if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
orion.jar then I get a java.util.zip.ZipException error
with the following message The filename, directory name, or volume label
syntax
is incorrect

Do I need to set the classpath elsewhere?

Thanks





***
*

E-mail communication is not secure and may be intercepted by a third party.
This
message is confidential to the intended addressee. If you are not the
intended
addressee, please inform us immediately and then delete this message.
Virgin
Direct does not accept responsibility for changes made to this message
after it
was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
defect which may affect a computer, it is the responsibility of the
recipient to ensure
that it is virus free and Virgin Direct does not accept any responsibility
for any loss
or damage arising in any way from it's use.

Virgin Direct Personal Financial Service Ltd is regulated by the Personal
Investment Authority for life insurance, pension and unit trust business
and
represents only the Virgin Direct marketing group. Registered office:
Discovery
House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No.
3072766.

The Virgin One account is a secured personal bank account with The Royal
Bank
of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd which
is
a representative only of Virgin Direct Personal Financial Service Ltd.
Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH, UK.
Registered in England no 3414708.

The Virgin Deposit Account is a personal deposit account with The Royal
Bank of
Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

All telephone calls are recorded and may be monitored.


***
*






Re: Newbie classpath problem - please help

2001-09-27 Thread Dmitriy Serebryakov

check doc on orion-web.xml

DS
- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, September 27, 2001 5:47 AM
Subject: Newbie classpath problem - please help





 I've installed Orion 1.5.2 on my Windows NT4 development machine.

 I have a system classpath that points to lots of standard classes, for
 utilities, etc.

 If I start Orion with the command java -jar orion.jar then it doesn't
pick
 anything up from the classpath,
 if on the otherhand I start Orion with the command java -jar -cp
%CLASSPATH%
 orion.jar then I get a java.util.zip.ZipException error
 with the following message The filename, directory name, or volume label
syntax
 is incorrect

 Do I need to set the classpath elsewhere?

 Thanks









 E-mail communication is not secure and may be intercepted by a third
party. This
 message is confidential to the intended addressee. If you are not the
intended
 addressee, please inform us immediately and then delete this message.
Virgin
 Direct does not accept responsibility for changes made to this message
after it
 was sent. Although Virgin Direct believes this e-mail is free of any virus
or other
 defect which may affect a computer, it is the responsibility of the
recipient to ensure
 that it is virus free and Virgin Direct does not accept any responsibility
for any loss
 or damage arising in any way from it's use.

 Virgin Direct Personal Financial Service Ltd is regulated by the Personal
 Investment Authority for life insurance, pension and unit trust business
and
 represents only the Virgin Direct marketing group. Registered office:
Discovery
 House, Whiting Road, Norwich NR4 6EJ, UK. Registered in England No.
3072766.

 The Virgin One account is a secured personal bank account with The Royal
Bank
 of Scotland plc. It is provided by Virgin Direct Personal Finance Ltd
which is
 a representative only of Virgin Direct Personal Financial Service Ltd.
 Registered office: Waterhouse Square, 138-142 Holborn, London EC1N 2TH,
UK.
 Registered in England no 3414708.

 The Virgin Deposit Account is a personal deposit account with The Royal
Bank of
 Scotland plc administered by Virgin Direct Personal Financial Service Ltd.

 All telephone calls are recorded and may be monitored.












Newbie needs some help

2001-09-25 Thread Peter Åslund

Hi Group,

I am new to Orionserver and EJB in general so I hope I can get some tips
from you guys and girls out there! :)

I tried out the hello-planet example at Orion Primer and that worked okay. 
Then I wanted to try an example with a EJB, Servlet and a simple html page
from one of the tutorials from sun. (It is the calculator example if anyone
done it)

I built it with ant and veything compiles. It seems to deploy halfway as I
don't get any problem until I want to call the html page of my app. Then is
find the servlet which of course gives me nullpointer as I haven't given it
some values to work with.

1. Where to put the html file?
2. How to configure orion to find my html page? (which xml-file)


Would very much appreciate any hints as I can't seem to find it either on
Orion Primer or on orionserver.com


Thanx in advance!

.peter




please help me !!!! orion server crashed

2001-09-21 Thread Liang, Hua

Greetings, all,

i am running. orion 1.5.2 on sun's jre 1.3.1. Recently orion is frequently 
being crashed after ruuning gor a few days; and sometimes even worse, after
i restart
orion, it is down immediately. The global-application log file s shows tons
of exception for
IOException , NullPionterException and SQLException. 
Could anyone tell me how orion handle exceptions; and under what conditions,
orion would be forced to shut down? 
Could  memory leak cause orion down? Our server' OS is windows NT 4.0.

your suggestion and help is highly appreciated!

hua







HELP !!! SECURITY

2001-09-21 Thread David Bonilla



Ok... I have understand all about security 
but know, how and where can I activate a option to use a Orion-Based console or 
something else to control de User Name and Password ?
__David 
Bonilla FuertesTHE BIT BANG NETWORKhttp://www.bit-bang.comProfesor Waksman, 
8, 6 B28036 MadridSPAINTel.: (+34) 914 577 747Mvil: 656 62 83 
92Fax: (+34) 914 586 
176__


RE: HELP !!! SECURITY

2001-09-21 Thread The elephantwalker



David,

The 
orionconsole application allows you to add and remove users, but it is VERY 
buggy, and not supported by IronFlare:

java 
-jar orionconsole.jar

Most 
of us write a admin web module to administer user's.

Here 
are the relavent API's:

1. 
roleManager: This class can be instanced by using the following jndi 
lookup:

RoleManager manager = (RoleManager)new 
InitialContext().lookup("java:comp/RoleManager"); 

It has 
things like addToRole, login, getPrincipal, and removePrincipal. This api is the 
class you should use to interact with a second api, usermanager. Check out the 
api here http://www.orionserver.com/docs/api/index.html.

2. 
UserManager: There are three of these builtin,

- XMLUserManager. This one is used by the 
container for the global application, and users, and role/group mapping is 
stored in the principals.xml file of the orion/config directory. Since it is 
usually the parent of all other usermanagers, the principals.xml file should be 
included in each ear/META-INF directory with its own 
usersecurity.

 - DataSourceUserManager. This usermanager uses a database 
to store user information, groups, etc.

 - EJBUserManager. This usermanager uses an ejb to store 
user information, groups, etc.

You 
can write your own user manager to interface with LDAP or any other security 
datastore. A good example is in http://www.orionsupport.com/articles/usermanager.html(orhttp://uk.orionsupport.com/articles/usermanager.html 
mirror).

These 
security api's are specific to Orion, since there is no specification for how 
containers impement user security in j2ee. 

If you 
want to use user security, www.jollem.com 
has a draft tutorial on user security which talks about the specifics of 
configuring security for an application in orion.

regards,

the 
elephantwalker
www.elephantwalker.com




  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of David 
  BonillaSent: Friday, September 21, 2001 8:23 AMTo: 
  Orion-InterestSubject: HELP !!! SECURITY
  Ok... I have understand all about 
  security but know, how and where can I activate a option to use a Orion-Based 
  console or something else to control de User Name and Password ?
  __David 
  Bonilla FuertesTHE BIT BANG NETWORKhttp://www.bit-bang.comProfesor 
  Waksman, 8, 6º B28036 MadridSPAINTel.: (+34) 914 577 747Móvil: 
  656 62 83 92Fax: (+34) 914 586 
  176__


RE: HELP !!! SECURITY

2001-09-21 Thread Juan Lorandi (Chile)



lo 
que?

the 
orionconsole is run with:

$orion# java -jar orionconsole.jar

HTH, 


JP

PS: 
mail me (in Spanish if you like) if that's not what you're looking for. An 
extended explanation would be appreciated

  -Original Message-From: David Bonilla 
  [mailto:[EMAIL PROTECTED]]Sent: Viernes, 21 de Septiembre de 2001 
  11:23To: Orion-InterestSubject: HELP !!! 
  SECURITY
  Ok... I have understand all about 
  security but know, how and where can I activate a option to use a Orion-Based 
  console or something else to control de User Name and Password ?
  __David 
  Bonilla FuertesTHE BIT BANG NETWORKhttp://www.bit-bang.comProfesor 
  Waksman, 8, 6 B28036 MadridSPAINTel.: (+34) 914 577 747Mvil: 
  656 62 83 92Fax: (+34) 914 586 
  176__


RE: Help me

2001-09-20 Thread John . Miller



Did 
youcopy tools.jar (from your jdk) into your Orion 
directory?

  -Original Message-From: nguyen dinh uong 
  [mailto:[EMAIL PROTECTED]]Sent: 20 September 2001 
  12:28To: Orion-InterestSubject: Help 
  me
  I have to meet some error when I deploy /demo/ejb I hope You can help 
  me First error .This is appear when I use java -jar orion.jar 
  /*Auto-deploying product (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a librarypath="the/path/to/tools.jar" / and 
  restartAuto-deploying cart (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a library path="the/path/to/tools.jar" / and 
  restartAuto-deploying usermanager (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating 
  compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib 
  dir to the orion dir or add a library path="the/path/to/tools.jar" 
  / and restartAuto-deploying product... Error instantiating application 
  'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying 
  application-client at product: No location specified and no suitable 
  instance of the type 'Product' found for the ejb-ref 
  MyProductOrion/1.4.5 initialized*/Second error .when I use command 
  java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. 
  CartClient/*Exception in thread "main" java.lang.SecurityException: 
  Invalid username/password for ejbsamples 
  (admin) at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.f4(JAX) 
  at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled 
  Code) at 
  com.evermind.server.rmi.RMIContext.lookup(JAX) 
  at 
  com.evermind.server.administration.LazyResourceFinder.f4(JAX) 
  at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
   at 
  com.evermind.server.Application.aq8(JAX, Compiled 
  Code) at 
  com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, 
  Compiled Code) at 
  javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) 
  at 
  javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:218) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:174) 
  at CartClient.main(CartClient.java:17)
  */I don't know I'll have to continune how Thank you very much 
  Uo^ng Dinh Nguyen 
  - 
  Get your private, free Email by Vietnamese at http://vol.vnn.vn 



Re: Help me

2001-09-20 Thread muthukumarasamy rajamanickam

Please read the error it’s having all the solution to
fix your problem

--- nguyen dinh uong [EMAIL PROTECTED] wrote:

HR
PI have to meet some error when I deploy /demo/ejb
BRI hope You can help me BRFirst
error .This is appear when I use BRjava -jar
orion.jar BR/*BRAuto-deploying product
(No previous deployment found)... Error compiling
file:/CBR:/orion/demo/ejb/product/:
Error instantiating compiler: Javac not installed,
coBRpy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a
lt;libraryBRpath=the/path/to/tools.jar /gt;
and restartBRAuto-deploying cart (No previous
deployment found)... Error compiling
file:/C:/oBRrion/demo/ejb/cart/: Error instantiating
compiler: Javac not installed, copy
tooBRls.jar from your sun JDK dir's lib dir to the
orion dir or add a lt;library
path=BRthe/path/to/tools.jar /gt; and
restartBRAuto-deploying usermanager (No
previous deployment found)... Error compiling
filBRe:/C:/orion/demo/ejb/usermanager/:
Error instantiating compiler: Javac not instaBRlled,
copy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a
lt;BRlibrary path=the/path/to/tools.jar /gt;
and restartBRAuto-deploying product... Error
instantiating application 'ejbsamples' at
file:/BRC:/orion/demo/ejb/: Error auto-deploying
application-client at product: No
locatBRion specified and no suitable instance of the
type 'Product' found for the
ejb-rBRef MyProductBROrion/1.4.5
initializedBR*/BRSecond error .when I use command
BRjava -classpath
../../../orion.jar;../../../ejb.jar;../../../jndi.jar;.
CartClientBR/*BRException in thread main
java.lang.SecurityException: Invalid
username/password for ejbsamples
(admin)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.gl(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.gl(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.ba.f4(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.rmi.RMIServer.f4(JAX, Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.rmi.RMIContext.lookup(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.administration.LazyResourceFinder.f4(JAX)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)/P
Pnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.Application.aq8(JAX,
Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialBRContext(JAX,
Compiled
Code)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6BR71)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242BR)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.init(InitialContext.java:218)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at
javax.naming.InitialContext.lt;initgt;(InitialContext.java:174)BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
at CartClient.main(CartClient.java:17)/P
P*/BRI don't know I'll have to continune how
BRThank you very much BRUo^ng Dinh
Nguyen /P

-

Get your private, free Email by Vietnamese at
http://vol.vnn.vn





Regards
Muthu Rajamanickam
e-mail:[EMAIL PROTECTED]
Phone:832-567-7859

__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/




RE: Help me

2001-09-20 Thread Kesav Kumar



For 
error 1) You have to copy tools.jar to c:\orion directory
For 
error 2) You have to provide jndi.properties for accessing client. You 
have to provide username/password for JNDI lookup.

Kesav Kumar Kolla Voquette Inc 650 356 3740(W) 
510 889 6840(R) VoquetteDelivering Sound Information 
Send Instant 
Message 

  -Original Message-From: nguyen dinh uong 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 20, 2001 4:28 
  AMTo: Orion-InterestSubject: Help 
me
  I have to meet some error when I deploy /demo/ejb I hope You can help 
  me First error .This is appear when I use java -jar orion.jar 
  /*Auto-deploying product (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a librarypath="the/path/to/tools.jar" / and 
  restartAuto-deploying cart (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a library path="the/path/to/tools.jar" / and 
  restartAuto-deploying usermanager (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating 
  compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib 
  dir to the orion dir or add a library path="the/path/to/tools.jar" 
  / and restartAuto-deploying product... Error instantiating application 
  'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying 
  application-client at product: No location specified and no suitable 
  instance of the type 'Product' found for the ejb-ref 
  MyProductOrion/1.4.5 initialized*/Second error .when I use command 
  java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. 
  CartClient/*Exception in thread "main" java.lang.SecurityException: 
  Invalid username/password for ejbsamples 
  (admin) at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.f4(JAX) 
  at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled 
  Code) at 
  com.evermind.server.rmi.RMIContext.lookup(JAX) 
  at 
  com.evermind.server.administration.LazyResourceFinder.f4(JAX) 
  at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
   at 
  com.evermind.server.Application.aq8(JAX, Compiled 
  Code) at 
  com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, 
  Compiled Code) at 
  javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) 
  at 
  javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:218) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:174) 
  at CartClient.main(CartClient.java:17)
  */I don't know I'll have to continune how Thank you very much 
  Uo^ng Dinh Nguyen 
  - 
  Get your private, free Email by Vietnamese at http://vol.vnn.vn 



Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Dan Lee

Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed 
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. 
I've also tried previous posted suggestions of modifying the shell 
$CLASSPATH variable and the library path located in the application.xml 
file. I have no problems on my Intel Win 2000 platform running Java 2 
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC 
platform running: Java(TM) 2 Runtime Environment, Standard Edition 
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1 
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the 
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore': 
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle 
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR 
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
Source)
   at 
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297) 

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at 
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at 
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84) 

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact 
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib 
directory...but this is a hack would like to know why it won't pick up 
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan









RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Mike Fontenot

We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan











RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan












RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Mike Fontenot

Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan














AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Regele, Manfred

Ups,

I had a similar problem with tomcat 4. I renamed classes.zip into
classes.jar.
Its the first time I read this with orion, though.

Manfred Regele 
ADIG Investment GmbH
22 MethodenTools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:[EMAIL PROTECTED]
http://www.adig.de

 -Ursprüngliche Nachricht-
 Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Mittwoch, 19. September 2001 18:44
 An:   Orion-Interest
 Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
 Hi All,
 
 I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed 
 my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it. 
 I've also tried previous posted suggestions of modifying the shell 
 $CLASSPATH variable and the library path located in the application.xml 
 file. I have no problems on my Intel Win 2000 platform running Java 2 
 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC 
 platform running: Java(TM) 2 Runtime Environment, Standard Edition 
 (build 1.3.1.01-release-010816-12:37)
 Java HotSpot(TM) Server VM (build 1.3.1 
 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
 I'm also using the same classes12.zip on both machines. I get the 
 following error upon server startup:
 
Error initializing data-source 'jdbc/OracleDSCore': 
 DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
 Upon a login attempt to my app, which tries to use the Oracle 
 Datasource, I get the following:
2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR 
 java.lang.Class - SQL Exception during getting userinfo
 java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
 Source)
at 
 com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
 7) 
 
at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
at 
 com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
at 
 __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
 4) 
 
at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
 Database error, Please try again. br If problem persist please contact 
 administrator.
 
 Everything works OK if I unzip the JDBC drivers into the /lib 
 directory...but this is a hack would like to know why it won't pick up 
 my ZIP file. It works with other JARs I put inarghhg!
 
 Any help is MUCH appreciated.
 --Dan
 
 
 
 
 




RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread The elephantwalker

got it...you need to be in the orion directory, the lib directory is pointed
to by a relative directory, so its looking at your starting directory/lib
instead of orion/lib.

I always navigate to the orion directory to start it... 'cause it always
works.

That could be it.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 11:41 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Using:

java -server -Xincgc -Xms70m -Xmx128m -jar ./orion.jar -out ./orion.log

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of The
elephantwalker
Sent: Wednesday, September 19, 2001 11:56 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


How do you start orion?

should be

java -jar orion.jar

anything else may defeat the orion.jar class loader, which actually loads
the *.jar and *.zip from the orion/lib directory.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike Fontenot
Sent: Wednesday, September 19, 2001 10:34 AM
To: Orion-Interest
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
recognized on Win2K and solaris. We never figured out why this is the case.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
Sent: Wednesday, September 19, 2001 10:44 AM
To: Orion-Interest
Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


Hi All,

I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
I've also tried previous posted suggestions of modifying the shell
$CLASSPATH variable and the library path located in the application.xml
file. I have no problems on my Intel Win 2000 platform running Java 2
SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
platform running: Java(TM) 2 Runtime Environment, Standard Edition
(build 1.3.1.01-release-010816-12:37)
Java HotSpot(TM) Server VM (build 1.3.1
1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

I'm also using the same classes12.zip on both machines. I get the
following error upon server startup:

   Error initializing data-source 'jdbc/OracleDSCore':
DriverManagerDataSource driver 'oracle.jdbc.driverd.'

Upon a login attempt to my app, which tries to use the Oracle
Datasource, I get the following:
   2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
java.lang.Class - SQL Exception during getting userinfo
java.sql.SQLException: No suitable driver
   at java.sql.DriverManager.getConnection(DriverManager.java:537)
   at java.sql.DriverManager.getConnection(DriverManager.java:177)
   at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source)
   at
com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

   at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
   at
com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
   at
__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

   at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
   at com.evermind._ah._rad(Unknown Source)
   at com.evermind.server.http.JSPServlet.service(Unknown Source)
   at com.evermind._cxb._abe(Unknown Source)
   at com.evermind._cxb._uec(Unknown Source)
   at com.evermind._io._twc(Unknown Source)
   at com.evermind._io._gc(Unknown Source)
   at com.evermind._if.run(Unknown Source)
Database error, Please try again. br If problem persist please contact
administrator.

Everything works OK if I unzip the JDBC drivers into the /lib
directory...but this is a hack would like to know why it won't pick up
my ZIP file. It works with other JARs I put inarghhg!

Any help is MUCH appreciated.
--Dan
















Re: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Michael J. Cannon

It's because of the search functions detailed here:
http://java.sun.com/j2se/1.3/docs/tooldocs/findingclasses.html

This was supposed to be deprecated in the various J2EE implementations and
in the v.1.3 JDK, but it wasn't.  Not Sun's fault, not Java's and certainly
not Orion's or Oracle's.

Keep in mind that all these folks are businesses, the J2EE initial
implementation spec only became real and approved on the 4th of this month,
and that everybody has 'optimized' the code.  Also, keep in mind that with
Oracle, you're dealing with (in the out-of-the-box implementation) a
JSP/Servlet server that still hasn't been patched to be secure, a Web server
that is in the same boat, and they deprecated all the additional
functionality they could have gotten by just fully implementing Orion,
without Apache/Tomcat.

Michael J. Cannon
hsqldb.org, Incorporated
PM/COO
- Original Message -
From: Mike Fontenot [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 12:33 PM
Subject: RE: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


 We had to put the Oracle jar/zip file into the JRE/lib/ext directory to be
 recognized on Win2K and solaris. We never figured out why this is the
case.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Lee
 Sent: Wednesday, September 19, 2001 10:44 AM
 To: Orion-Interest
 Subject: Stupid CLASSPATH and Oracle JDBC drivers. Need help!


 Hi All,

 I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
 my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
 I've also tried previous posted suggestions of modifying the shell
 $CLASSPATH variable and the library path located in the application.xml
 file. I have no problems on my Intel Win 2000 platform running Java 2
 SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
 platform running: Java(TM) 2 Runtime Environment, Standard Edition
 (build 1.3.1.01-release-010816-12:37)
 Java HotSpot(TM) Server VM (build 1.3.1
 1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).

 I'm also using the same classes12.zip on both machines. I get the
 following error upon server startup:

Error initializing data-source 'jdbc/OracleDSCore':
 DriverManagerDataSource driver 'oracle.jdbc.driverd.'

 Upon a login attempt to my app, which tries to use the Oracle
 Datasource, I get the following:
2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
 java.lang.Class - SQL Exception during getting userinfo
 java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
 Source)
at

com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:297)

at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
at
 com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
at

__jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:84)

at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
 Database error, Please try again. br If problem persist please contact
 administrator.

 Everything works OK if I unzip the JDBC drivers into the /lib
 directory...but this is a hack would like to know why it won't pick up
 my ZIP file. It works with other JARs I put inarghhg!

 Any help is MUCH appreciated.
 --Dan













Re: AW: Stupid CLASSPATH and Oracle JDBC drivers. Need help!

2001-09-19 Thread Stephen Davidson

Greetings.

I had to actually unpack the zip file, and repack the files using the
jar tool.  I am running Orion 1.5.2.

-Steve

Regele, Manfred wrote:
 
 Ups,
 
 I had a similar problem with tomcat 4. I renamed classes.zip into
 classes.jar.
 Its the first time I read this with orion, though.
 
 Manfred Regele
 ADIG Investment GmbH
 22 MethodenTools
 Richard-Reitzner-Allee 2
 85540 Haar
 Tel: 089/46268-308
 mailto:[EMAIL PROTECTED]
 http://www.adig.de
 
  -Ursprüngliche Nachricht-
  Von:  Dan Lee [SMTP:[EMAIL PROTECTED]]
  Gesendet am:  Mittwoch, 19. September 2001 18:44
  An:   Orion-Interest
  Betreff:  Stupid CLASSPATH and Oracle JDBC drivers. Need help!
 
  Hi All,
 
  I simply trying to get Orion to see my Oracle JDBC drivers!! I've placed
  my classes12.zip in the [ORION_HOME]/lib directory but it cannot see it.
  I've also tried previous posted suggestions of modifying the shell
  $CLASSPATH variable and the library path located in the application.xml
  file. I have no problems on my Intel Win 2000 platform running Java 2
  SDK 1.3.1-b24 and Orion 1.5.2. My problems are occurring on a PA-RISC
  platform running: Java(TM) 2 Runtime Environment, Standard Edition
  (build 1.3.1.01-release-010816-12:37)
  Java HotSpot(TM) Server VM (build 1.3.1
  1.3.1.01-release-010816-13:34-PA_RISC2.0 PA2.0, mixed mode).
 
  I'm also using the same classes12.zip on both machines. I get the
  following error upon server startup:
 
 Error initializing data-source 'jdbc/OracleDSCore':
  DriverManagerDataSource driver 'oracle.jdbc.driverd.'
 
  Upon a login attempt to my app, which tries to use the Oracle
  Datasource, I get the following:
 2001-09-17 17:18:12,498 [ApplicationServerThread] ERROR
  java.lang.Class - SQL Exception during getting userinfo
  java.sql.SQLException: No suitable driver
 at java.sql.DriverManager.getConnection(DriverManager.java:537)
 at java.sql.DriverManager.getConnection(DriverManager.java:177)
 at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
  Source)
 at
  com.sprint.framework.rdbms.RDBMSUtility.getConnection(RDBMSUtility.java:29
  7)
 
 at com.sprint.nsp.auth.UserManager.getUserInfo(UserManager.java:41)
 at
  com.sprint.nsp.auth.LoginController.isValid(LoginController.java:94)
 at
  __jspPage1_Authenticate_jsp._jspService(__jspPage1_Authenticate_jsp.java:8
  4)
 
 at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
 at com.evermind._ah._rad(Unknown Source)
 at com.evermind.server.http.JSPServlet.service(Unknown Source)
 at com.evermind._cxb._abe(Unknown Source)
 at com.evermind._cxb._uec(Unknown Source)
 at com.evermind._io._twc(Unknown Source)
 at com.evermind._io._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)
  Database error, Please try again. br If problem persist please contact
  administrator.
 
  Everything works OK if I unzip the JDBC drivers into the /lib
  directory...but this is a hack would like to know why it won't pick up
  my ZIP file. It works with other JARs I put inarghhg!
 
  Any help is MUCH appreciated.
  --Dan
 
 
 
 
 

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208




Help me

2001-09-19 Thread nguyen dinh uong
I have to meet some error when I deploy /demo/ejb I hope You can help me First
error .This is appear when I use java -jar orion.jar /*Auto-deploying product
(No previous deployment found)... Error compiling file:/C:/orion/demo/ejb/product/:
Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a librarypath="the/path/to/tools.jar" /
and restartAuto-deploying cart (No previous deployment found)... Error compiling
file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: Javac not installed, copy
tools.jar from your sun JDK dir's lib dir to the orion dir or add a library
path="the/path/to/tools.jar" / and restartAuto-deploying usermanager (No
previous deployment found)... Error compiling file:/C:/orion/demo/ejb/usermanager/:
Error instantiating compiler: Javac not installed, copy tools.jar from your sun JDK
dir's lib dir to the orion dir or add a library path="the/path/to/tools.jar" /
and restartAuto-deploying product... Error instantiating application 'ejbsamples' at
file:/C:/orion/demo/ejb/: Error auto-deploying application-client at product: No
location specified and no suitable instance of the type 'Product' found for the
ejb-ref MyProductOrion/1.4.5 initialized*/Second error .when I use command
java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;.
CartClient/*Exception in thread "main" java.lang.SecurityException: Invalid
username/password for ejbsamples (admin) at
com.evermind.server.rmi.ba.gl(JAX) at
com.evermind.server.rmi.ba.gl(JAX) at
com.evermind.server.rmi.ba.f4(JAX) at
com.evermind.server.rmi.RMIServer.f4(JAX, Compiled
Code) at
com.evermind.server.rmi.RMIContext.lookup(JAX)
at
com.evermind.server.administration.LazyResourceFinder.f4(JAX)
at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
 at com.evermind.server.Application.aq8(JAX,
Compiled Code) at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX,
Compiled Code) at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
at
javax.naming.InitialContext.init(InitialContext.java:218)
at
javax.naming.InitialContext.init(InitialContext.java:174)
at CartClient.main(CartClient.java:17)
*/I don't know I'll have to continune how Thank you very much Uo^ng Dinh
Nguyen 

-

Get your private, free Email by Vietnamese at http://vol.vnn.vn





RE: Help me

2001-09-19 Thread Bansal, Kanchan B (MED)



Try 
setting deactivated =false in the principals.xml file under config dir of orion 
for username  password as specified in the jndi.properties of Cart 
example.

  -Original Message-From: nguyen dinh uong 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 20, 2001 4:58 
  PMTo: Orion-InterestSubject: Help 
me
  I have to meet some error when I deploy /demo/ejb I hope You can help 
  me First error .This is appear when I use java -jar orion.jar 
  /*Auto-deploying product (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/product/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a librarypath="the/path/to/tools.jar" / and 
  restartAuto-deploying cart (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/cart/: Error instantiating compiler: 
  Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the 
  orion dir or add a library path="the/path/to/tools.jar" / and 
  restartAuto-deploying usermanager (No previous deployment found)... Error 
  compiling file:/C:/orion/demo/ejb/usermanager/: Error instantiating 
  compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib 
  dir to the orion dir or add a library path="the/path/to/tools.jar" 
  / and restartAuto-deploying product... Error instantiating application 
  'ejbsamples' at file:/C:/orion/demo/ejb/: Error auto-deploying 
  application-client at product: No location specified and no suitable 
  instance of the type 'Product' found for the ejb-ref 
  MyProductOrion/1.4.5 initialized*/Second error .when I use command 
  java -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. 
  CartClient/*Exception in thread "main" java.lang.SecurityException: 
  Invalid username/password for ejbsamples 
  (admin) at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.gl(JAX) 
  at 
  com.evermind.server.rmi.ba.f4(JAX) 
  at com.evermind.server.rmi.RMIServer.f4(JAX, Compiled 
  Code) at 
  com.evermind.server.rmi.RMIContext.lookup(JAX) 
  at 
  com.evermind.server.administration.LazyResourceFinder.f4(JAX) 
  at com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
   at 
  com.evermind.server.Application.aq8(JAX, Compiled 
  Code) at 
  com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX, 
  Compiled Code) at 
  javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) 
  at 
  javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:218) 
  at 
  javax.naming.InitialContext.init(InitialContext.java:174) 
  at CartClient.main(CartClient.java:17)
  */I don't know I'll have to continune how Thank you very much 
  Uo^ng Dinh Nguyen 
  - 
  Get your private, free Email by Vietnamese at http://vol.vnn.vn 




"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information.

If the reader of this message is not the intended recipient,

you are notified that any dissemination, distribution or copy of this 

communication is strictly Prohibited. 

If you have received this message by error, please notify us 

immediately, return the original mail to the sender and delete the 

message from your system."



Help!!Subject.getSubject(AccessControlContext) returns null

2001-09-12 Thread Xiaowen Wang

Hi:
I've been trying to send the authenticated app client's Subject to
a RMI Activatable server in another JVM. In the app client, I run the follwing:

AccessControlContext ac = AccessController.getContext();
Subject sbj = Subject.getSubject(ac); 

However, sbj turns out to be null. Is it because ac is NOT the Subject
that's authenticated at the beginning of the app client run?

Thanks
XW




Help ! Troubles with SOAP and Stateless EJB

2001-09-07 Thread Stepan Samarin

Hi !
Situation is quite simple:
I've Orion 1.5.2 and Apache Soap 2.2
I'm trying to access stateless EJB via SOAP and constantly get a error:
Client application says:
[SOAPException: faultCode=SOAP-ENV:Server; msg=Unable to initialize context]

Server says:
=
In TemplateProvider.locate()
URI: urn:nuon
DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider
DD.ProviderClass: null
Call.MethodName: sayHello
Naming Exception caught during InitialContext creation @
iiop://localhost:900

My DeploymentDescriptor.xml

isd:service xmlns:isd=http://xml.apache.org/xml-soap/deployment;
 id=urn:nuon
  isd:provider type=org.apache.soap.providers.StatelessEJBProvider
scope=Application
methods=sayHello
isd:option key=JNDIName value=java:comp/env/ejb/HelloHome/
isd:option key=FullHomeInterfaceName value=hello.ejb.HelloHome /
isd:option key=ContextProviderURL
value=ormi://localhost/hello-planet /
isd:option key=FullContextFactoryName
value=com.evermind.server.ApplicationClientInitialContextFactory /
  /isd:provider


isd:faultListenerorg.apache.soap.server.DOMFaultListener/isd:faultListene
r
/isd:service

Thanks forehand.

Regards, Stepan.






Re: Help needed

2001-09-01 Thread Lachezar Dobrev

   Hi.

 I'm trying to get Orion Server to start as a non-root users on Red Hat
 7.1.  I know I need to forward the port from 80 to something above
 1024.  Does any one know how I can do that with iptables.  I've never
 used it before.

  ipchains -I input --protocol tcp \
  --destination-port 80 -j REDIRECT 10240

  If the Orion port is 10240.
  You need to configure your kernel to support redirecting.
  Consult Kernel docs.

 Any help would be appreceated.
 
 
 Bill Wichgers

   Lachezar






Re[2]: Help needed

2001-09-01 Thread Marcello Mannino

 I'm trying to get Orion Server to start as a non-root users on Red Hat
 7.1.  I know I need to forward the port from 80 to something above
 1024.  Does any one know how I can do that with iptables.  I've never
 used it before.

LD   ipchains -I input --protocol tcp \
LD   --destination-port 80 -j REDIRECT 10240

LD   If the Orion port is 10240.
LD   You need to configure your kernel to support redirecting.
LD   Consult Kernel docs.
I have the same problem with Mandrake 8.0
It seems that all newest Linux releases use iptables instead of
ipchains and the syntax is a little different.
Any suggestion ?

TIA
Marcello





Re: Re[2]: Help needed

2001-09-01 Thread Lachezar Dobrev

   Hello.

  I'm trying to get Orion Server to start as a non-root users on Red Hat
  7.1.  I know I need to forward the port from 80 to something above
  1024.  Does any one know how I can do that with iptables.  I've never
  used it before.
 
 LD   ipchains -I input --protocol tcp \
 LD   --destination-port 80 -j REDIRECT 10240
 
 LD   If the Orion port is 10240.
 LD   You need to configure your kernel to support redirecting.
 LD   Consult Kernel docs.
 I have the same problem with Mandrake 8.0
 It seems that all newest Linux releases use iptables instead of
 ipchains and the syntax is a little different.
 Any suggestion ?

   1. You may decide to use IPChains instead of IPTables.
  This is a Kernel-Conf problem.

   2. I don't use IPTables, but... I searched some info on the net,
  and it seems, that it is not too different for IPTables than
  the ipchains one. Maybe you will have to write -I INPUT?!?!?

 TIA
 Marcello

   Lachezar






RE: Help needed

2001-09-01 Thread Johnny Miller

Instead of IP tables, you could use Apache to proxy port 80 requests to the
port your Orion is listening for.

You set up your virtual host in your apache conf file like this (you need to
make sure you have the Apache proxy module installed):

VirtualHost youripaddress:80
ServerName www.yourdomain.com
ProxyRequests On
RewriteEngine On
RewriteRule ^/(.*) http://www.yourdomain.com:4321/$1 [P]
TransferLog /pathtowhereyouwanttologaccess/access
LogFormat %v %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\
/VirtualHost

(where 4321 is the port number your Orion is listening on.)

If you do that make sure you add this between your website tags to your
web-site xml file (the one in your orion/config dir):
frontend host=www.yourdomain.com port=80 /

You need to bear in mind that it makes your Orion access log files useless
as all request appear to have come from the same IP. All you do is use the
Apache ones instead.

Check out: http://www.orionsupport.com/articles/apachefrontend.html for some
additional info.

Hope this helps.

Johnny


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Wichgers
Sent: 31 August 2001 16:49
To: Orion-Interest
Subject: Help needed


I'm trying to get Orion Server to start as a non-root users on Red Hat
7.1.  I know I need to forward the port from 80 to something above
1024.  Does any one know how I can do that with iptables.  I've never
used it before.


Any help would be appreceated.


Bill Wichgers







Help needed

2001-08-31 Thread Bill Wichgers

I'm trying to get Orion Server to start as a non-root users on Red Hat
7.1.  I know I need to forward the port from 80 to something above
1024.  Does any one know how I can do that with iptables.  I've never
used it before.


Any help would be appreceated.


Bill Wichgers





Re: Help needed.

2001-08-31 Thread Olekjadr Yaremenko

You can't if you use direct connection to your ejb stuff. Obvious
solution - use servlet as a facade for your server part and use http
with serialization or xml or html or clear text ...

Alex

 Antonio Vazquez wrote:
 
 Hi all,
 I've write a JApplet that comunicates with an EJB. It's work fine but
 I have a problem. I use
 com.evermind.server.ApplicationClientInitialContextFactory and to use
 it from the client I need to put orion.jar in every computer that use
 this applet. Can anybody tell me how I use it without copy orion.jar
 in every computer.
 
 Thanks in advance
 
 Antonio




RE: List rant (was RE: Virtual DirecTory -- Help)

2001-08-27 Thread Hani Suleiman

Hey, for some of us this is entertainment worth staying up for!

Just kidding, I'm in Europe right now so it was much later than 6am then!

Hani

On Sun, 26 Aug 2001, Juan Lorandi (Chile) wrote:

 Hani is in PST time zone too? Maybe it took 11 minutes tu be delivered
 (pretty fast for an email in a list).
 
 BTW Hani, you're posting to orion-interest Sunday at 6 am? I'm getting
 REALLY worried.
 
 Juan Pablo.
 
  -Original Message-
  From: Alex Paransky [mailto:[EMAIL PROTECTED]]
  Sent: Domingo, 26 de Agosto de 2001 11:28
  To: Orion-Interest
  Subject: RE: List rant (was RE: Virtual DirecTory -- Help)
  
  
  You are missing the point.  The list is broken most of the 
  time.  You send
  your message at 6:21am, I get it at 7:32am.  More than 1 hour later.
  Sometimes, I get at 2 hours later, 20 hours later, 24 hours 
  later.  Many
  times I don't get it at all.  What good is it to have a list 
  that you cannot
  rely on.  If you have a problem which needs addressing fast, 
  you don't want
  to wait for 24 or 48 hours while the list sends the question 
  to all the
  people.  Sometimes, it does not send at all.  So many of us 
  have been making
  1, 2, 3, or more postings to the list, just to PUSH the damn message
  through.
  
  Furthermore, I hate having to type a long detailed response, 
  only to not
  have it go through on the list.  It's a waste of my time.
  
  So, I think, this list should be closed, and people 
  redirected to the Yahoo
  list.
  
  By the way, I just posted to the Yahoo list and I see the 
  message in my mail
  box 3 minutes later.  That's response time!
  
  -AP_
  
  PS:  Let's see how long it takes this message to get propagated.  It's
  Sunday, August 26th, 2001 8:28am PST.
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  Hani Suleiman
  Sent: Sunday, August 26, 2001 6:21 AM
  To: Orion-Interest
  Subject: List rant (was RE: Virtual DirecTory -- Help)
  
  
  I have to add my voice to this. This is just an example of 
  the problems
  that can happen when a lot of well meaning and eager people 
  do what seems
  to be a good idea, yet turns out to do nothing beyond make the problem
  they're trying to fix even worse.
  
  The people who end up suffering are those who need actual 
  help with Orion,
  as every new mailing list further dilutes the pool of competent
  knowledgable people present on any given resource that can 
  provide help.
  
  I for one will NOT be joining any orion related mailing lists 
  other o-i,
  and I would go so far as asking you all to likewise resist 
  the temptation
  of 'encouraging' these other lists, for the following reasons:
  
  - Any individual list is 'worth less', as it's only a subset of the
  community.
  
  - The barrier of entry to Orion is higher (who wants to join 4 mailing
  lists just to ask a simple question?)
  
  - Bias that is very likely to occur (MY support site/list/whatever is
  cooler/better/richer than yours!)
  
  - Turf issues. (don't crosspost to our list! Go away and ask *that*
  list! Oh now you come to us after you failed on *that* list?)
  
  - Same old same old. Does anyone truly think the rash of 'is Orion
  dead/gone/sold out' and 'have Magnus/Karl given up/died/become
  hermits/taken up fishing/sold out' questions that pop up 
  every couple of
  months iks going to dimish? On the contrary, now you get per-list
  threads about the exact same thing! Wheee!
  
  Of course, feel free to ignore all this and join six orion 
  related lists
  and sign up with four orion support websites. More power to you.
  
  Hani
  
  On Sun, 26 Aug 2001, Mike Cannon-Brookes wrote:
  
   Guys,
  
   I'm both for and against this new Orion list, but surely 
  we're solving
   NOTHING other than creating more email if we send support 
  messages to both
   lists? (Meaning everyone subscribes to both lists, everyone get's
  everything
   twice)
  
   Is there a sensible way we can resolve this? Personally I'd 
  say use o-i
  when
   it's up, only use the egroups list when there's a problem.
  
   -mike
  
  
   Mike Cannon-Brookes :: [EMAIL PROTECTED]
  
   Atlassian :: http://www.atlassian.com
Supporting YOUR J2EE World
  
  
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniele
Arduini
Sent: Sunday, August 26, 2001 7:14 PM
To: Orion-Interest
Subject: Re: Virtual DirecTory -- Help
   
   
Eddie Post wrote:
  Hellu,
 
  I am trying to exculde my JSP files from the war file, 
  such that the
  designer can easily change them without my help 
  (withoud deployment,
  etc...).
 
  Anyone any idea/advice how to do that as I tried many 
  things, but
  appearantly am not able to succeed ?
 
   
1. create an orion user and an orion group.
2. chown -R orion:orion /opt/orion
3. Run Orion as orion user from a shell script

Re: Virtual DirecTory -- Help

2001-08-26 Thread Daniele Arduini

Eddie Post wrote:
  Hellu,
 
  I am trying to exculde my JSP files from the war file, such that the
  designer can easily change them without my help (withoud deployment,
  etc...).
 
  Anyone any idea/advice how to do that as I tried many things, but
  appearantly am not able to succeed ?
 

1. create an orion user and an orion group.
2. chown -R orion:orion /opt/orion
3. Run Orion as orion user from a shell script:
...
umask 002   # IMPORTANT!
cd /opt/orion
java -jar orion.jar $@
...

4. add your designer to the orion group.
in /etc/group:
...
orion::204:designer
...

5. use symbolic links to enable access .jsp pages from
designer's home.


bye,
Daniele Arduini


  What I tried  (I am running on a linux box, RedHat 7.0, Orion 1.5.1, JDK
  1.3) ?
  - First I changed the jsp entry in my web.xml, from a relative path to a
  absolute path, that doesn't work, as he always starts looking from within
  the web application:
  ---
   servlet
servlet-nameMainWebShop/servlet-name
display-nameMain page of web-shop/display-name
description/description
 
  
jsp-file/home/development/vwr/web-client/jsp/webwinkel/html/main.jsp/jsp-
  file
   /servlet
  --
  - I did add a virtual directoy entry in orion-web.xml of the the 
default web
  application, as the application runs under the default web application:
  -
  virtual-directory real-path=/home/development/vwr/web-client/jsp
  virtual-path=/VWR/jsp /
  
  However this doesn't work as the j2ee application itself listens to 
the root
  url /VWR/.
  It also tried the following:
  -
  virtual-directory real-path=/home/development/vwr/web-client/jsp
  virtual-path=/VWR_jsp /
  
  Which works but then the jsp's don't run in the application 
environment, and
  as such you need to make a connection as if you were an external j2ee
  client, which isn't very logical ofcource.
  - I tried to put a symbolic link in the war file to the jsp's, but jar
  doesn't understand that. It will just copy all the files.
 
  Any ideas are more than welcome.
 
  Eddie :(
 
 







RE: Virtual DirecTory -- Help

2001-08-26 Thread Mike Cannon-Brookes

Guys,

I'm both for and against this new Orion list, but surely we're solving
NOTHING other than creating more email if we send support messages to both
lists? (Meaning everyone subscribes to both lists, everyone get's everything
twice)

Is there a sensible way we can resolve this? Personally I'd say use o-i when
it's up, only use the egroups list when there's a problem.

-mike


Mike Cannon-Brookes :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
 Supporting YOUR J2EE World



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Daniele
 Arduini
 Sent: Sunday, August 26, 2001 7:14 PM
 To: Orion-Interest
 Subject: Re: Virtual DirecTory -- Help


 Eddie Post wrote:
   Hellu,
  
   I am trying to exculde my JSP files from the war file, such that the
   designer can easily change them without my help (withoud deployment,
   etc...).
  
   Anyone any idea/advice how to do that as I tried many things, but
   appearantly am not able to succeed ?
  

 1. create an orion user and an orion group.
 2. chown -R orion:orion /opt/orion
 3. Run Orion as orion user from a shell script:
 ...
 umask 002 # IMPORTANT!
 cd /opt/orion
 java -jar orion.jar $@
 ...

 4. add your designer to the orion group.
 in /etc/group:
 ...
 orion::204:designer
 ...

 5. use symbolic links to enable access .jsp pages from
 designer's home.


 bye,
 Daniele Arduini


   What I tried  (I am running on a linux box, RedHat 7.0, Orion
 1.5.1, JDK
   1.3) ?
   - First I changed the jsp entry in my web.xml, from a relative
 path to a
   absolute path, that doesn't work, as he always starts looking
 from within
   the web application:
   ---
servlet
 servlet-nameMainWebShop/servlet-name
 display-nameMain page of web-shop/display-name
 description/description
  
  
 jsp-file/home/development/vwr/web-client/jsp/webwinkel/html/main
 .jsp/jsp-
   file
/servlet
   --
   - I did add a virtual directoy entry in orion-web.xml of the the
 default web
   application, as the application runs under the default web application:
   -
   virtual-directory real-path=/home/development/vwr/web-client/jsp
   virtual-path=/VWR/jsp /
   
   However this doesn't work as the j2ee application itself listens to
 the root
   url /VWR/.
   It also tried the following:
   -
   virtual-directory real-path=/home/development/vwr/web-client/jsp
   virtual-path=/VWR_jsp /
   
   Which works but then the jsp's don't run in the application
 environment, and
   as such you need to make a connection as if you were an external j2ee
   client, which isn't very logical ofcource.
   - I tried to put a symbolic link in the war file to the jsp's, but jar
   doesn't understand that. It will just copy all the files.
  
   Any ideas are more than welcome.
  
   Eddie :(
  
  









List rant (was RE: Virtual DirecTory -- Help)

2001-08-26 Thread Hani Suleiman

I have to add my voice to this. This is just an example of the problems
that can happen when a lot of well meaning and eager people do what seems
to be a good idea, yet turns out to do nothing beyond make the problem
they're trying to fix even worse.

The people who end up suffering are those who need actual help with Orion,
as every new mailing list further dilutes the pool of competent
knowledgable people present on any given resource that can provide help.

I for one will NOT be joining any orion related mailing lists other o-i,
and I would go so far as asking you all to likewise resist the temptation
of 'encouraging' these other lists, for the following reasons:

- Any individual list is 'worth less', as it's only a subset of the
community.

- The barrier of entry to Orion is higher (who wants to join 4 mailing
lists just to ask a simple question?)

- Bias that is very likely to occur (MY support site/list/whatever is
cooler/better/richer than yours!)

- Turf issues. (don't crosspost to our list! Go away and ask *that* 
list! Oh now you come to us after you failed on *that* list?)

- Same old same old. Does anyone truly think the rash of 'is Orion
dead/gone/sold out' and 'have Magnus/Karl given up/died/become
hermits/taken up fishing/sold out' questions that pop up every couple of
months iks going to dimish? On the contrary, now you get per-list
threads about the exact same thing! Wheee!

Of course, feel free to ignore all this and join six orion related lists
and sign up with four orion support websites. More power to you.

Hani

On Sun, 26 Aug 2001, Mike Cannon-Brookes wrote:

 Guys,
 
 I'm both for and against this new Orion list, but surely we're solving
 NOTHING other than creating more email if we send support messages to both
 lists? (Meaning everyone subscribes to both lists, everyone get's everything
 twice)
 
 Is there a sensible way we can resolve this? Personally I'd say use o-i when
 it's up, only use the egroups list when there's a problem.
 
 -mike
 
 
 Mike Cannon-Brookes :: [EMAIL PROTECTED]
 
 Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Daniele
  Arduini
  Sent: Sunday, August 26, 2001 7:14 PM
  To: Orion-Interest
  Subject: Re: Virtual DirecTory -- Help
 
 
  Eddie Post wrote:
Hellu,
   
I am trying to exculde my JSP files from the war file, such that the
designer can easily change them without my help (withoud deployment,
etc...).
   
Anyone any idea/advice how to do that as I tried many things, but
appearantly am not able to succeed ?
   
 
  1. create an orion user and an orion group.
  2. chown -R orion:orion /opt/orion
  3. Run Orion as orion user from a shell script:
  ...
  umask 002   # IMPORTANT!
  cd /opt/orion
  java -jar orion.jar $@
  ...
 
  4. add your designer to the orion group.
  in /etc/group:
  ...
  orion::204:designer
  ...
 
  5. use symbolic links to enable access .jsp pages from
  designer's home.
 
 
  bye,
  Daniele Arduini
 
 
What I tried  (I am running on a linux box, RedHat 7.0, Orion
  1.5.1, JDK
1.3) ?
- First I changed the jsp entry in my web.xml, from a relative
  path to a
absolute path, that doesn't work, as he always starts looking
  from within
the web application:
---
 servlet
  servlet-nameMainWebShop/servlet-name
  display-nameMain page of web-shop/display-name
  description/description
   
   
  jsp-file/home/development/vwr/web-client/jsp/webwinkel/html/main
  .jsp/jsp-
file
 /servlet
--
- I did add a virtual directoy entry in orion-web.xml of the the
  default web
application, as the application runs under the default web application:
-
virtual-directory real-path=/home/development/vwr/web-client/jsp
virtual-path=/VWR/jsp /

However this doesn't work as the j2ee application itself listens to
  the root
url /VWR/.
It also tried the following:
-
virtual-directory real-path=/home/development/vwr/web-client/jsp
virtual-path=/VWR_jsp /

Which works but then the jsp's don't run in the application
  environment, and
as such you need to make a connection as if you were an external j2ee
client, which isn't very logical ofcource.
- I tried to put a symbolic link in the war file to the jsp's, but jar
doesn't understand that. It will just copy all the files.
   
Any ideas are more than welcome.
   
Eddie :(
   
   
 
 
 
 
 
 
 





RE: List rant (was RE: Virtual DirecTory -- Help)

2001-08-26 Thread Alex Paransky

You are missing the point.  The list is broken most of the time.  You send
your message at 6:21am, I get it at 7:32am.  More than 1 hour later.
Sometimes, I get at 2 hours later, 20 hours later, 24 hours later.  Many
times I don't get it at all.  What good is it to have a list that you cannot
rely on.  If you have a problem which needs addressing fast, you don't want
to wait for 24 or 48 hours while the list sends the question to all the
people.  Sometimes, it does not send at all.  So many of us have been making
1, 2, 3, or more postings to the list, just to PUSH the damn message
through.

Furthermore, I hate having to type a long detailed response, only to not
have it go through on the list.  It's a waste of my time.

So, I think, this list should be closed, and people redirected to the Yahoo
list.

By the way, I just posted to the Yahoo list and I see the message in my mail
box 3 minutes later.  That's response time!

-AP_

PS:  Let's see how long it takes this message to get propagated.  It's
Sunday, August 26th, 2001 8:28am PST.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman
Sent: Sunday, August 26, 2001 6:21 AM
To: Orion-Interest
Subject: List rant (was RE: Virtual DirecTory -- Help)


I have to add my voice to this. This is just an example of the problems
that can happen when a lot of well meaning and eager people do what seems
to be a good idea, yet turns out to do nothing beyond make the problem
they're trying to fix even worse.

The people who end up suffering are those who need actual help with Orion,
as every new mailing list further dilutes the pool of competent
knowledgable people present on any given resource that can provide help.

I for one will NOT be joining any orion related mailing lists other o-i,
and I would go so far as asking you all to likewise resist the temptation
of 'encouraging' these other lists, for the following reasons:

- Any individual list is 'worth less', as it's only a subset of the
community.

- The barrier of entry to Orion is higher (who wants to join 4 mailing
lists just to ask a simple question?)

- Bias that is very likely to occur (MY support site/list/whatever is
cooler/better/richer than yours!)

- Turf issues. (don't crosspost to our list! Go away and ask *that*
list! Oh now you come to us after you failed on *that* list?)

- Same old same old. Does anyone truly think the rash of 'is Orion
dead/gone/sold out' and 'have Magnus/Karl given up/died/become
hermits/taken up fishing/sold out' questions that pop up every couple of
months iks going to dimish? On the contrary, now you get per-list
threads about the exact same thing! Wheee!

Of course, feel free to ignore all this and join six orion related lists
and sign up with four orion support websites. More power to you.

Hani

On Sun, 26 Aug 2001, Mike Cannon-Brookes wrote:

 Guys,

 I'm both for and against this new Orion list, but surely we're solving
 NOTHING other than creating more email if we send support messages to both
 lists? (Meaning everyone subscribes to both lists, everyone get's
everything
 twice)

 Is there a sensible way we can resolve this? Personally I'd say use o-i
when
 it's up, only use the egroups list when there's a problem.

 -mike


 Mike Cannon-Brookes :: [EMAIL PROTECTED]

 Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Daniele
  Arduini
  Sent: Sunday, August 26, 2001 7:14 PM
  To: Orion-Interest
  Subject: Re: Virtual DirecTory -- Help
 
 
  Eddie Post wrote:
Hellu,
   
I am trying to exculde my JSP files from the war file, such that the
designer can easily change them without my help (withoud deployment,
etc...).
   
Anyone any idea/advice how to do that as I tried many things, but
appearantly am not able to succeed ?
   
 
  1. create an orion user and an orion group.
  2. chown -R orion:orion /opt/orion
  3. Run Orion as orion user from a shell script:
  ...
  umask 002   # IMPORTANT!
  cd /opt/orion
  java -jar orion.jar $@
  ...
 
  4. add your designer to the orion group.
  in /etc/group:
  ...
  orion::204:designer
  ...
 
  5. use symbolic links to enable access .jsp pages from
  designer's home.
 
 
  bye,
  Daniele Arduini
 
 
What I tried  (I am running on a linux box, RedHat 7.0, Orion
  1.5.1, JDK
1.3) ?
- First I changed the jsp entry in my web.xml, from a relative
  path to a
absolute path, that doesn't work, as he always starts looking
  from within
the web application:
---
 servlet
  servlet-nameMainWebShop/servlet-name
  display-nameMain page of web-shop/display-name
  description/description
   
   
  jsp-file/home/development/vwr/web-client/jsp/webwinkel/html/main
  .jsp/jsp-
file
 /servlet
--
- I did add a virtual directoy entry in orion

RE: List rant (was RE: Virtual DirecTory -- Help)

2001-08-26 Thread Juan Lorandi (Chile)

Hani is in PST time zone too? Maybe it took 11 minutes tu be delivered
(pretty fast for an email in a list).

BTW Hani, you're posting to orion-interest Sunday at 6 am? I'm getting
REALLY worried.

Juan Pablo.

 -Original Message-
 From: Alex Paransky [mailto:[EMAIL PROTECTED]]
 Sent: Domingo, 26 de Agosto de 2001 11:28
 To: Orion-Interest
 Subject: RE: List rant (was RE: Virtual DirecTory -- Help)
 
 
 You are missing the point.  The list is broken most of the 
 time.  You send
 your message at 6:21am, I get it at 7:32am.  More than 1 hour later.
 Sometimes, I get at 2 hours later, 20 hours later, 24 hours 
 later.  Many
 times I don't get it at all.  What good is it to have a list 
 that you cannot
 rely on.  If you have a problem which needs addressing fast, 
 you don't want
 to wait for 24 or 48 hours while the list sends the question 
 to all the
 people.  Sometimes, it does not send at all.  So many of us 
 have been making
 1, 2, 3, or more postings to the list, just to PUSH the damn message
 through.
 
 Furthermore, I hate having to type a long detailed response, 
 only to not
 have it go through on the list.  It's a waste of my time.
 
 So, I think, this list should be closed, and people 
 redirected to the Yahoo
 list.
 
 By the way, I just posted to the Yahoo list and I see the 
 message in my mail
 box 3 minutes later.  That's response time!
 
 -AP_
 
 PS:  Let's see how long it takes this message to get propagated.  It's
 Sunday, August 26th, 2001 8:28am PST.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Hani Suleiman
 Sent: Sunday, August 26, 2001 6:21 AM
 To: Orion-Interest
 Subject: List rant (was RE: Virtual DirecTory -- Help)
 
 
 I have to add my voice to this. This is just an example of 
 the problems
 that can happen when a lot of well meaning and eager people 
 do what seems
 to be a good idea, yet turns out to do nothing beyond make the problem
 they're trying to fix even worse.
 
 The people who end up suffering are those who need actual 
 help with Orion,
 as every new mailing list further dilutes the pool of competent
 knowledgable people present on any given resource that can 
 provide help.
 
 I for one will NOT be joining any orion related mailing lists 
 other o-i,
 and I would go so far as asking you all to likewise resist 
 the temptation
 of 'encouraging' these other lists, for the following reasons:
 
 - Any individual list is 'worth less', as it's only a subset of the
 community.
 
 - The barrier of entry to Orion is higher (who wants to join 4 mailing
 lists just to ask a simple question?)
 
 - Bias that is very likely to occur (MY support site/list/whatever is
 cooler/better/richer than yours!)
 
 - Turf issues. (don't crosspost to our list! Go away and ask *that*
 list! Oh now you come to us after you failed on *that* list?)
 
 - Same old same old. Does anyone truly think the rash of 'is Orion
 dead/gone/sold out' and 'have Magnus/Karl given up/died/become
 hermits/taken up fishing/sold out' questions that pop up 
 every couple of
 months iks going to dimish? On the contrary, now you get per-list
 threads about the exact same thing! Wheee!
 
 Of course, feel free to ignore all this and join six orion 
 related lists
 and sign up with four orion support websites. More power to you.
 
 Hani
 
 On Sun, 26 Aug 2001, Mike Cannon-Brookes wrote:
 
  Guys,
 
  I'm both for and against this new Orion list, but surely 
 we're solving
  NOTHING other than creating more email if we send support 
 messages to both
  lists? (Meaning everyone subscribes to both lists, everyone get's
 everything
  twice)
 
  Is there a sensible way we can resolve this? Personally I'd 
 say use o-i
 when
  it's up, only use the egroups list when there's a problem.
 
  -mike
 
 
  Mike Cannon-Brookes :: [EMAIL PROTECTED]
 
  Atlassian :: http://www.atlassian.com
   Supporting YOUR J2EE World
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Daniele
   Arduini
   Sent: Sunday, August 26, 2001 7:14 PM
   To: Orion-Interest
   Subject: Re: Virtual DirecTory -- Help
  
  
   Eddie Post wrote:
 Hellu,

 I am trying to exculde my JSP files from the war file, 
 such that the
 designer can easily change them without my help 
 (withoud deployment,
 etc...).

 Anyone any idea/advice how to do that as I tried many 
 things, but
 appearantly am not able to succeed ?

  
   1. create an orion user and an orion group.
   2. chown -R orion:orion /opt/orion
   3. Run Orion as orion user from a shell script:
   ...
   umask 002 # IMPORTANT!
   cd /opt/orion
   java -jar orion.jar $@
   ...
  
   4. add your designer to the orion group.
   in /etc/group:
   ...
   orion::204:designer
   ...
  
   5. use symbolic links to enable access .jsp pages from
   designer's home.
  
  
   bye,
   Daniele Arduini

Virtual DirecTory -- Help

2001-08-24 Thread Eddie Post

Hellu,

I am trying to exculde my JSP files from the war file, such that the
designer can easily change them without my help (withoud deployment,
etc...).

Anyone any idea/advice how to do that as I tried many things, but
appearantly am not able to succeed ?

What I tried  (I am running on a linux box, RedHat 7.0, Orion 1.5.1, JDK
1.3) ?
- First I changed the jsp entry in my web.xml, from a relative path to a
absolute path, that doesn't work, as he always starts looking from within
the web application:
---
 servlet
  servlet-nameMainWebShop/servlet-name
  display-nameMain page of web-shop/display-name
  description/description

jsp-file/home/development/vwr/web-client/jsp/webwinkel/html/main.jsp/jsp-
file
 /servlet
--
- I did add a virtual directoy entry in orion-web.xml of the the default web
application, as the application runs under the default web application:
-
virtual-directory real-path=/home/development/vwr/web-client/jsp
virtual-path=/VWR/jsp /

However this doesn't work as the j2ee application itself listens to the root
url /VWR/.
It also tried the following:
-
virtual-directory real-path=/home/development/vwr/web-client/jsp
virtual-path=/VWR_jsp /

Which works but then the jsp's don't run in the application environment, and
as such you need to make a connection as if you were an external j2ee
client, which isn't very logical ofcource.
- I tried to put a symbolic link in the war file to the jsp's, but jar
doesn't understand that. It will just copy all the files.

Any ideas are more than welcome.

Eddie :(





Re: Help with exception, could be classpath related

2001-08-10 Thread oisin

Hi Ashok,

the two beans are in two individual ejb-jar files, with both beans deployed 
successfully, I know this because they work fine when I connect simple clients to 
them,  and both work from the same client when the classpath is set correctly.

The contents of the files are

ejb-jar2.jar 
SimpleSessionBean.class + other classes

ejb-jar1.jar 
SimpleEntityBean + other classes

By other classes I mean the Home interfaces etc etc and standard java classes which 
the Beans use.

The SimpleSessionBean references the SimpleEntityBean and some of the standard classes.

I don't think ears are suitable for this are they?

Thanks for all your help,
I really do appreciate it!
Albert.

Subject: Re: Help with exception, could be classpath related
Date: Thu, 09 Aug 2001 20:08:03 -0700
From: Ashok Banerjee [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]


Are the 2 beans in the different applications (ear files)? If so you may want
to specify one application as the parent of the other. Cheers,
Ashok

[EMAIL PROTECTED] wrote:
 Hello All,
 hope you can help me with this as I'm unsure exactly what it means,
 I use a session bean to invoke methods on an entity bean, the error seems
 to be in the Entity Bean but it has been tested from a client and it works,
 I think it may be due to the classpath, as I've had to put the classes into
 the server.xml as Library path=...file before I could see them from
 ejbs. any ideas are very welcome,
 Thanks,
 Albert.
 Here is the exception I get from the terminal I start Orion server from:

 java.lang.ClassCastException: __Proxy0
 at SimpleEntityBean.Submit(SimpleEntityBean.java:230)
 at
 SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java
:268) at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind._dh._gc(Unknown Source)
 at com.evermind._if.run(Unknown Source)

 Email just got more fun @ another.com
 http://another.com

---

-- 

Be passionate about your email
Just click here: http://another.com


Help with exception, could be classpath related

2001-08-09 Thread albert

Hello All,
hope you can help me with this as I'm unsure exactly what it means,
I use a session bean to invoke methods on an entity bean, the error seems to be in the 
Entity Bean but it has been tested from a client and it works, I think it may be due 
to the classpath, as I've had to put the classes into the server.xml as  Library 
path=...file before I could see them from ejbs.
any ideas are very welcome,
Thanks,
Albert.
Here is the exception I get from the terminal I start Orion server from:

java.lang.ClassCastException: __Proxy0
at SimpleEntityBean.Submit(SimpleEntityBean.java:230)
at 
SimpleEntity_EntityBeanWrapper0.Submit(SimpleEntity_EntityBeanWrapper0.java:268)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind._dh._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)



Email just got more fun @ another.com
http://another.com



  1   2   3   4   5   6   >