URGENT: JAXP 1.0 application

2001-12-10 Thread Etienne Giraudy

Hi,

I really need help on that question.
Does any one has experience on having a JAXP 1.0 application running on
Orion?


Thanks in advance

Etienne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Etienne
 Giraudy
 Sent: vendredi 7 decembre 2001 08:59
 To: Orion-Interest
 Subject:


 Hi,

 Our application has two version, the new one is using JAXP 1.1
 and there is
 no trouble with it.
 But the old one, that we are trying to validate on Orion is using
 JAXP 1.0.
 I cannot figure how to use JAXP 1.0 in my webapp.

 I put jaxp1.0 in the lib directory - does not work
 I tried classpath path=./path/to/jaxp1.0/ / in the
 global-web-application.xml - does not work

 Is there a way of having a JAXP1.0 web app working with orion (1.5.2)?

 Thanks in advance

 Etienne







Lookingup EJB References

2001-12-10 Thread Anil D

Hi
I want to refer to another ejb which is in another jar file on the same server. I have 
added ejb-ref in the ejb-jar.xml of the referencing bean. I didnt provide ejb-link.
Still I was having lookup problems when I try to lookup the home interface of the 
referred bean  using the name I specified in the ejb-ref-name tag in the ejb-jar.

Do I have to specify the bean in a new module tag in the application.xml file?

Thanks
Anil




Access Denied Error??

2001-12-10 Thread Dominic Tulley

I've been working to port our application to Orion and have encountered a
strange problem with file access.
I can successfully deploy our application (web app plus ejbs) and on
accessing it the first part now runs correctly; a session bean is
instantiated and responds correctly...
When we move on to using the second session bean we get the errors below:
it looks like the sort of problem a dodgy policy file would cause but we're
not using one (and the default supplied with teh jdk has not been changed).
The last two errors (accessing server.xml and default-web-site.xml) repeat
every second or so (ie every time orion checks if they have changed or not).
This is really strange because until I cause the error by accessing
the session bean, the checks on these files work correctly...
The file being complained about (VMPervasives) is in a jar file in the orion
lib directory and within the jar it has the correct path.  Files used in the
same manner by the first session bean are also stored in a jar in the lib
directory and they seem to work.

Anyone got any ideas on this??

Stats are:
Orion 1.5.2
Windows NT 4 (sp6a)
JDK 1.3.0-C

Cheers,

-Dominic


SessionBean Initialisation Error: access denied (java.io.FilePermission
D:\orion\lib\com\telelogic\vbs\vm
\main\VMPervasives.class read)
java.security.AccessControlException: access denied (java.io.FilePermission
D:\orion\lib\com\telelogic\vb
s\vm\main\VMPervasives.class read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.exists(File.java:543)
at com.evermind.naming.file.FileContext.lookup(Unknown Source)
at com.evermind._ff.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.evermind._dz.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.telelogic.vbs.vm.servlet.VMRemote.init(VMRemote.java:67)
at
com.telelogic.vbs.vm.servlet.VMAppletHandler.init(VMAppletHandler.java:138
)
at com.telelogic.vbs.vm.servlet.VMServlet.init(VMServlet.java:41)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at com.evermind._ah._axe(Unknown Source)
at com.evermind._ah._fpd(Unknown Source)
at com.evermind._ah._cwc(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
access denied (java.io.FilePermission
D:\orion\lib\com\telelogic\vbs\vm\main\VMPervasives.class read)
java.security.AccessControlException: access denied (java.io.FilePermission
D:\orion\config\server.xml re
ad)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.lastModified(File.java:636)
at com.evermind._ag.isUpdated(Unknown Source)
at com.evermind._hz.isUpdated(Unknown Source)
at com.evermind.server.ApplicationServer._wn(Unknown Source)
at com.evermind._ir.run(Unknown Source)
at com.evermind._co.run(Unknown Source)
at com.evermind._if.run(Unknown Source)
java.security.AccessControlException: access denied (java.io.FilePermission
D:\orion\config\default-web-s
ite.xml read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:272)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.lastModified(File.java:636)
at com.evermind._ag.isUpdated(Unknown Source)
at com.evermind._ab._wn(Unknown Source)
at com.evermind._ebb.run(Unknown Source)
at com.evermind._co.run(Unknown Source)
at com.evermind._if.run(Unknown Source)



--
Dominic Tulley
Lead Architect, VBS
Telelogic Technologies UK Ltd, 
4th Floor, Hanover Buildings
Rose Street, Edinburgh, EH2 2NN
Phone: +44 131 622 3624
mailto:[EMAIL PROTECTED]
http://www.telelogic.com

Telelogic - Putting you ahead in 

Cannot display error page with FORM-based authentication

2001-12-10 Thread teddywong

Hi,

I'm trying to make a very simple authentication with FORM method.
It shows log-in page that is defined at form-login-page tag in web.xml.
However, it doesn't show error page that is defined at form-error-page
tag. Whenever the login is incorrect, it backs to log-in page.

Please tell me why.


Here is my web.xml:

...
security-role
  description
Registered administrators of this app.
  /description
  role-nameadministrators/role-name
/security-role
   
security-role
  description
Registered users of this app. Can add news etc.
  /description
  role-nameusers/role-name
/security-role


security-constraint
  web-resource-collection
web-resource-name
  Unnamed
/web-resource-name
url-pattern/test/jsp/first.jsp/url-pattern
http-method*/http-method
  /web-resource-collection
  auth-constraint
role-nameusers/role-name
  /auth-constraint
/security-constraint

login-config
  auth-methodFORM/auth-method
  form-login-config
form-login-page/login.html/form-login-page
form-error-page/error.html/form-error-page
  /form-login-config
/login-config


Thanks in advance.

Teddy Wong


Message Driven Bean + Transactions

2001-12-10 Thread Gianluca S

Hi,
I don't know how to start a transaction (either CMT or BMT) in a MDB Context 
in Orion 1.5.2 (latest stable release). I've tried a lot of configuration 
but none's functioning.
Can anyone help me, please?
The most important thing is to re-insert the message in the Queue when a 
rollback occurs in the transaction context
Thanks a lot.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp