RE: URGENT: Big issues with CMP 2.x and application-client !!!!

2002-05-01 Thread Gavin Spurling

I believe it only does this on fields named password as this can be a
reserved word in some DBs, it will do this if its autogenerating the
tables for you. You can always edit the orion-ejb-jar.xml file and
change the mapping to what suits you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Vincent
Faidherbe
Sent: 30 April 2002 15:12
To: Orion-Interest
Subject: URGENT: Big issues with CMP 2.x and application-client 


Hello,

I'm running Orion on a SuSe Linux 7.0 with a Sun JDK 1.3.1_03. I've 
encountered two problems :
1. When using CMP 2.x entity bean, Orion adds  an underscore to the name

of some fields for the persitence-name and consequently, the generated 
SQL doesn't work ... Example : cmp-field-mapping name=password 
persistence-name=password_ /
2. I've written n command-line client to different EJBs. If the 
application-client.xml bound with the client refers to an unknown remote

interface, the JVM of orion crashes with a stack overflow error.

Any idea ?

-- 
Vincent Faidherbe
icogs

Do you think C++ is lovable? Unless you're into SM (Software
Masochism), probably not. (JLG)






RE: ErrorDocument 500 in Orion?

2002-03-25 Thread Gavin Spurling

Add a

error-page
error-code500/error-code
location/doh.jsp/location
/error-page

into your web.xml file. The error code will be whatever http error your
trying to catch, 404, 500, etc.

Cheers,

Gavin.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Martin
Rylander
Sent: 25 March 2002 10:38
To: Orion-Interest
Subject: ErrorDocument 500 in Orion?


Is it possible to redirect to a default error page in Orion. Like the
ErrorDocument 500 funktion in Apache?

thanks
- martin





RE: Another filter chaining question

2002-03-14 Thread Gavin Spurling

I believe the spec implies that filters are supposed to be run in the
order they are listed in the web.xml file.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Aaron
Tavistock
Sent: 14 March 2002 02:34
To: Orion-Interest
Subject: Another filter chaining question


I'm starting to get into some intersting space with filters and I've
found yet another thing that seems like it would be a requirement for
chaining filters.  Order.  

It seems that theres no clearly defined way to know which filter will
process a request first.  I've been playing with placement in the
web.xml and I don't seem to notice any particullar change in filter
sequence.

Anyone have any experience in this?





RE: Protocol violation w/ Oracle

2001-10-04 Thread Gavin Spurling

I would guess you're using (or have in your classpath) classes111.zip. Make
sure your using classes12.zip (I'm assuming your using Oracle 8.16, or
8.17).

Gavin.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chad Cromwell
Sent: 03 October 2001 16:57
To: Orion-Interest
Subject: Protocol violation w/ Oracle


Does any noe know why i would get this error

servlet to session bean to oracle db

i do get a connection then when i try to create a
preparedStatement this happens


thanks chad

java.sql.SQLException: Protocol violation
at
oracle.jdbc.dbaccess.DBError.check_error(DBError.java:631)
at
oracle.jdbc.ttc7.O3log.receive2nd(O3log.java, Compiled
Code)
at
oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:214)
at
oracle.jdbc.driver.OracleConnection.init(OracleConnection.java:142)

at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:214)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193)
at
com.evermind.sql.DriverManagerDataSource.getConnection(Unknown
Source
)
at
com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConne
ction(Unknown Source)
at
com.evermind.sql.OrionPooledDataSource._bgb(Unknown
Source)
at com.evermind._jb._bgb(Unknown Source)
at
com.evermind.sql.OrionPooledDataSource.getConnection(Unknown
Source)
at
com.evermind.sql.DriverManagerXADataSource._bvc(Unknown
Source)
at com.evermind._vn._bl(Unknown Source)
at com.evermind._lo.createStatement(Unknown
Source)
at com.evermind._lo.createStatement(Unknown
Source)
at
com.dumc.servlet.AddContact.doPost(AddContact.java,
Compiled Code)
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._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)
OrionCMTConnection not closed, check your code!
LogicalDriverManagerXAConnection not closed, check
your code!
Created at:
java.lang.Throwable: OrionCMTConnection created
at com.evermind._wp.init(Unknown Source)
at
com.evermind.sql.OrionCMTDataSource.getConnection(Unknown
Source)
at
com.dumc.servlet.AddContact.doPost(AddContact.java,
Compiled Code)
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._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)



__
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com