Java crashes with 1.4.8

2001-05-06 Thread Werner Bohl



Thanks for helping me with new (1.4.8) 
orion-ejb-jar.xml path.

Using FORM authentication and EJBUserManager 
(worked fine on 1.4.7) Java (win98 1.3.0) crashes with following 
message:

# An EXCEPTION_ACCESS_VIOLATION exception has been 
detected in native code outside the VM.# Program 
counter=0x50397d07#
Any clue?


Werner Bohl



2 Bugs in 1.4.8

2001-05-05 Thread Werner Bohl



On win98: 
Autoupdated from 1.4.7 to 1.4.8 and found this bugs 
(after emptying application-deployments dir)
a) my orion-ejb-jar.xml are not used any more. 

b) crashes login Web application user. Denies any 
access to Desktop application user.

All worked fine till 1.4.7. Upgraded to be able to 
use Struts without patching it.

Anybody got similar problems?

Werner Bohl



Re: Another request for struts on orion

2001-04-03 Thread Werner Bohl

I had it running in 1.4.5 (as a test), following instructions on the struts
install file. In 1.4.7 its not running anymore!


Werner Bohl
Systems Consultant

- Original Message -
From: Rick Hightower [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 6:07 PM
Subject: Another request for struts on orion





 I am also having a problem running struts on Orion.

 I followed the instructions and noticed that the directions to install the
 sample application on Orion (as written) would not work. First it only
 mentions copying one xml file not action.xml (it mentions
 struts_config.xsl). Then it asks you to point the config setting to
 action.xml without copying it to the web application root. The directions
 seem to be missing some steps.

 I tried to improvise and tried to copy all xml (and tag definition files)
 files from WEB-INF to the web app root of the sample, but I am running out
 of ideas. I realize that Orion is popular and someone has this running
 somewhere. And I also realize that this question has been asked for

 Where is a good place to search for the answers to this question?
 Is there a way to search this mail archive?

 (BTW I did get struts to work on weblogic 5.1)

 --Rick Hightower
 Software Developer
 http://www.geocities.com/rick_m_hightower/


 -Original Message-
 From: Shawn Stephens [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 03, 2001 2:42 PM
 To: [EMAIL PROTECTED]
 Subject: jndi


 Hello,
 Does anyone have the strut examples working with orionserver 1.4.5
 or later.  If not, does anyone know where I can find more information on
how
 to get this to work.  I have implemented the extra procedures required to
 set up strut with orion.


 Thanks,
 Shawn Stephens

 I get this error when I try to run the app:

 4/3/01 4:33 PM defaultWebApp: 1.4.7 Started
 4/3/01 4:33 PM strutsExample: database: init
 4/3/01 4:33 PM strutsExample: database: Initializing database servlet
 4/3/01 4:33 PM strutsExample: database: Loading database from
 '/WEB-INF/database.xml'
 4/3/01 4:33 PM strutsExample: action: init
 4/3/01 4:33 PM strutsExample: action: Loading application resources from
 resource org.apache.struts.example.ApplicationResources
 4/3/01 4:33 PM strutsExample: action: Initializing configuration from
 resource path /WEB-INF/action.xml
 4/3/01 4:33 PM strutsExample: action: null
 java.net.MalformedURLException: unknown protocol: jndi
 at
 org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
 at

org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
 y(DefaultEntityHandler.java:750)
 at

org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
 t(DefaultEntityHandler.java:566)
 at

org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
 :1139)
 at

org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
 anner.java:2201)
 at

org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner
 .java:86)
 at

org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
 DocumentScanner.java:887)
 at

org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
 java:381)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
 at
 org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
 at org.apache.struts.digester.Digester.parse(Digester.java:716)
 at

org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1403)
 at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at com.evermind.server.http.HttpApplication.xc(JAX)
 at com.evermind.server.http.HttpApplication.wu(JAX)
 at com.evermind.server.http.HttpApplication.w4(JAX)
 at com.evermind.server.http.HttpApplication.wf(JAX)
 at com.evermind.server.http.HttpApplication.init(JAX)
 at com.evermind.server.Application.u2(JAX)
 at com.evermind.server.http.en.u2(JAX)
 at com.evermind.server.http.em.nu(JAX)
 at com.evermind.server.http.eg.s9(JAX)
 at com.evermind.server.http.eg.dr(JAX)
 at com.evermind.util.f.run(JAX)
 4/3/01 4:33 PM strutsExample: action: Mapping for servlet 'action' =
'null'
 4/3/01 4:33 PM strutsExample: 1.4.7 Started







Strange DataSourceUserManager behavior in 1.4.4

2000-12-21 Thread Werner Bohl

Hi:
After a lot of effot I was able to use DataSourceUserManager. It works fine
with my jsp's, but my
standalone (swing)  clients are only validated against XMLUserManager.
Anyone has seen this behavior before?

TIA,

Werner Bohl
Organization for Tropical Studies





RE: UserManagers

2000-12-15 Thread Werner Bohl

Arved:
Could you please enlighten us with the hacks required to use EJBUserManager?

TIA,

Werner Bohl
Organization  for Tropical Studies

- Original Message -
From: Arved Sandstrom [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, December 12, 2000 6:56 AM
Subject: RE: UserManagers


 Hi, Juan

 We haven't done anything remarkable with EJBUserManager; simple
declarations
 in one or more appropriate ejb-jar.xml files, and in
orion-application.xml.
 The 2 tables (user and group) were successfully created, we loaded up some
 user data of our own, and our app has since successfully added, removed,
and
 modified user data using the EJBUserManager interface methods. The backing
 database is Oracle, incidentally.

 As with the DataSourceUserManager we had to hack out SQL-based fixes for
the
 group methods, like addToGroup(), in order to support user management.
There
 seems to be some kind of obfuscation problem still happening here, if I
 recall correctly.

 Authorization against the user data via RoleManager, using this user data,
 appears to work correctly.

 So, we haven't "implemented" _a_ EJBUserManager; we just used the stuff
 already there, and with some hacks it seems to work OK.

 Arved Sandstrom

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
 (Chile)
 Sent: Monday, December 11, 2000 4:44 PM
 To: Orion-Interest
 Subject: UserManagers


 Guys, anybody has succesfully implemented en EJBUserManager ?
 I have to deploy my app in a cluster and XMLUserManager won't do...

 I' ve had, in the past, decompiled DataSourceUserManager and recompiled it
 to fix the various bugs in the implementation, but regretably, I'm working
 in a different country and don't have any of the src...

 Anybody looked into EJBUserManager and knows it doesn't work as shipped
 either? that info would help, as I would directly code my own Datasource
 usermanager...

 TIA

 JP








RE: generic access to ejbs

2000-12-14 Thread Werner Bohl

Try EJBVoyager. I found it @ The SourceForge. 

- Original Message - 
From: Marcus Lankenau [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 7:39 AM
Subject: generic access to ejbs


 Hi!
 
 My which for xmas:
 I need a tool (a servlet), wich searches throug jndi  for home
 interfaces of my beans and let me
 find beans (call finders), show em as table (html), let me create new
 beans, delete beans and so on. Does such a tool already exist, os is
 there someone working on this? If not can someone give me hint how to
 search home-interfaces through jndi (example).
 
 
 Marcus Lankenau
 
 





Please help with JNDI-JMS problem

2000-11-22 Thread Werner Bohl

Please help me:

An application client I deployed on 1.4.4 finds references for my remote
ejb's, but it does not get a reference to the remote TopicConnectionFactory.
Run locally works fine.

Thanks in advance,

Werner Bohl
Organization for Tropical Studies
Costa Rica





TopicConnectionFactory problem

2000-11-16 Thread Werner Bohl



Hi:
I have an appplication where the client listens to 
a published Topic on the orion server. It works fine if the client is on the 
same machine as the server, but if the client is run in another machine it 
doesn't find the TopicConnectionFactory on the server, although it has no 
problems getting refs to EJBs. As I deduce from the stack trace, the client is 
tryng to open the TopicConnectionFactory locally. 
So, in short how do you connect a client to a 
remote TopicConnectionFactory?

Thanks in advance,

Werner Bohl
Organization for Tropical Studies
Costa Rica