AW: ClassCastException with struts

2002-03-01 Thread Jan Heise

 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

this sounds definitely like having some jars in the wrong place.
you should check for jars and configs in orion/lib that should not 
be there but should be local to each webapp. (WEB-INF/lib)
the struts jar has to be local to each webapp too.
there is no common config area for struts. 

hth, jan

- --
Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] 

- -Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Lucas
Persona
Gesendet: Donnerstag, 28. Februar 2002 14:41
An: Orion-Interest
Betreff: ClassCastException with struts


Greetings,

  I've been trying Orion and I'm having some problems using multiple 
applications (or copy's from the same application).
  What I have is one application, used (and modified) by some guys.
  So, each one has his own web-app and application and a source / 
library directory.
  The problem seems to be with struts, that always throws a 
ClassCastException when the second application trys to run.
  Without using Struts, everything seems to work fine and each 
application runs separatly. I think that Struts uses some 'common 
area configuration' that can only be created and used by one instance
of a struts.
  Does anyone had the same problem or knows something to help on
that?

Thanks in advance and sorry for my English :)
Lucas


-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBPH9Nd5/YNqVvLvLkEQJrEACgrqc+SNyN9+TlkTiOTZbF6FMHdFoAn3mT
Sh7hFPe5mL9z6uQOvZuXHfud
=2TZa
-END PGP SIGNATURE-





Error creating web deployment directory ?

2002-03-01 Thread Eddie Post

Hellu,
I updated from Orion 152 to 154

If I start Orion I get the following error when Orion tries to start my 
application:
--
Error initializing site Default Orion WebSite: Error creating deployment 
directory: /web
--

If I de-install my application I don't get the error, but ofcourse this 
isn't what I want

I removed my application from the Orion deployment directory and deployed it 
several times to begin with a clean setup but I keep getting the error

I use Windows 2000 with JNT to start Orion

Any idea what's causing the error ?

Hereunder you find the application lines in the serverxml and 
default-web-sitexml

Eddie

Serverxml:
--
application name=sgs path=//Orion_apps/sgs/dist/make/j2ee  /
--

Default-web-stie:
-
web-app application=sgs name=/web root=/groupsend 
load-on-startup=true /



_
Get your FREE download of MSN Explorer at http://explorermsncom/intlasp;





RE: Error creating web deployment directory ?

2002-03-01 Thread thomas.hertz


Hi!

 If I start Orion I get the following error when Orion tries 
 to start my 
 application:
 --
 Error initializing site Default Orion WebSite: Error creating 
 deployment 
 directory: ../web

try to use absolute instead of 
relative paths in your configuration files.

this solved the problem in our project. 

maybe this is a small bug?

greetings from munich

.thomas

-- 

 hybris GmbH   |  Thomas Hertz
 Frankfurter Ring 162  |  Software Engineering
 D-80807 München   |
   | 
 t +49(0)89 89065-0|  [EMAIL PROTECTED]
 f +49(0)89 89065-555  |  www.hybris.com

 PGP: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E
 
 

 -Original Message-
 From: Eddie Post [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, March 01, 2002 11:22 AM
 To: Orion-Interest
 Subject: Error creating web deployment directory ?
 
 
 Hellu,
 I updated from Orion 1.5.2 to 1.5.4.
 
 --
 
 If I de-install my application I don't get the error, but 
 ofcourse this 
 isn't what I want.
 
 I removed my application from the Orion deployment directory 
 and deployed it 
 several times to begin with a clean setup but I keep getting 
 the error.
 
 I use Windows 2000 with JNT to start Orion.
 
 Any idea what's causing the error ?
 
 Hereunder you find the application lines in the server.xml and 
 default-web-site.xml.
 
 Eddie
 
 Server.xml:
 --
 application name=sgs path=../../Orion_apps/sgs/dist/make/j2ee  /
 --
 
 Default-web-stie:
 -
 web-app application=sgs name=../web root=/groupsend 
 load-on-startup=true /
 
 
 
 _
 Get your FREE download of MSN Explorer at 
 http://explorer.msn.com/intl.asp.
 
 
 




HTTP Put Request

2002-03-01 Thread Nebojsa Lazic

Hello everybody,

I've been trying to configure Orion's security to allow some users to
perform HTTP publishing of some files via HTTP PUT requests I think
that I've configured all XMLs properly, but I'm getting 400 response
from the Orion (PUT method is nod supported) Is this possible at
all with Orion, or I'm still missing something in XMLs?

Many thanks,
Nebojsa





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





ejb-ql

2002-03-01 Thread Michael Østergaard Jensen

When will Orion have full-support for ejb-ql?

It would be nice to specify the finder-queries by ejb-ql instead of 
specifying the queries in orion-ejb-jar.xml

System Developer
Michael Østergård Jensen

CIM Industrial Systems A/S
Kildegården 3
DK-7600 Struer
Denmark
Phone +45 96 84 05 00
Mobile +45 61 39 31 19
Fax +45 97 84 10 11
mailto:[EMAIL PROTECTED]
http://www.cim.as






Re: AW: ClassCastException with struts

2002-03-01 Thread Lucas Persona

Hello,

Jan Heise wrote:
 this sounds definitely like having some jars in the wrong place
 you should check for jars and configs in orion/lib that should not
 be there but should be local to each webapp (WEB-INF/lib)
 the struts jar has to be local to each webapp too
 there is no common config area for struts

  Having struts locally on each webapp, strutsjar in WEB-INF/lib/
and struts-config in WEB-INF/, allows to run just one application 
without errors (ClassCastException)
  This happens because all struts-config are the same, just running 
under different copies of the application But struts doesn't seem 
to be able to start multiple action-mappings, even running on 
different webapps
  Don't know if you had this working already

Thanks for your help,
Lucas Persona




Re: Error creating web deployment directory ?

2002-03-01 Thread Mike Cannon-Brookes

This is a bug in 1.5.4 I think, we've been seeing similar behaviour here.
There's nothing in the spec I don't think about having a module called
../web - I agree it makes it much faster to do development with open
source trees like this ;)

I haven't seen it in bugzilla yet, I'll try to remember to file it in the
morning when I wake up.

Cheers,
Mike

On 1/3/02 9:21 PM, Eddie Post ([EMAIL PROTECTED]) penned the words:

 Hellu,
 I updated from Orion 1.5.2 to 1.5.4.
 
 If I start Orion I get the following error when Orion tries to start my
 application:
 --
 Error initializing site Default Orion WebSite: Error creating deployment
 directory: ../web
 --
 
 If I de-install my application I don't get the error, but ofcourse this
 isn't what I want.
 
 I removed my application from the Orion deployment directory and deployed it
 several times to begin with a clean setup but I keep getting the error.
 
 I use Windows 2000 with JNT to start Orion.
 
 Any idea what's causing the error ?
 
 Hereunder you find the application lines in the server.xml and
 default-web-site.xml.
 
 Eddie
 
 Server.xml:
 --
 application name=sgs path=../../Orion_apps/sgs/dist/make/j2ee  /
 --
 
 Default-web-stie:
 -
 web-app application=sgs name=../web root=/groupsend
 load-on-startup=true /
 
 
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp;
 
 





ew

2002-03-01 Thread Catch Em (oude users)






Message status - undeliverable

2002-03-01 Thread Mailer-Daemon

The message that you sent was undeliverable to the following:
ggounden


Information about your message:
Subject: ejb-ql



JMS bind-permissions and remote-access deployments

2002-03-01 Thread Jason Coward

please help if you can

I'm trying to deploy a second application on an Orion instance that is
already bound to another instance of Orion via RMI configuration This RMI
binding is part of a configuration to deploy a single application on
different servers, one with a remote ejb module This works wonderfully
(just followed the remote-access tutorial for that configuration)

However, when I add my application, which depends on a local JMS server
configuration, to the instance that is configured as the RMI client (ie
the one containing the remote server reference to the RMI host), my Orion
(RMI client instance) hangs on startup and throws the following security
exceptions, regardless of the JMS configuration on the RMI host instance of
Orion (ie enabled or disabled)

Error binding server: javalangSecurityException: User does not have a
bind-permission for jms/demoTopic

[repeats for each topic, queue, and factory]


In addition, the RMI host instance throws this exception in the console when
the lockup occurs

javalangNullPointerException
at comevermind_dl_gi
at comevermind_dlresolveClass
at javaioObjectInputStreaminputClassDescriptor (java:918)
at javaioObjectInputStreamreadObject (java:366)
at javaioObjectInputStreamreadObject (java:236)
at javaioObjectInputStreaminputObject (java:1186)
at javaioObjectInputStreamreadObject (java:386)
at javaioObjectInputStreamreadObject (java:236)
at comevermind_cd_nh
at comevermind_cdrun
at comevermind_ifrun

Is this a bug or do I have to do something to configure the JMS server not
to use the remote RMI binding?  It appears as if some sort of RMI lookup to
the bound RMI host from the JMS server on the RMI client machine is getting
stuck -- I just don't understand why it seems like the JMS server is trying
to bind to the RMI host rather than the local server which should be
providing the JMS server to the application I've deployed locally  Or maybe
I just don't understand the relationship between JMS and RMI?


Thanks in advance for any help or direction you can provide

Jason


PS If I shut down the host RMI instance, the other instance unlocks, and
outputs

Error binding to server: comevermindserverrmiOrionRemoteException:
IOError: Descriptor not a socket: socket write error; nested exception is:

[repeats this about 20 to 25 times]

then initializes properly and my new application works perfectly, though
my application with the remote ejb-module is now unusable without the remote
RMI binding