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

RE: OrionRemoteException: Error (de-)serializing object:

2002-01-08 Thread Manuel De Jesus
Yeah you have to return an arraylist or a vector, i.e something that is serializable. It is never a good idea to pass ResultSet objects around. Although it is attractive in terms of changeability (eg adding more fields etc) to use a ResultSet, it can become a nightmare when there are network probl

user manager, principals & shutdown

2002-01-08 Thread Tim Courtney
I need some help fixing something I broke. I stepped through the user manager tutorial on orionsupport ( http://uk.orionsupport.com/articles/usermanager.html ) and managed to put BASIC authentication on a certain directory on my site. But since then, it seems I deleted the information that all

Re: Passing Interface as an EJB parameter?

2002-01-08 Thread Stephen Davidson
Keith Kee wrote: > Hi: > Is it legal to pass an interface like List as a parameter to a remote > interface of an EJB? Conversely, how about returning an interace like List > as the return type? Since List is an interface and not serializable, I > wonder if it would be marshalled/unmarshalled co

Re: Best way to add user records to EJBUserManager...

2002-01-08 Thread Scott Farquhar
Alex, The Atlassian user admin tool does what you want - no coding required. Download it here: http://www.atlassian.com/software/tools/ You can use it to users in XML files, EJB's - anything that implements the UserManager interface in Orion. Cheers, Scott -- Scott Farquhar :: [EMAIL PROTEC

RE: Best way to add user records to EJBUserManager...

2002-01-08 Thread The elephantwalker
The best way to add users in Orion is with Orion's roleManager interface. This abstracts the usermanager, so that you can define your usermanager api with xml configuration. Check-out this trail the docs here: http://www.orionserver.com/docs/api/com/evermind/security/RoleManager.html At our si

Re: Understanding paths

2002-01-08 Thread Tim Courtney
./ means current directory ie $ORIONHOME/config/ ../ means parent directory ie $ORIONHOME/ OrionDummy wrote: > Yo, > > Could someone explain the ./"a folder" and ../"a folder" used in the > config file. > > > > thanks > > dummy >

Re: question about ip allocation

2002-01-08 Thread Jaikoo
Try changing the port number that Orion accepts requests from 80 to a different unused value e.g 2002. So that the url will look something like http://127.0.0.1:2002 Hope this helps... Jaikoo - Original Message - From: "Morten Raahede Knudsen" <[EMAIL PROTECTED]> To: "Orion-Interest" <[

Re: Passing Interface as an EJB parameter?

2002-01-08 Thread Kesav Kumar
Legally You can declare return types any Interface though the interface may not be extending from Serializable. The marshalling and UnMarshalling happens on the object at runtime the object which you are returning must be serializable. Kesav Kumar - Original Message - From: "Keith Kee" <

Understanding paths

2002-01-08 Thread OrionDummy
Yo, Could someone explain the ./"a folder" and ../"a folder" used in the config file.   thanks dummy

Re: question about ip allocation

2002-01-08 Thread Graham Bennett
On Tue, Jan 08, 2002 at 04:36:28PM +0100, Morten Raahede Knudsen wrote: > I'm sorry if this is a newbie question, but I haven't found the answer > in the archive. My machine has two IP addresses. In my web-site.xml > I have specifically set Orion to use one of those ip addresses. try adding a h

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: Best way to add user records to EJBUserManager...

2002-01-08 Thread The elephantwalker
second try -Original Message- From: The elephantwalker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 8:16 AM To: Orion-Interest; [EMAIL PROTECTED] Subject: RE: Best way to add user records to EJBUserManager... The best way to add users in Orion is with Orion's roleManag

Passing Interface as an EJB parameter?

2002-01-08 Thread Keith Kee
Hi: Is it legal to pass an interface like List as a parameter to a remote interface of an EJB? Conversely, how about returning an interace like List as the return type? Since List is an interface and not serializable, I wonder if it would be marshalled/unmarshalled correctly. Thanks, keith

Re: Orion dies to java.lang.VerifyError

2002-01-08 Thread Kesav Kumar
If you have two different versions of orion servers communicating each other you will get this kind of error. Kesav Kumar - Original Message - From: "Jaakko Saari" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 5:20 AM Subject: Orion dies to

question about ip allocation

2002-01-08 Thread Morten Raahede Knudsen
Hi I'm sorry if this is a newbie question, but I haven't found the answer in the archive. My machine has two IP addresses. In my web-site.xml I have specifically set Orion to use one of those ip addresses. It only answers on that specific ip address. However, when another server (IIS) tries to us

jms problem

2002-01-08 Thread Markus Rinderer
hi ! i am trying to subscribe to topics from my java standalone client application. everything works fine if i use OpenJMS with Orion Application server. when using orion's JMS server i run into the following problem: the client successfully subscribes to the first topic, but hangs when subscribu

Orion dies to java.lang.VerifyError

2002-01-08 Thread Jaakko Saari
Anyone else has this problem with older Orion? This started happening on monday. My 1.4.5 Orion dies on boot to: Exception in thread "main" java.lang.VerifyError: (class: com/evermind/server/ApplicationServer, method: ux signature: ()V) Incompatible object argument for invokespecial I've narr

Follow-up: Deploying Orion1.5.2 App on WebLogic6.1

2002-01-08 Thread John . Miller
Sent an email a while ago about migrating an app developed on Orion 1.5.2 to WebLogic 6.1 and as requested am letting you know about the 'quirks' I encountered!   As its an intranet app and aint gonna have that many hits I didn't opt for using Apache to server static content, but my impress

RE: JMS hangs on TopicSession.createSubscriber

2002-01-08 Thread Carroll, Jim
I found several references to this bug in the mailing list archives but it still seems to be a problem (in 1.5.2). The workaround suggested was to stop the TopicConnection associated with the TopicSession and then do the createSubscriber and then restart the connection but when I do that, it han

Re: Best way to add user records to EJBUserManager...

2002-01-08 Thread Patrick Lightbody
Instead of coding to EJBUserManager directly, I would highly recommend you check out OpenSymphony's OSUser module. It is an abstracted user management layer that works with Orion, Jboss, and Resin, and soon Weblogic, Websphere, and JRun. Using OSUser will truly make your application work on any J2