Re: a newbie question: error in deploying a stateless ejb

2002-02-18 Thread Steven Lamb




Are you using Sun's 1.3 deploytool. If so the ejb-jar.xml file does not work with Orion. You need to comment out the security role mappings, repackage the ear file  and redeploy and then it will work fine.



Steve



On Mon, 2002-02-18 at 19:48, daniele rizzi wrote:

Hi all,
this Sunday I've got some time to spare so I tried out
the sun ejb tutorial:

in chapter 1 a stateless ejb is deployed on Application SErver,
then a client connects to it: in this step this error is produced:
what have I done to deserve this?

--- the error ---

com.evermind.server.rmi.OrionRemo
teException: admin is not allowed to call this EJB method, check your
security settings (method-permission in ejb-jar.xml and
security-role-mapping in orion-application.xml).

... etc...



thanx for any help
daniele rizzi
([EMAIL PROTECTED])






-- 
--
Steven Lamb
Java Developer
IS Australia
Phone: 02 6285
Fax: 02 62859988
www: http://www.isa.net.au








a newbie question: error in deploying a stateless ejb

2002-02-18 Thread daniele rizzi


Hi all,
this Sunday I've got some time to spare so I tried out
the sun ejb tutorial:

in chapter 1 a stateless ejb is deployed on Application SErver,
then a client connects to it: in this step this error is produced:
what have I done to deserve this?

--- the error ---

com.evermind.server.rmi.OrionRemo
teException: admin is not allowed to call this EJB method, check your
security settings (method-permission in ejb-jar.xml and
security-role-mapping in orion-application.xml).

... etc...



thanx for any help
daniele rizzi
([EMAIL PROTECTED])





RE: Newbie question

2001-09-23 Thread bill . winspur

Orion is simply an J2EE server (http, jsp and servlets, ejbs, jndi, jms),
plus a relatively immature gui console. It is not a development environment.
Many folks use ANT from apache.org as a make-like facility for coordinating
compiles, and builds of ear files from compiled classes. Hot deployment by
dropping an ear into orion/applications/ works well. Hope this helps. I user
Jbuilder for GUI construction, and idea-intellij for most other coding. Hope
this helps.

-Original Message-
From: Pito Salas [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 3:41 PM
To: Orion-Interest
Subject: Newbie question



I've been working with the Sun J2EE RI. What is the Orion analog to the
Swing "deployment application" for Orion. Mainly I am looking for a tool to
(semi-) automate the creation of EARS, WARS, the various .xml files etc.

Thanks, 

Pito 


THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE, IT MAY 

CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION. ANY 

UNAUTHORISED DISCLOSURE IS STRICTLY PROHIBITED. IF YOU HAVE 

RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US 

IMMEDIATELY SO THAT WE MAY CORRECT OUR INTERNAL RECORDS. 

PLEASE THEN DELETE THE ORIGINAL EMAIL. THANK YOU





Newbie question

2001-09-21 Thread Pito Salas
Title: Newbie question





I've been working with the Sun J2EE RI. What is the Orion analog to the Swing "deployment application" for Orion. Mainly I am looking for a tool to (semi-) automate the creation of EARS, WARS, the various .xml files etc.

Thanks,


Pito





RE: Newbie question on shuting down

2001-07-03 Thread elephantwalker

Ross,

You used the wrong port, 8080. You need to use the rmi port, which is noted
in the rmi.xml documention. You don't have to use the port, the default port
is 23791 for ormi, the Orion RMI port. So when you type
ormi://localhost:8080, ormi driver can't find the port, and this shows up
with the exception.

java -jar admin.jar ormi://localhost admin blahbalh -shutdown force

this will work, everytime, as long as orion is running, and the password is
correct.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ross Cohen
Sent: Tuesday, July 03, 2001 7:01 PM
To: Orion-Interest
Subject: Newbie question on shuting down


Hi all,

I can get orion started as expected, but I seem to have trouble
shutting it down.  This happens on both Linux and Solaris.

Here is my shutdown command:

[rcohen@ajax orion]$  java -jar admin.jar ormi://localhost:8080 admin
mypswd -shutdown


Hers is the result on both OS's:

Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is:
java.io.EOFException: Disconnected


What am I missing?  Do I have to have a separate naming service
running?  If so, where in the docs is it covered - I've looked around.
Any help would be appreciated...

Thx,
Ross





Newbie question on shuting down

2001-07-03 Thread Ross Cohen

Hi all,

I can get orion started as expected, but I seem to have trouble 
shutting it down.  This happens on both Linux and Solaris.

Here is my shutdown command:

[rcohen@ajax orion]$  java -jar admin.jar ormi://localhost:8080 admin
mypswd -shutdown


Hers is the result on both OS's:

Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is: 
java.io.EOFException: Disconnected


What am I missing?  Do I have to have a separate naming service
running?  If so, where in the docs is it covered - I've looked around.
Any help would be appreciated...

Thx,
Ross




RE: Orion Newbie Question about frontend with Apache and disabling the Orion listener

2001-06-11 Thread elephantwalker



You 
can specify what ip address you are hosting in the *web-site.xml. If this ip 
address is not accessible by the internet (ie, its on a local network), then 
only the local net (the apache server, for example) will have 
access.
 
regards,
 
the 
elephantwalker

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Don 
  GaulSent: Monday, June 11, 2001 6:36 PMTo: 
  Orion-InterestSubject: Orion Newbie Question about frontend with 
  Apache and disabling the Orion listener
  
  Someone asked me the other day when we’re 
  discussing Orion and Oracle IAS9i/OC4J whether you could use an Apache front 
  end and the answer is well documented, on the Orion (and/or Orionserver) web 
  site as well as in the Oracle OC4J documentation, as 
  YES.
   
  Then I was asked 
  
   
  Can I guarantee that all web traffic to the 
  web server is ONLY going through the Apache front-end and not doing an 
  end-around by using the Orion listener as a ”back door”?  I’m assuming he wanted to disable the 
  Orion listener to force the Apache front end as the sole point of 
  contact…
   
  I’ve checked the Orion and Orionserver web 
  sites, as well as the Oracle OC4J doc, and I can’t find how to do this 
  …
   
  Either I missed it (VERY probably the case) 
  or it’s not possible… 
   
  Any advice on how to do this would be 
  appreciated.
  
   
   
  By the way 
  …
   
  I’m very pleased that Oracle has identified 
  this outstanding product exists and managed to persuade the Ironflare 
  developers to let Oracle acquire the right to incorporate it into IAS9i. 
  
   
  I missed 
  Java One. Does anyone have a web site where this quote is 
  listed?
   
  I think 
  Larry Ellison said it best, when, at Java One, he said …
   
  "We have 
  thrown out literally all of our old Java code.  The reason we threw away all of our 
  old J2EE implementations is we had to build a high
  performance, 
  scaleable version of J2EE. We think that this is a huge breakthrough for the 
  entire Java community because it addresses the single
  biggest 
  threat to Java, which is performance."
   
  It sounds 
  like him!!
   
   
  
   
   
   
  Don aka 
  Bubba


Orion Newbie Question about frontend with Apache and disabling the Orion listener

2001-06-11 Thread Don Gaul








Someone asked me the other day when we’re discussing
Orion and Oracle IAS9i/OC4J whether you could use an Apache front end and the
answer is well documented, on the Orion (and/or Orionserver) web site as well
as in the Oracle OC4J documentation, as YES.

 

Then I was asked 

 

Can I guarantee that all web traffic to the
web server is ONLY going through the Apache front-end and not doing an
end-around by using the Orion listener as a ”back door”?  I’m assuming he wanted to disable the
Orion listener to force the Apache front end as the sole point of contact…

 

I’ve checked the Orion and Orionserver web
sites, as well as the Oracle OC4J doc, and I can’t find how to do this …

 

Either I missed it (VERY probably the case)
or it’s not possible… 

 

Any advice on how to do this would be
appreciated.



 



 

By the way …

 

I’m very pleased that Oracle has identified
this outstanding product exists and managed to persuade the Ironflare developers
to let Oracle acquire the right to incorporate it into IAS9i. 

 

I missed Java One. Does anyone have a web site where this quote
is listed?

 

I think Larry Ellison said it best, when, at Java One, he
said …

 

"We have thrown out literally all of our old Java
code.  The reason we threw away all
of our old J2EE implementations is we had to build a high

performance, scaleable version of J2EE. We think that this
is a huge breakthrough for the entire Java community because it addresses the
single

biggest threat to Java, which is performance."

 

It sounds like him!!

 

 



 



 

 

Don aka Bubba








RE: Virtual Hosts - Newbie question

2001-06-09 Thread Larry Velez
Title: RE: Virtual Hosts - Newbie question






hosts.sam is a sample hosts file.  Only the hosts file needs to be changed.  A reboot is not necessary but you will have to close all your browser and command line windows for them to realize the change.

-Larry


-Original Message-
From: Lance Lavandowska [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 10:46 PM
To: Orion-Interest
Subject: Re: Virtual Hosts - Newbie question



On NT you shouldn't need to reboot to take advantage of changes to Hosts
(I never have had to).  If you are on another Windows platform (such as
2000) look for a file named hosts.sam.  On older windows there are
actually more than one "hosts" file, and we've never been able to
establish exactly which one you need to change (we just change them all),
and they do require a reboot more often than not.


- Original Message -
From: "Boris Erukhimov" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 3:08 PM
Subject: Re: Virtual Hosts - Newbie question



> You need to set up your own little DNS.
> I assume you're on NT otherwise as a UNIX user you'd sure knew how to do
> it.
> If so
>
> 1. Open a file  \WINNT\system32\drivers\etc\Hosts
> 2. Below the line
>    127.0.0.1   localhost
>
>    Add a line
>    127.0.0.1   www.example1.com
>
> 3. Reboot
>
> That should do it
> ~be






Re: Virtual Hosts - Newbie question

2001-06-08 Thread Lance Lavandowska

On NT you shouldn't need to reboot to take advantage of changes to Hosts
(I never have had to).  If you are on another Windows platform (such as
2000) look for a file named hosts.sam.  On older windows there are
actually more than one "hosts" file, and we've never been able to
establish exactly which one you need to change (we just change them all),
and they do require a reboot more often than not.

- Original Message -
From: "Boris Erukhimov" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 3:08 PM
Subject: Re: Virtual Hosts - Newbie question


> You need to set up your own little DNS.
> I assume you're on NT otherwise as a UNIX user you'd sure knew how to do
> it.
> If so
>
> 1. Open a file  \WINNT\system32\drivers\etc\Hosts
> 2. Below the line
>127.0.0.1   localhost
>
>Add a line
>127.0.0.1   www.example1.com
>
> 3. Reboot
>
> That should do it
> ~be






Re: Virtual Hosts - Newbie question

2001-06-08 Thread Boris Erukhimov

You need to set up your own little DNS.
I assume you're on NT otherwise as a UNIX user you'd sure knew how to do
it.
If so 

1. Open a file  \WINNT\system32\drivers\etc\Hosts
2. Below the line 
127.0.0.1   localhost

   Add a line
127.0.0.1   www.example1.com

3. Reboot

That should do it
~be

That should do it
G T wrote:
> 
> I'm not able to ping either of the 2. How do I make it point to it.
> I am able to ping local host. And I am able to run all the applications part
> of the default-web-app. Is there any thing else that needs to be done to
> point www.example1.com to my box
> 
> - Original Message -
> just to eliminate the obvious: have you made sure that
> http://www.example1.com is pointing to your box?
> (trying pinging to be certain).
> 
> Otherwise, your xml files look good.
> 
> Lance Lavandowska
> www.Brainopolis.com
> 
> - Original Message -
> From: "G T" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 3:47 PM
> Subject: Virtual Hosts - Newbie question
> 
> >I followed the steps given in OrionSupport.com to set up virtual hosts but
> I
> >am still not able to run it successfully.
> >On typing www.example1.com it refuses to look into my server, instead it
> >tries to go to internet
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Virtual Hosts - Newbie question

2001-06-08 Thread G T

I'm not able to ping either of the 2. How do I make it point to it.
I am able to ping local host. And I am able to run all the applications part 
of the default-web-app. Is there any thing else that needs to be done to 
point www.example1.com to my box


- Original Message -
just to eliminate the obvious: have you made sure that
http://www.example1.com is pointing to your box?
(trying pinging to be certain).

Otherwise, your xml files look good.

Lance Lavandowska
www.Brainopolis.com

- Original Message -
From: "G T" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 3:47 PM
Subject: Virtual Hosts - Newbie question


>I followed the steps given in OrionSupport.com to set up virtual hosts but
I
>am still not able to run it successfully.
>On typing www.example1.com it refuses to look into my server, instead it
>tries to go to internet




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





Re: Virtual Hosts - Newbie question

2001-06-08 Thread Lance Lavandowska

just to eliminate the obvious: have you made sure that
http://www.example1.com is pointing to your box?
(trying pinging to be certain).

Otherwise, your xml files look good.

Lance Lavandowska
www.Brainopolis.com

- Original Message -
From: "G T" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 3:47 PM
Subject: Virtual Hosts - Newbie question


> I followed the steps given in OrionSupport.com to set up virtual hosts but
I
> am still not able to run it successfully.
> On typing www.example1.com it refuses to look into my server, instead it
> tries to go to internet






Virtual Hosts - Newbie question

2001-06-08 Thread G T

I followed the steps given in OrionSupport.com to set up virtual hosts but I 
am still not able to run it successfully.
On typing www.example1.com it refuses to look into my server, instead it 
tries to go to internet

Here are the following changes I made
1. Created the application as mentioned under the application directory 
(create the necessary dir structure, index.html and web.xml)
2. Created example1-web-site.xml and example1-web-site.xml and cutnpaste the 
stuff given in the document










3. Added the foll to application.xml

  
  
4. Added the foll to server.xml

  
  

Have I missed out something
On typing www.example1.com I get (There was no response. The server could be 
down or not responding)

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





url-pattern and path mapping (newbie question)

2001-06-07 Thread sadie contini

hi,

i have a directory of files /new/happy/* that i want to map to /happy/* so
any links to /happy/file.jsp will be directed to /new/happy/file.jsp

do i do this with servlet mapping in web.xml even though i'm not mapping a
servlet really?  or with virtual directory mapping in orion-web.xml even
though i'm not mapping a full path but an already virtual path?  i've looked
around in the config documentation, but maybe i missed something?

so far i've tried this in the web.xml which didn't seem like it should work
and isn't   :)

   
  happy
  happy Directory
  /new/happy/*
   
   
  happy
  /happy/*
   

thanks ahead of time,
sadie







Newbie Question-Running Cart Example

2001-05-29 Thread Sean McTigue

I followed the enclosed instructions, when I attempt to run: java -classpath
../../../orion.jar:../../../ejb.jar:../../../jndi.jar CartClient I get a 
"Exception in thread "main" java.lang.NoClassDefFoundError: CartClient"
error message. Sorry for the basic question. 




Re: Newbie Question.

2001-05-04 Thread Johan Fredriksson



Which is located in 
orion/application-deployments///orion-web.xml
 
Johan

  - Original Message - 
  From: 
  Earl 
  Marwil 
  To: Orion-Interest 
  Sent: Thursday, May 03, 2001 6:27 
PM
  Subject: Re: Newbie Question.
  One possible cause is that directory browsing is disabled by 
  default. Are you pointing to the jsp in your request on just the directory 
  that contains it? If the latter, you may set a welcome file in the web.xml 
  configuration file. Another possibility on Linux systems is that the file 
  persmissions are not correct.To enable directory browsing, set the 
  attribute directory-browsing="allow" for the tag  in the 
  orion-web.xml file.Regards,Earl At 10:06 5/3/2001 
  -0400, you wrote:
  Hi, I'm new to the group, and orion, so I hope that 
you'll put up with what may be stupid simple questions for a 
bit.I've installed Orion, and am trying 
to port a very simple proof of concept app to it, just to get it running.( 
the total app is 2 jsps, one servlet, and one tag). I followed directions, 
to the best that I can, followed threads here, picking up hints and tips 
that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/  ( and I was HAPPY when 
I got that instead of 404's :). )    Can anyone point me on the right direction from 
here? ( FAQ, docs, hey stupiddo THIS!! ...) Thanks Greg 
  Earl Marwil
  SCIENTECH, Inc.
  1690 International Way
  Idaho Falls, ID 83402208.525.3717 


Re: Newbie Question.

2001-05-03 Thread Greg Mowery



Thanks!!  About an hour after I sent this, 
I discovered the web.xml file was pointing at index.html, NOT index.jsp as I had 
thought(newbie mistake, was editing the wrong web.xml file...duh!).
 Anyway, all is working now, and I'm happily 
stepping through my code in VC and Orion..
 
Greg

  - Original Message - 
  From: 
  Earl 
  Marwil 
  To: Orion-Interest 
  Sent: Thursday, May 03, 2001 12:27 
  PM
  Subject: Re: Newbie Question.
  One possible cause is that directory browsing is disabled by 
  default. Are you pointing to the jsp in your request on just the directory 
  that contains it? If the latter, you may set a welcome file in the web.xml 
  configuration file. Another possibility on Linux systems is that the file 
  persmissions are not correct.To enable directory browsing, set the 
  attribute directory-browsing="allow" for the tag  in the 
  orion-web.xml file.Regards,Earl At 10:06 5/3/2001 
  -0400, you wrote:
  Hi, I'm new to the group, and orion, so I hope that 
you'll put up with what may be stupid simple questions for a 
bit.I've installed Orion, and am trying 
to port a very simple proof of concept app to it, just to get it running.( 
the total app is 2 jsps, one servlet, and one tag). I followed directions, 
to the best that I can, followed threads here, picking up hints and tips 
that have helped. The BEST that I can get is a 403(forbidden) error on http://127.0.0.1/  ( and I was HAPPY when 
I got that instead of 404's :). )    Can anyone point me on the right direction from 
here? ( FAQ, docs, hey stupiddo THIS!! ...) Thanks Greg 
  Earl Marwil
  SCIENTECH, Inc.
  1690 International Way
  Idaho Falls, ID 83402208.525.3717 


Re: Newbie Question.

2001-05-03 Thread Stan Ng



you might also want to check out the primers at http://www.jollem.com for extra tips, but i 
agree that it does seem that directory browsing is turned off if you're getting 
a 403 instead of 404's.
 
 

  - Original Message - 
  From: 
  Greg Mowery 
  To: Orion-Interest 
  Sent: Thursday, May 03, 2001 7:06 
AM
  Subject: Newbie Question.
  
  Hi,
   I'm new to the group, and orion, so I hope 
  that you'll put up with what may be stupid simple questions for a 
  bit.
  I've installed Orion, and am trying to port a 
  very simple proof of concept app to it, just to get it running.( the total app 
  is 2 jsps, one servlet, and one tag). I followed directions, to the best that 
  I can, followed threads here, picking up hints and tips that have helped. The 
  BEST that I can get is a 403(forbidden) error on http://127.0.0.1/  ( and I was HAPPY when I 
  got that instead of 404's :). )
      Can anyone point me on the 
  right direction from here? ( FAQ, docs, hey stupiddo THIS!! 
  ...)
   
  Thanks
   
  Greg
   


Re: Newbie Question.

2001-05-03 Thread Earl Marwil

One possible cause is that directory browsing is disabled by default. Are
you pointing to the jsp in your request on just the directory that
contains it? If the latter, you may set a welcome file in the web.xml
configuration file. Another possibility on Linux systems is that the file
persmissions are not correct.

To enable directory browsing, set the attribute
directory-browsing="allow" for the tag  in
the orion-web.xml file.

Regards,

Earl
 
At 10:06 5/3/2001 -0400, you wrote:
Hi,
 I'm new to the group, and orion, so I
hope that you'll put up with what may be stupid simple questions for a
bit.
I've installed Orion, and am trying to port a
very simple proof of concept app to it, just to get it running.( the
total app is 2 jsps, one servlet, and one tag). I followed directions, to
the best that I can, followed threads here, picking up hints and tips
that have helped. The BEST that I can get is a 403(forbidden) error on
http://127.0.0.1/  ( and I was HAPPY
when I got that instead of 404's :). )
    Can anyone point me on the
right direction from here? ( FAQ, docs, hey stupiddo THIS!!
...)
 
Thanks
 
Greg
 
Earl Marwil
SCIENTECH, Inc.
1690 International Way
Idaho Falls, ID 83402
208.525.3717



Newbie Question.

2001-05-03 Thread Greg Mowery



Hi,
 I'm new to the group, and orion, so I hope 
that you'll put up with what may be stupid simple questions for a 
bit.
I've installed Orion, and am trying to port a very 
simple proof of concept app to it, just to get it running.( the total app is 2 
jsps, one servlet, and one tag). I followed directions, to the best that I can, 
followed threads here, picking up hints and tips that have helped. The BEST that 
I can get is a 403(forbidden) error on http://127.0.0.1/  ( and I was HAPPY when I 
got that instead of 404's :). )
    Can anyone point me on the right 
direction from here? ( FAQ, docs, hey stupiddo THIS!! ...)
 
Thanks
 
Greg
 


RE: Taglibs - a newbie question

2001-04-26 Thread mike

Johan,

Hmm, can you provide some more info? Are you getting an error? How is
getNext() implemented (what does it iterate over? java.sql.ResultSet?) ?

You may just need some well placed debugging output to see where things are
failing?

I've researched and implemented tag extensions quite a bit ... feel free to
send code and/or more info on or off the list and I'll do my best to help
out.

Mike Bannister
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Johan Fredriksson
Sent: Thursday, April 26, 2001 5:23 AM
To: Orion-Interest
Subject: Taglibs - a newbie question


I'm new to taglibs, and so far it really seems like a great idea. But I
cannot get the collaborating tags to work the way I want them to.

I want to create a html file like this

<%@ taglib uri="mytags" prefix="mt" %>


 
  
   

   
Datum 2001-01-01
   

   

   
   

   
   
  
 



I cannot get the GetFAQTag to iterate...! From the GetQuestionTag ( and
answer) I call

GetFAQTag faqparent = (GetFAQTag) findAncestorWithClass(this,
GetFAQTag.class);

and then I call a method called faqparent.getNext(); which returns me the
question or the answer.

I suppose I have figured out what types of tags I should use when doing this
kind of tag interaction.

Did the tutorials on the orionserver.com but my inferior brain cannot figure
out how to combine these things to do what I want, so if anyone could give
me a hint I would be very grateful!

Thnx in advance


Johan





Re: Taglibs - a newbie question

2001-04-26 Thread Johan Fredriksson



I solved it...

  - Original Message - 
  From: 
  Johan Fredriksson 

  To: Orion-Interest 
  Sent: Thursday, April 26, 2001 11:22 
  AM
  Subject: Taglibs - a newbie 
question
  
  I'm new to taglibs, and so far it really seems 
  like a great idea. But I cannot get the collaborating tags to work the way I 
  want them to. 
   
  I want to create a html file like 
  this
   
  <%@ taglib uri="mytags" prefix="mt" 
  %>
   
    
   
     Datum 
  2001-01-01
   
  I cannot get the GetFAQTag to iterate...! From 
  the GetQuestionTag ( and answer) I call
   
  GetFAQTag faqparent = (GetFAQTag) 
  findAncestorWithClass(this, GetFAQTag.class);
   
  and then I call a method called 
  faqparent.getNext(); which returns me the question or the answer.
   
  I suppose I have figured out what types of tags I 
  should use when doing this kind of tag interaction. 
   
  Did the tutorials on the orionserver.com but my 
  inferior brain cannot figure out how to combine these things to do what I 
  want, so if anyone could give me a hint I would be very grateful!
   
  Thnx in advance
   
   
  Johan
   
   
   


Taglibs - a newbie question

2001-04-26 Thread Johan Fredriksson



I'm new to taglibs, and so far it really seems like 
a great idea. But I cannot get the collaborating tags to work the way I want 
them to. 
 
I want to create a html file like this
 
<%@ taglib uri="mytags" prefix="mt" 
%>
 
  
 
   Datum 
2001-01-01
 
I cannot get the GetFAQTag to iterate...! From the 
GetQuestionTag ( and answer) I call
 
GetFAQTag faqparent = (GetFAQTag) 
findAncestorWithClass(this, GetFAQTag.class);
 
and then I call a method called 
faqparent.getNext(); which returns me the question or the answer.
 
I suppose I have figured out what types of tags I 
should use when doing this kind of tag interaction. 
 
Did the tutorials on the orionserver.com but my 
inferior brain cannot figure out how to combine these things to do what I want, 
so if anyone could give me a hint I would be very grateful!
 
Thnx in advance
 
 
Johan
 
 
 


Re: Newbie Question...

2001-04-19 Thread Michael Jara

I don't think that Orion supports RMI-IIOP, which is what you would need to
access your EJBs with CORBA.

The Sun reference implementation does support this, but it's not required in
EJB 1.1.  (Although I'm sure there are commercial app servers out there that
support it.)  I beleive that RMI-IIOP support will be in the EJB 2 spec.

Mike

- Original Message -
From: "Lachezar Dobrev" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 7:32 AM
Subject: Newbie Question...


>Until now I have developed EJBs for use with a CORBA broker.
>However, I did not see such a thing in ORION.
>Question: How (and can I) do I adress EJBs from my outside-of-orion
> applications?
>I was able to create a couple of basic EJBs. Well... Had to move them
to
> ORION. My problem is, that my apps now cannot adress these EJBs. Is it
> possible at all, or not? If yes, than how, 'cause I saw nothing on this
> subject neither in the documentation, nor in the tutorials.
>
>Thanks in advance.
>Lachezar.
>
>
>
>





RE: Newbie Question...

2001-04-19 Thread elephantwalker

It appears that you can use a client which only accesses the ejb using an
ORB. However, the key thing here is the RMI/IIOP. I am not sure that Orion
implements this. Most appservers have their own over the wire protocol for
execution of ejbs, since RMI/IIOP is so damn slow.

So, a CORBA client should be able to pass messages and get messages from an
EJB on Orion, but only if Orion implements RMI/IIOP.

Regards,

The elephantwalker

This is directly from the java website
(http://www.javasoft.com/j2ee/corba/):



EJBs use the RMI/IDL CORBA subset for their distributed object model, and
use the Java Transaction Service (JTS) for their distributed transaction
model. When Enterprise JavaBeans are implemented using the RMI-IIOP protocol
for EJB interoperability in heterogeneous server environments, the standard
mapping of the EJB architecture to CORBA enables the following
interoperability:


A client using an ORB from one vendor can access enterprise beans residing
on an EJB server provided by another vendor.

Enterprise beans in one EJB server can access enterprise beans in another
EJB server.

A non-Java platform CORBA client can access any enterprise bean object.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lachezar
Dobrev
Sent: Thursday, April 19, 2001 6:32 AM
To: Orion-Interest
Subject: Newbie Question...


   Until now I have developed EJBs for use with a CORBA broker.
   However, I did not see such a thing in ORION.
   Question: How (and can I) do I adress EJBs from my outside-of-orion
applications?
   I was able to create a couple of basic EJBs. Well... Had to move them to
ORION. My problem is, that my apps now cannot adress these EJBs. Is it
possible at all, or not? If yes, than how, 'cause I saw nothing on this
subject neither in the documentation, nor in the tutorials.

   Thanks in advance.
   Lachezar.








Re: Newbie Question...

2001-04-19 Thread Hani Suleiman

Application clients will let you access your EJBs from your
outside-of-orion applications. Check the J2EE spec for more info about
this.

Hani

On Thu, 19 Apr 2001, Lachezar Dobrev wrote:

>Until now I have developed EJBs for use with a CORBA broker.
>However, I did not see such a thing in ORION.
>Question: How (and can I) do I adress EJBs from my outside-of-orion
> applications?
>I was able to create a couple of basic EJBs. Well... Had to move them to
> ORION. My problem is, that my apps now cannot adress these EJBs. Is it
> possible at all, or not? If yes, than how, 'cause I saw nothing on this
> subject neither in the documentation, nor in the tutorials.
> 
>Thanks in advance.
>Lachezar.
> 
> 
> 
> 
> 





Newbie Question...

2001-04-19 Thread Lachezar Dobrev

   Until now I have developed EJBs for use with a CORBA broker.
   However, I did not see such a thing in ORION.
   Question: How (and can I) do I adress EJBs from my outside-of-orion
applications?
   I was able to create a couple of basic EJBs. Well... Had to move them to
ORION. My problem is, that my apps now cannot adress these EJBs. Is it
possible at all, or not? If yes, than how, 'cause I saw nothing on this
subject neither in the documentation, nor in the tutorials.

   Thanks in advance.
   Lachezar.







newbie question. Please help!

2001-03-12 Thread felix schmid

Hi there,

I am new to EJB's and Orion, and I got Problems deploying my first EJB
application. I rewrote the OrionPrimer from orionsupport.com, changing package and
class names and adjusted the build.xml and the other descriptors, but Orion
reports this error on startup:


Orion/1.4.5 initialized
Auto-unpacking /root/ejb/session-bean/build/session-bean.ear... Error
unpacking: IO Error: error in opening zip file
Error instantiating application at
file:/root/ejb/session-bean/build/session-bean.ear: Unable to find/read assembly info 
for
/root/ejb/session-bean/build/session-bean (IO error: unable to find session-bean)


I compared the file and directory structures of the two applications and
they seem to match.
Can anyone help me please? If so, please crosspost at [EMAIL PROTECTED]

regards,
felix


-- 
Sent through GMX FreeMail - http://www.gmx.net





RE: A newbie question - problems with JDBC-connection

2000-11-28 Thread Kevin Duffey

If you don't mind..can you help explain to me how you even got this far? I
just installed Oracle Personal Edition, and I would like to get Orion to
pool connections, use a DataSource, and so on. I don't know about using
entity beans yet..I don't think EJB 1.1 entity is powerful enough yet..but
2.0 should be. Until then, I only have 5 tables to work with, which I will
use SQL for in the EJB session bean.

So if you could possibly explain what JDBC type 4 driver you are using
(where you got it from.URL?), how you got Orion to use it as a DataSource
instead of the Hypersonic SQL one it defaults to, and so on...I would be
much appreciated.

Thanks.

> Hi!
>
> I am pretty new to applicationservers and thus trying the grasp
> the nuts and bolts.
> I have just finished a sessionbean (via a servlet) which connects
> to a database and reads a specified table.
> Everything works fine the first time a run my servlet. But the
> second time, I get no connection,
> either of the pool or a new one. I run my example, as
> recommended, by ejb-location="jdbc/DefaultEJBDS"
> and I am using classes111.zip from Oracle.
>
> Can anyone help with this problem and also explain the principals
> behind what is happening below.
>
> C:\orion>java -Ddatasource.verbose=true -jar orion.jar
> DataSource logwriter activated...
> jdbc:oracle:thin:@myserver:1521:myInstance: Started
> jdbc:oracle:thin:@myserver:1521:myInstance: Started
> Orion Pooled jdbc:oracle:thin:@myserver:1521:myInstance: Started
> Orion/1.3.8 initialized
> Created new physical connection: XA XA Orion Pooled
> jdbc:oracle:thin:@myserver:1521
> :SATT
> null: Connection XA XA Orion Pooled
> jdbc:oracle:thin:@myserver:1521:myInstance allocated
> (Pool size: 0)
> jdbc:oracle:thin:@myserver:1521:myInstance: Opened connection
> Created new physical connection: Pooled
> oracle.jdbc.driver.OracleConnection@c24c
> 0
> Pooled jdbc:oracle:thin:@myserver:1521:SATT: Connection Pooled
> oracle.jdbc.driver.O
> racleConnection@c24c0 allocated (Pool size: 0)
> Pooled jdbc:oracle:thin:@myserver:1521:SATT: Releasing connection
> Pooled oracle.jdb
> c.driver.OracleConnection@c24c0 to pool (Pool size:
> [Ljavax.sql.PooledConnection
> ;@5f8172)
> null: Releasing connection XA XA Orion Pooled
> jdbc:oracle:thin:@myserver:1521:myInstance
> to pool (Pool size: [Ljavax.sql.PooledConnection;@2ba11b)
> Orion Pooled jdbc:oracle:thin:@myserver:1521:myinstance: Cache
> timeout, closing connectio
> n (Pool size: 0)
> jdbc/DefaultEJBDS: Cache timeout, closing connection (Pool size: 0)
>
> Best regards
>
> /Theis
>





A newbie question - problems with JDBC-connection

2000-11-28 Thread theis . meggerle

Hi!

I am pretty new to applicationservers and thus trying the grasp the nuts and bolts.
I have just finished a sessionbean (via a servlet) which connects to a database and 
reads a specified table.
Everything works fine the first time a run my servlet. But the second time, I get no 
connection,
either of the pool or a new one. I run my example, as recommended, by 
ejb-location="jdbc/DefaultEJBDS"
and I am using classes111.zip from Oracle.

Can anyone help with this problem and also explain the principals behind what is 
happening below.

C:\orion>java -Ddatasource.verbose=true -jar orion.jar
DataSource logwriter activated...
jdbc:oracle:thin:@myserver:1521:myInstance: Started
jdbc:oracle:thin:@myserver:1521:myInstance: Started
Orion Pooled jdbc:oracle:thin:@myserver:1521:myInstance: Started
Orion/1.3.8 initialized
Created new physical connection: XA XA Orion Pooled jdbc:oracle:thin:@myserver:1521
:SATT
null: Connection XA XA Orion Pooled jdbc:oracle:thin:@myserver:1521:myInstance 
allocated
(Pool size: 0)
jdbc:oracle:thin:@myserver:1521:myInstance: Opened connection
Created new physical connection: Pooled oracle.jdbc.driver.OracleConnection@c24c
0
Pooled jdbc:oracle:thin:@myserver:1521:SATT: Connection Pooled oracle.jdbc.driver.O
racleConnection@c24c0 allocated (Pool size: 0)
Pooled jdbc:oracle:thin:@myserver:1521:SATT: Releasing connection Pooled oracle.jdb
c.driver.OracleConnection@c24c0 to pool (Pool size: [Ljavax.sql.PooledConnection
;@5f8172)
null: Releasing connection XA XA Orion Pooled 
jdbc:oracle:thin:@myserver:1521:myInstance
to pool (Pool size: [Ljavax.sql.PooledConnection;@2ba11b)
Orion Pooled jdbc:oracle:thin:@myserver:1521:myinstance: Cache timeout, closing 
connectio
n (Pool size: 0)
jdbc/DefaultEJBDS: Cache timeout, closing connection (Pool size: 0)

Best regards

/Theis





newbie question : fail to deploy a 'helloworld' bean

2000-11-16 Thread Rodolphe Godreul

hi there !

i am trying to deploy a basic helloworld bean with orionserver but i get
an unexpected error when deploying :

Error loading package at
file:/D:/Rodolphe/Bin/orion/orion1.3.8/orion/applications/internetsuite/helloworld-ejb.jar,
Error parsing META-INF/ejb-jar.xml in
D:\Rodolphe\Bin\orion\orion1.3.8\orion\applications\internetsuite/helloworld-ejb.jar:
Fatal error at line 377: Character conversion error: "Unconvertible
UTF-8 character beginning with 0x91" (line number may be too low).

the bean has been sucessfully deployed with SUN's reference
implementation J2EE.
So i suspect the problem comes from orion ...
I ve seen a POST about the same problem in the Mailing-List archive
(11/10/2000) but there was no answer

I can not see anything wrong in my META-INF/ejb-jar.xml file :


http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>

HelloWorld
HelloWorld


HelloWorld
HelloWorld
HelloWorld
com.genesys.is.helloworld.ejb.HelloWorldHome
com.genesys.is.helloworld.ejb.HelloWorld

com.genesys.is.helloworld.ejb.HelloWorldEJB
Stateless
Bean





The only noticeable difference with the ejb-jar.xml i ve looked at in
the examples is the DOCTYPE :
http://java.sun.com/j2ee/dtds/ejb-jar_1_2.dtd">
i ve changed it cos this URL is not valid.
Anyway, that does not resolve my problem whatever DOCTYPE URL i provide
in my ejb-jar.xml 

I hope somebody helps
otherwise, i'll have to forget about orion and go for an other one.

thanks, rodolphe





Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Hitesh Jasani

Robert,

Check the principals.xml file in the config directory.  In it you should find
an entry for the admin user and his password  -- see below.



The default administrator





Enjoy,
Hitesh


Robert Keith wrote:

> Hi Guys,
>
> I have trawled through the docs to try and find a way to shut orion down
> cleanly, however I can't find the default username and password in order to
> shut it down. Can you guys let me know what it is?
>
> cheers
>
> Rob





Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Chris Woods

On Thu, Oct 12, 2000 at 12:17:06PM +0100, Robert Keith wrote:
> Hi Guys,
> 
> I have trawled through the docs to try and find a way to shut orion down
> cleanly, however I can't find the default username and password in order to
> shut it down. Can you guys let me know what it is?

java -jar admin.jar ormi://localhost   -shutdown

Give that a go. (It's _almost_ covered in the FAQ under "How do I restart
Orion?")

HTH.

-- 
  Chris Woods
  [EMAIL PROTECTED]
  ICQ #21740987
  AIM GnarlyBob69




Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Miles Daffin

See the 'orion/Readme.txt' (should be renamed to README_FIRST.txt - I missed
it for days).

Follow the instructions. General ACL stuff is set in /config/principals.xml.

* To shutdown:java -jar admin.jar ormi://localhost/ 
 -shutdown
* To restart:java -jar admin.jar ormi://localhost/ 
 -restart

Some people (me too) have had trouble with -restart command. You can get all
kinds of Exceptions at various times, and I cannot see why (the weather?). I
run all commands from batch files so I know it's not typos. Mostly it works
but sometimes it doesn't. -shutdown almost always works. Ctrl + C works
every time!

> Hi Guys,
>
> I have trawled through the docs to try and find a way to shut orion down
> cleanly, however I can't find the default username and password in order
to
> shut it down. Can you guys let me know what it is?
>
> cheers
>
> Rob
>
>





Re: NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Sven van 't Veer



Robert Keith wrote:
> 
> Hi Guys,
> 
> I have trawled through the docs to try and find a way to shut orion down
> cleanly, however I can't find the default username and password in order to
> shut it down. Can you guys let me know what it is?
> 
> cheers
> 
> Rob
I guess it's the one you created with: java -jar orion.jar -install

sven

-- 
==
Sven E. van 't Veer  
http://www.cachoeiro.net
Java Developer  [EMAIL PROTECTED]
==




NEWBIE QUESTION: How do I shut this thing down

2000-10-12 Thread Robert Keith

Hi Guys,

I have trawled through the docs to try and find a way to shut orion down
cleanly, however I can't find the default username and password in order to
shut it down. Can you guys let me know what it is?

cheers

Rob





Re: OrionServer newbie question

2000-09-13 Thread Al Fogleson

I dont know as orion is any worse than anything else for jsp's. We use
netscape at work on this job (my current one) and it doesnt do any decent
logging when something goes wrong either. In a JSP it either works, or it
doesnt. :)

Al

- Original Message -
From: "Bill Girten" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 9:02 PM
Subject: OrionServer newbie question


> It appears that the logs don't offer much for reporting exceptions when
> a jsp is launched.  Is there an area that helps pinpoint where things
> (jars, etc.) go wrong?
>
> Thanks in advance.
>
> - Bill Girten / TechSurfers, Inc.
>
>





OrionServer newbie question

2000-09-13 Thread Bill Girten

It appears that the logs don't offer much for reporting exceptions when
a jsp is launched.  Is there an area that helps pinpoint where things
(jars, etc.) go wrong?

Thanks in advance.

- Bill Girten / TechSurfers, Inc.





RE: Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Richard Landon



-Original Message-
From: Richard Landon 
Sent: Thursday, September 07, 2000 2:40 PM
To: 'Orion-Interest'
Subject: Orion Newbie Question: Deploytool like UI and such


We have been doing some J2EE development using the J2EE RI.
Is there an equivalent to deploytool for Orion.
How do I programmatically deploy an application.
Currently we use an ant task to execute deploytool appropriately for the
J2EE RI.

Any guidance is appreciated in advance.

Regards, Rick Landon




Re: Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Vincent Serpico

Richard Landon wrote:

> We have been doing some J2EE development using the J2EE RI.
> Is there an equivalent to deploytool for Orion.
> How do I programmatically deploy an application.
> Currently we use an ant task to execute deploytool appropriately for the
> J2EE RI.
>
> Any guidance is appreciated in advance.
>
> Regards, Rick Landon

I haven't had much success with them. I do all my EJB deployment by hand.

-serpico





Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Richard Landon

We have been doing some J2EE development using the J2EE RI.
Is there an equivalent to deploytool for Orion.
How do I programmatically deploy an application.
Currently we use an ant task to execute deploytool appropriately for the
J2EE RI.

Any guidance is appreciated in advance.

Regards, Rick Landon




Re: Newbie question on howto run simple HelloWorld application

2000-08-07 Thread Mike Clark

By passing System.getProperties() into the InitialContext constructor,
you'll need to define the JNDI naming properties in the system
properties.  Alternatively, you could use the no-arg InitialContext
constructor, which will attempt to find a jndi.properties file in the
CLASSPATH.

In general, the app can't find the class used as the
InitialContextFactory, which it's assuming is in the properties used to
construct the InitialContext.

Mike
  
--- Anders Dahlberg <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm very new to j2ee and are trying to get my first app to run. I've
> written a stateless session bean and added it to an ear file and
> deployed this to application-deployments. when I try to run my
> HelloClient I gt the following error:
> 
> C:\WINDOWS\Profiles\Anders\Visual Studio Projects\Hello>java
> hello.HelloClient
> javax.naming.NoInitialContextException: Need to specify class name in
> environmen
> t or system property, or as an applet parameter, or in an application
> resource f
> ile:  java.naming.factory.initial
> at javax.naming.spi.NamingManager.getInitialContext(Unknown
> Source)
> at javax.naming.InitialContext.getDefaultInitCtx(Unknown
> Source)
> at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown
> Source)
> at javax.naming.InitialContext.lookup(Unknown Source)
> at hello.HelloClient.main(HelloClient.java:14)
> 
> /Anders
> 
> // HelloClient.java:
> package hello;
> 
> import javax.ejb.*;
> import javax.naming.*;
> import javax.rmi.*;
> import java.util.Properties;
> 
> public class HelloClient{
>  
>  public static void main(String args[]){
>   try{
>Properties props = System.getProperties();
>Context context = new InitialContext(props);
>java.lang.Object objref = context.lookup("HelloHome");
>HelloHome home = (HelloHome)PortableRemoteObject.narrow(objref,
> HelloHome.class);
> 
>Hello hello = home.create();
>
>System.out.println(hello.hello());
>hello.remove();
>   }catch(Exception e){
>e.printStackTrace();
>   }
>  }
> }
> 
> // orion-application.xml
> 
>  runtime 1.2//EN"
> "http://www.orionserver.com/dtds/orion-application.dtd">
> 
> 
>  
>   auto-start="false" />
>  
>  
>  
>   
>  
>  
>   
>   
>
> 
>
>   
>   
>   
>   
>
> 
>
>   
>   
>  
> 
> 
> // orion-ejb-jar.xml
> 
>  1.1 runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
> 
>  deployment-time="e0c7693860">
>  
>wrapper="HelloHome_StatelessSessionHomeWrapper19" timeout="10"
> persistence-filename="HelloHome" />
>  
>  
>   
>
>   
>  
> 
> 
> 


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/




Newbie question on howto run simple HelloWorld application

2000-08-07 Thread Anders Dahlberg



Hello,
 
I'm very new to j2ee and are trying to get my 
first app to run. I've written a stateless session bean and added it to an ear 
file and deployed this to application-deployments. when I try to run my 
HelloClient I gt the following error:
 
C:\WINDOWS\Profiles\Anders\Visual Studio 
Projects\Hello>java 
hello.HelloClientjavax.naming.NoInitialContextException: Need to specify 
class name in environment or system property, or as an applet parameter, or 
in an application resource file:  
java.naming.factory.initial    at 
javax.naming.spi.NamingManager.getInitialContext(Unknown 
Source)    at 
javax.naming.InitialContext.getDefaultInitCtx(Unknown 
Source)    at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown 
Source)    at 
javax.naming.InitialContext.lookup(Unknown 
Source)    at 
hello.HelloClient.main(HelloClient.java:14)
 
/Anders
 
// HelloClient.java:
package hello;
 
import javax.ejb.*;import 
javax.naming.*;import javax.rmi.*;import 
java.util.Properties;
 
public class 
HelloClient{  public static void main(String 
args[]){  try{   Properties props = 
System.getProperties();   Context context = new 
InitialContext(props);   java.lang.Object objref = 
context.lookup("HelloHome");   HelloHome home = 
(HelloHome)PortableRemoteObject.narrow(objref, HelloHome.class);
 
   Hello hello = 
home.create();  System.out.println(hello.hello());   hello.remove();  }catch(Exception 
e){   e.printStackTrace();  } }}
 
// orion-application.xml
http://www.orionserver.com/dtds/orion-application.dtd">
 
  
 
// orion-ejb-jar.xml
http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
 
 


RE: POSTGRES AND ORION NEWBIE QUESTION

2000-07-27 Thread Robert Balahura

Thank-you.  In my class, when I use getConnection(), what is the
corresponding class to import?  Is this a orion specific class, or just the
javax.sql.connection?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of wim veninga
Sent: Thursday, July 27, 2000 5:38 AM
To: Orion-Interest
Subject: Re: POSTGRES AND ORION NEWBIE QUESTION


Hi Robert,

Your first question:

Orion emulates the jdbc 2.0 functionality for you if you use
class="com.evermind.sql.ConnectionDataSource"
in data-sources.xml.

So you will get something like this :


Your second question:
Don't use getPooledConnection but use getConnection() because Datasource
doesn't have a method
getPooledConnection()


Hope this helps.
Greetings Wim Veninga
email : [EMAIL PROTECTED]


-Original Message-
From: Robert Balahura <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Thursday, July 27, 2000 10:14 AM
Subject: POSTGRES AND ORION NEWBIE QUESTION


>Hello,
>
>I just want to make sure I'm on the right track.  I am trying to use Orion
>and Postgres SQL database together.
>
>Postgres does not have the JDBC 2.0 driver available so I am wondering how
>to configure the data-source.xml so ORION will take care of creating a
>connection pool for me.
>
>Secondly, I am unsure as to how to which method to call to obtain a
>connection from the connection pool from my program.  getConnection() or
>getPooledConnection()??
>
>Any help would be greatly appreciated..
>
>Thank-you,
>
>Rob
>
>






Re: POSTGRES AND ORION NEWBIE QUESTION

2000-07-27 Thread wim veninga

Hi Robert,

Your first question:

Orion emulates the jdbc 2.0 functionality for you if you use
class="com.evermind.sql.ConnectionDataSource"
in data-sources.xml.

So you will get something like this :


Your second question:
Don't use getPooledConnection but use getConnection() because Datasource
doesn't have a method
getPooledConnection()


Hope this helps.
Greetings Wim Veninga
email : [EMAIL PROTECTED]


-Original Message-
From: Robert Balahura <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Thursday, July 27, 2000 10:14 AM
Subject: POSTGRES AND ORION NEWBIE QUESTION


>Hello,
>
>I just want to make sure I'm on the right track.  I am trying to use Orion
>and Postgres SQL database together.
>
>Postgres does not have the JDBC 2.0 driver available so I am wondering how
>to configure the data-source.xml so ORION will take care of creating a
>connection pool for me.
>
>Secondly, I am unsure as to how to which method to call to obtain a
>connection from the connection pool from my program.  getConnection() or
>getPooledConnection()??
>
>Any help would be greatly appreciated..
>
>Thank-you,
>
>Rob
>
>





POSTGRES AND ORION NEWBIE QUESTION

2000-07-26 Thread Robert Balahura

Hello,

I just want to make sure I'm on the right track.  I am trying to use Orion
and Postgres SQL database together.

Postgres does not have the JDBC 2.0 driver available so I am wondering how
to configure the data-source.xml so ORION will take care of creating a
connection pool for me.

Secondly, I am unsure as to how to which method to call to obtain a
connection from the connection pool from my program.  getConnection() or
getPooledConnection()??

Any help would be greatly appreciated..

Thank-you,

Rob





Newbie question: How to...

2000-07-11 Thread Marco Pas

I want to create and test/deploy and application build using
only jsp pages.. how and where do i create such an application..

I cannot find anything in the docs !!


groeten / regards,

Marco Pas
CMG Trade, Transport & Industry B.V.
--
Postbus 8566, 3009 AN Rotterdam, 
Kralingseweg 241 - 249, 3062 CE Rotterdam
The Netherlands
Tel.: +31 (0)10 253.7391
Fax: +31 (0)10 253.7035
Mob: +31 (0)6 51469109
Personal Fax/Voicemail: +31 (0)20 - 8833477
E-mail: [EMAIL PROTECTED]






Re: Newbie Question: Permission To Browse Directories? How?

2000-06-26 Thread Robert Krueger

At 12:45 26.06.00 , Steven Punte wrote:
>Dear Orion Group:
>
> I'm brand new to Orion.  Have been using tomcat for a long
> time, but need something with a bit more commercial support.
>
> How does one configure Orion so that directories can be
> browsed instead of getting the 403 Forbidden error?
>
> I know it got to be somewhere in all the config files,
> but I haven't been able to find the answer in the
> documentation yet.
>
> Thanks In Advance
>
>
>STeve Punte
>e-Business Software Architect
>Technologent Inc
>[EMAIL PROTECTED]



in orion-web.xml

regards,

robert

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Newbie Question: Permission To Browse Directories? How?

2000-06-26 Thread Karl Avedal

Hello Steven,

Ok, we normally don't answer these questions on the community
mailing-list, but since I thought this was a good FAQ I'll answer it and
put it up in the FAQ :) (btw, anyone who has good FAQ's, feel free to
mail them to [EMAIL PROTECTED])

Check out the documentation for the Orion web-application descriptor:
http://www.orionserver.com/docs/orion-web.xml.html

Search for directory-browsing

Since it's set in the server-specific deployment files, you can find the
descriptor for the default web-application (the one installed with Orion
out-of-the-box) at
orion/application-deployments/default/defaultWebApp/orion-web.xml

Regards,
Karl Avedal

Steven Punte wrote:

> Dear Orion Group: I'm brand new to Orion.  Have been using tomcat
> for a longtime, but need something with a bit more commercial
> support. How does one configure Orion so that directories can
> bebrowsed instead of getting the 403 Forbidden error? I know
> it got to be somewhere in all the config files,but I haven't been
> able to find the answer in thedocumentation yet. Thanks In
> Advance  STeve Punte
> e-Business Software Architect
> Technologent Inc
> [EMAIL PROTECTED]





Newbie Question: Permission To Browse Directories? How?

2000-06-26 Thread Steven Punte



Dear Orion Group:
 
    I'm brand new to Orion.  
Have been using tomcat for a long
    time, but need something with a 
bit more commercial support.
 
    How does one configure Orion so that 
directories can be 
    browsed instead of getting 
the 403 Forbidden error?
    
    I know it got to be somewhere in all 
the config files, 
    but I haven't been able to find the 
answer in the 
    documentation yet.
 
    Thanks In Advance
 
 
STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]