RE: Newbie - Am I going mad? Broken links on home page

2000-08-31 Thread Magnus Rydin
Title: RE: Newbie - Am I going mad? Broken links on home page





Hi all,
im sorry for the broken link to the Tools tutorial.
I managed to break it while putting up the link to the new Servlet 2.3 Filter tutorial.
The new Filter tutorial is just started, so please give us some days to fill it up with usefull tutorials before flaming our mail about it :)

WR


 -Original Message-
From:   Darren Gibbons [mailto:[EMAIL PROTECTED]] 
Sent:   den 1 september 2000 04:33
To: Orion-Interest
Subject:    RE: Newbie - Am I going mad? Broken links on home page


Hi Kimberly,


Not sure if you noticed this already, but the link is actually http://www.orionserver.com/tutorials/tools/.  First time I've seen it though -- looks useful.  Kudos Orion team.


Darren.


--
Darren Gibbons    [EMAIL PROTECTED]
OpenRoad Communications   ph: 604.681.0516
Internet Application Development fax: 604.681.0916
Vancouver, B.C. http://www.openroad.ca 


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2000 6:46 PM
> To:   Orion-Interest
> Subject:  Newbie - Am I going mad? Broken links on home page
> 
> Hiya,
> 
> I've been using Java for some time (but not J2EE) and have some 
> 25+ years IT experience, so being a newbie is a bit of new 
> experience... :-)
> 
> I've downloaded just about everything relating to Orion I can for 
> study. On the front page of the Orion home site there is a link 
> to some stuff I would like to read, but unfortunately it leads to 
> a "Sorry, page not found" page. The link is:
> 
> http://www.orionserver.com/toolstut/
> 
> and is pointed to by the "New tools tutorial available" and "... 
> the GUI Tools tutorial". Any ideas on this anybody?
> 
> One last note. My newbie question: 
> 
> I'm currently trapped in a M$ shop using W2K and asp. I've been 
> given a green light (after much debate) to move towards Java and 
> J2EE. I can't use Linux or Solaris unfortunately as that would be 
> pushing the envelope a bit too much... :-) In any case, has 
> anybody gone through this process with Orion before? My reason 
> for asking is that I have two Rack Compaqs running the Web-End 
> load balanced off an Intel load balancer, with a SQL7 Cluster at 
> the back end in a "lights-out" environment. The web site is using 
> the absolute minimum of Site Server Commerce Edition I could get 
> away with. This raises the question of how entity beans running 
> on the web-end communicate so as to avoid two beans (one on each 
> box) representing the same row in the database. It's probably old 
> hat to you guys, but I'm drowning in books at present and I can't 
> seem to find that specific answer.
> 
> Kimbo
> 
> Ms Kimberley Scott
> Senior Web Developer
> Peakhour Pty Ltd
> http://smartoffice.com.au <<- my site
> http://peakhour.com.au        <<- company site
> 





RE: Orion Log file analyser

2000-08-31 Thread Magnus Rydin



I think WebTrends is the most used one for 
log analysis, but I could be wrong.
It is 
excellent for analysis of a whole site, but is close to worthless when you want 
to present different reports for different directories, divided by those 
directories.
Otherwize it gives you close to everything you would 
like.
There 
is a free download you can try it out with.
 
Not 
much to say about how, just do it.
WR

  -Original Message-From: Porfiriev Sergey 
  [mailto:[EMAIL PROTECTED]]Sent: den 1 september 2000 
  05:00To: Orion-InterestSubject: Orion Log file 
  analyser
  I've read in this  list about log file analysers that 
  can Analyse Orion Logs ( somehow changed via web-site.xml /web-site/access_log 
  )
  But i've lost this information. :(
   
  What analyzers i can use with Orion ( and how 
)


RE: Which JDK to use?

2000-08-31 Thread J.T. Wenting

I'm having trouble with glibc and java (Sun for now). I have glibc 2.1.3,
JDK 1.2.2. When I try to start a Swing/AWT application I get a 'shared
library not found' error.
Anyone know something about that? non-GUI programs run fine.

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lawrence Fry
> Sent: Friday, September 01, 2000 01:50
> To: Orion-Interest
> Subject: RE: Which JDK to use?
>
>
> Stas,
>
> I have been having great luck with IBMJava2-13 on my linux box. Make sure
> you have glibc 2.1.2 or better, I found an issue with glibc 2.1.1.
> Otherwise, its works findand its FAST!
>
> regards,
>
> Lawrence
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Stanislav Maximov
> Sent: Thursday, August 31, 2000 1:46 PM
> To: Orion-Interest
> Subject: Which JDK to use?
> Importance: High
>
>
> Hello,
>
> I've tried Blackdown 1.2.2, but it seems to be not very fast. Could you
> please suggest me another JDK to use on Linux with Orion 1.0.3?
>
> Thanks in advance.
>
> stas@
>
>
>





Undefined variable: context

2000-08-31 Thread Raif Naffah

Hi,

First kudos to the Orion developers on this excellent product!

Second, while deploying an application with 25 EJBs (to an Orion server 
ver. 1.2.7) through the console tool, i'm getting the following exception:

MyEJBHome_EntityHomeWrapper15.java:1286: Undefined variable: context
ORList __theList = new String_ORList16(context);
   ^
MyEJBHome_EntityHomeWrapper15.java:1524: Undefined variable: context
ORList __theList = new String_ORList16(context);
   ^
MyEJBHome_EntityHomeWrapper15.java:1762: Undefined variable: context
ORList __theList = new String_ORList16(context);
   ^
3 errors
com.evermind.compiler.CompilationException: Syntax error in source
at com.evermind.compiler.lf.run(JAX)
at java.security.AccessController.doPrivileged(Native Method)
at com.evermind.compiler.le.q1(JAX)
at com.evermind.compiler.ld.q1(JAX)
at com.evermind.server.ejb.compilation.fs.afj(JAX)
at com.evermind.server.ejb.compilation.fs.q1(JAX)
at com.evermind.server.administration.gi.finish(JAX)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.bd.run(JAX)
at com.evermind.server.rmi.bb.hz(JAX)
at com.evermind.server.rmi.bb.run(JAX)
at com.evermind.util.f.run(JAX)


I'd appreciate it if somebody can help me pin-point the cause(s), 
considering that:

1. the same application ear file deploys successfully to the J2EE RI 
(1.2.1.) server --client untested though, and
2. i have successfully deployed a smaller size application to the same 
(version+instance of) Orion server.


TIA + cheers;
--
Raif S. Naffah
Forge Research Pty. Limited < http://www.forge.com.au >





Re: Where Orion puts the code?

2000-08-31 Thread Porfiriev Sergey

for me it is: $ORION_HOME/application-deployments/$APP/$WEB_APP/persistence/

- Original Message - 
From: "Ismael Blesa Part" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 7:56 AM
Subject: Where Orion puts the code?


> I have some jsps and I have a strange error. Where OrionServer puts the
> code generated?
> 





Orion Log file analyser

2000-08-31 Thread Porfiriev Sergey



I've read in this  list about log file analysers that can 
Analyse Orion Logs ( somehow changed via web-site.xml /web-site/access_log 
)
But i've lost this information. :(
 
What analyzers i can use with Orion ( and how 
)


RE: URLs in web apps

2000-08-31 Thread Kevin Duffey

I think your ok..but I use the request.getContextPath() in a "included"
header file on all my JSP pages. I assign it to a contextPath string var and
use it in all my href tags click

But, I believe the spec allows relative paths to the root of the web app.
So, if your root is /, and the dir is i3-web, and you have a linke to
/path/page.jsp, it would be from /i3-web/path/page.jsp.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kurt Hoyt
> Sent: Thursday, August 31, 2000 7:31 PM
> To: Orion-Interest
> Subject: URLs in web apps
>
>
> I've noticed an inconsistency in how URLs are used within the
> servlet engine
> in Orion. Perhaps I've never had to deal with this since this is the first
> servlet engine I've used that supports .war files, server.xml, web.xml
> files, etc.
>
> I have a web app that is deployed like this:
>
> server.xml contains this line:
>
>
> default-web-site.xml contains this line:
>
>
> application.xml contains these lines:
>
>   
>  i3-web
>  /
>   
>
>
> I expect that absolute URLs used anywhere in my JSPs (and that includes  href="..">, <%@ include file="..." %>, and response.sendRedirect() calls)
> would look like this /i3/. However, I've noticed that for
> anything other than  tags, the /i3 is implied and all I need
> is / for absolute paths.
>
> I have two questions:
> 1. What does the context-root element do? The servlet and JSP specs are
> pretty vague about this.
>
> 2. Should I be calling request.getContextPath() and using it to create
> absolute URLs for  tags or just try and use relative URLs
> within the  tags?
>
> Kurt in Atlanta
>





RE: Newbie - Am I going mad? Broken links on home page

2000-08-31 Thread Darren Gibbons

Hi Kimberly,

Not sure if you noticed this already, but the link is actually
http://www.orionserver.com/tutorials/tools/.  First time I've seen it
though -- looks useful.  Kudos Orion team.

Darren.

--
Darren Gibbons[EMAIL PROTECTED]
OpenRoad Communications   ph: 604.681.0516
Internet Application Development fax: 604.681.0916
Vancouver, B.C. http://www.openroad.ca

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: August 31, 2000 6:46 PM
> To:   Orion-Interest
> Subject:  Newbie - Am I going mad? Broken links on home page
>
> Hiya,
>
> I've been using Java for some time (but not J2EE) and have some
> 25+ years IT experience, so being a newbie is a bit of new
> experience... :-)
>
> I've downloaded just about everything relating to Orion I can for
> study. On the front page of the Orion home site there is a link
> to some stuff I would like to read, but unfortunately it leads to
> a "Sorry, page not found" page. The link is:
>
> http://www.orionserver.com/toolstut/
>
> and is pointed to by the "New tools tutorial available" and "...
> the GUI Tools tutorial". Any ideas on this anybody?
>
> One last note. My newbie question:
>
> I'm currently trapped in a M$ shop using W2K and asp. I've been
> given a green light (after much debate) to move towards Java and
> J2EE. I can't use Linux or Solaris unfortunately as that would be
> pushing the envelope a bit too much... :-) In any case, has
> anybody gone through this process with Orion before? My reason
> for asking is that I have two Rack Compaqs running the Web-End
> load balanced off an Intel load balancer, with a SQL7 Cluster at
> the back end in a "lights-out" environment. The web site is using
> the absolute minimum of Site Server Commerce Edition I could get
> away with. This raises the question of how entity beans running
> on the web-end communicate so as to avoid two beans (one on each
> box) representing the same row in the database. It's probably old
> hat to you guys, but I'm drowning in books at present and I can't
> seem to find that specific answer.
>
> Kimbo
>
> Ms Kimberley Scott
> Senior Web Developer
> Peakhour Pty Ltd
> http://smartoffice.com.au <<- my site
> http://peakhour.com.au<<- company site
>

 winmail.dat


URLs in web apps

2000-08-31 Thread Kurt Hoyt

I've noticed an inconsistency in how URLs are used within the servlet engine
in Orion. Perhaps I've never had to deal with this since this is the first
servlet engine I've used that supports .war files, server.xml, web.xml
files, etc.

I have a web app that is deployed like this:

server.xml contains this line:
   

default-web-site.xml contains this line:
   

application.xml contains these lines:
   
  
 i3-web
 /
  
   

I expect that absolute URLs used anywhere in my JSPs (and that includes , <%@ include file="..." %>, and response.sendRedirect() calls)
would look like this /i3/. However, I've noticed that for
anything other than  tags, the /i3 is implied and all I need
is / for absolute paths.

I have two questions:
1. What does the context-root element do? The servlet and JSP specs are
pretty vague about this.

2. Should I be calling request.getContextPath() and using it to create
absolute URLs for  tags or just try and use relative URLs
within the  tags?

Kurt in Atlanta




RE: Newbie - Am I going mad? Broken links on home page

2000-08-31 Thread Kevin Duffey

Hi,

I have been given the green light here to move ahead with Orion deployment
as well. Although we are not as sophisticated a setup as you, we will be
moving in that direction shortly. We are moving ahead with Orion while we
evaluate WebLogic and iPlanet to see if we want to pay those outrageous
amounts of money for offering not quite as much as Orion does. However, I
have seen very little problems with most areas of Orion. I have heard from
some friends using it though that the EJB stuff has problems in various
areas. What exactly, I don't know. I have also heard of some success stories
in this list as well. I think one of the problems is that because the Orion
team does such a good job on fixing problems and providing updates, some of
us often go get the latest version. This may prove to cause problems in
other areas. This is just a guess. For the most part, I have only seen a few
bugs crop up that were new with a bug-fix patch.

But other than that, Orion is very easy to use, it WORKS, it actually does
conform to J2EE specs unlike many infintely more expensive solutions, and I
have generally heard great things about it.

For whats it worth, I would be my company on it over other choices.

>  -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, August 31, 2000 6:46 PM
> To:   Orion-Interest
> Subject:  Newbie - Am I going mad? Broken links on home page
> 
> Hiya,
> 
> I've been using Java for some time (but not J2EE) and have some 25+ years
> IT experience, so being a newbie is a bit of new experience... :-)
> 
> I've downloaded just about everything relating to Orion I can for study.
> On the front page of the Orion home site there is a link to some stuff I
> would like to read, but unfortunately it leads to a "Sorry, page not
> found" page. The link is:
> 
> http://www.orionserver.com/toolstut/
> 
> and is pointed to by the "New tools tutorial available" and "... the GUI
> Tools tutorial". Any ideas on this anybody?
> 
> One last note. My newbie question: 
> 
> I'm currently trapped in a M$ shop using W2K and asp. I've been given a
> green light (after much debate) to move towards Java and J2EE. I can't use
> Linux or Solaris unfortunately as that would be pushing the envelope a bit
> too much... :-) In any case, has anybody gone through this process with
> Orion before? My reason for asking is that I have two Rack Compaqs running
> the Web-End load balanced off an Intel load balancer, with a SQL7 Cluster
> at the back end in a "lights-out" environment. The web site is using the
> absolute minimum of Site Server Commerce Edition I could get away with.
> This raises the question of how entity beans running on the web-end
> communicate so as to avoid two beans (one on each box) representing the
> same row in the database. It's probably old hat to you guys, but I'm
> drowning in books at present and I can't seem to find that specific
> answer.
> 
> Kimbo
> 
> Ms Kimberley Scott
> Senior Web Developer
> Peakhour Pty Ltd
> http://smartoffice.com.au <<- my site
> http://peakhour.com.au<<- company site
> 

 winmail.dat


Newbie - Am I going mad? Broken links on home page

2000-08-31 Thread Kimberley Scott

Hiya,

I've been using Java for some time (but not J2EE) and have some 25+ years IT
experience, so being a newbie is a bit of new experience... :-)

I've downloaded just about everything relating to Orion I can for study. On
the front page of the Orion home site there is a link to some stuff I would
like to read, but unfortunately it leads to a "Sorry, page not found" page.
The link is:

http://www.orionserver.com/toolstut/

and is pointed to by the "New tools tutorial available" and "... the GUI
Tools tutorial". Any ideas on this anybody?

One last note. My newbie question: 

I'm currently trapped in a M$ shop using W2K and asp. I've been given a
green light (after much debate) to move towards Java and J2EE. I can't use
Linux or Solaris unfortunately as that would be pushing the envelope a bit
too much... :-) In any case, has anybody gone through this process with
Orion before? My reason for asking is that I have two Rack Compaqs running
the Web-End load balanced off an Intel load balancer, with a SQL7 Cluster at
the back end in a "lights-out" environment. The web site is using the
absolute minimum of Site Server Commerce Edition I could get away with. This
raises the question of how entity beans running on the web-end communicate
so as to avoid two beans (one on each box) representing the same row in the
database. It's probably old hat to you guys, but I'm drowning in books at
present and I can't seem to find that specific answer.

Kimbo

Ms Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au   <<- my site
http://peakhour.com.au  <<- company site


 winmail.dat


RE: Which JDK to use?

2000-08-31 Thread Lawrence Fry

Stas,

I have been having great luck with IBMJava2-13 on my linux box. Make sure
you have glibc 2.1.2 or better, I found an issue with glibc 2.1.1.
Otherwise, its works findand its FAST!

regards,

Lawrence


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov
Sent: Thursday, August 31, 2000 1:46 PM
To: Orion-Interest
Subject: Which JDK to use?
Importance: High


Hello,

I've tried Blackdown 1.2.2, but it seems to be not very fast. Could you
please suggest me another JDK to use on Linux with Orion 1.0.3?

Thanks in advance.

stas@






RE: CMP finder method - findBySomeProperty

2000-08-31 Thread Stanislav Maximov

Do you mean this kinda clause in home interface?

public static final String findByParentId_query = "$1 = $parentId";

stas@

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent Serpico
> Sent: Friday, September 01, 2000 2:03 AM
> To: Orion-Interest
> Subject: Re: CMP finder method - findBySomeProperty
>
>
> Stanislav Maximov wrote:
>
> > Hello,
> >
> > maybe I've missed something, but I thought if I'll implement
> > findBy method, Orion will create proper finder
> method which
> > will query the table for this  value. But when I opened my
> > orion-ejb-jar.xml I saw that my findBy query is equal to
> > findAll method query. Why? What have I missed?
> >
> > Please help. Thanks!
> >
> > stas@
>
> Did you implement the WHERE clause. Orion will create the proper find
> methods, but it's up to tou to specify the WHERE.
>
>
> -Vince
>
>





Re: CMP finder method - findBySomeProperty

2000-08-31 Thread Vincent Serpico

Stanislav Maximov wrote:

> Hello,
>
> maybe I've missed something, but I thought if I'll implement
> findBy method, Orion will create proper finder method which
> will query the table for this  value. But when I opened my
> orion-ejb-jar.xml I saw that my findBy query is equal to
> findAll method query. Why? What have I missed?
>
> Please help. Thanks!
>
> stas@

Did you implement the WHERE clause. Orion will create the proper find
methods, but it's up to tou to specify the WHERE.


-Vince





RE: How to Host Multiple domain on orion?

2000-08-31 Thread Kevin Duffey

Oh..ok. Look in the DOCS folder..under orion-web.xml.html. There is an
ability to assing virtual-hosts there for each web-app deployed.

> -Original Message-
> From: devendra orion [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 31, 2000 2:41 PM
> To: Orion-Interest
> Cc: [EMAIL PROTECTED]
> Subject: How to Host Multiple domain on orion?
>
>
> Hi!:
> Thanks!
>
> Actually i want to setup multiple domain names using
> single IP. Like in apache you can do it using
> NameVirtualHost parameter.
>
> eg:
>   www.domain1.com
>   www.domain2.com
>   www.domain3.com
>
> but all websites has same IP address
>
> Devendra
>
>
>
>
> --- Kevin Duffey <[EMAIL PROTECTED]> wrote:
> > If your talking about where each user of an ISP can
> > have their own dir,
> > including www dir for their own site, I know its
> > easy to do..I just haven't
> > done it myself. I recall that its something like
> > www.mycompany.com/~username/ to allow access for
> > each user.
> >
> > Sorry..I don't know how to do it..but its possible.
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of devendra orion
> > > Sent: Wednesday, August 30, 2000 4:34 PM
> > > To: Orion-Interest
> > > Subject: How to Host Multiple domain on orion?
> > >
> > >
> > > Hi!:
> > >  Hi! i am planning to host all my domains on
> > > orion. Can anybody help me doing it? I know it is
> > > possible to have virtual hosting but nothing is
> > > mentioned about multiple domain using single IP.
> > >
> > > Thanks
> > > Devendra
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Mail - Free email you can access from
> > anywhere!
> > > http://mail.yahoo.com/
> > >
> >
> >
>
>
> __
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>





How to Host Multiple domain on orion?

2000-08-31 Thread devendra orion

Hi!:
Thanks!

Actually i want to setup multiple domain names using
single IP. Like in apache you can do it using
NameVirtualHost parameter.

eg:
  www.domain1.com
  www.domain2.com
  www.domain3.com

but all websites has same IP address

Devendra
  



--- Kevin Duffey <[EMAIL PROTECTED]> wrote:
> If your talking about where each user of an ISP can
> have their own dir,
> including www dir for their own site, I know its
> easy to do..I just haven't
> done it myself. I recall that its something like
> www.mycompany.com/~username/ to allow access for
> each user.
> 
> Sorry..I don't know how to do it..but its possible.
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> Behalf Of devendra orion
> > Sent: Wednesday, August 30, 2000 4:34 PM
> > To: Orion-Interest
> > Subject: How to Host Multiple domain on orion?
> >
> >
> > Hi!:
> >  Hi! i am planning to host all my domains on
> > orion. Can anybody help me doing it? I know it is
> > possible to have virtual hosting but nothing is
> > mentioned about multiple domain using single IP.
> >
> > Thanks
> > Devendra
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from
> anywhere!
> > http://mail.yahoo.com/
> >
> 
> 


__
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/




HTTPSession timeouts in SSL environment

2000-08-31 Thread Todd McGrath

Perplexed by a problem I'm having:

I have a custom login solution that writes a string to
a user's HttpSession Object: 

session.setAttribute("login", new
java.util.Date().toString());

In the app, I have a controller servlet that checks
for this session attribute with each request:

  Object done = session.getAttribute("login");
if (done == null) {
  res.sendRedirect(relogin); ...

In my web.xml I have the session timeout set to 15
minutes.

Everything is working fine in http:// sessions.  Now
that I have switched over to SSL (https://), sessions
seem to timeout in about 1 minute.  

Why?  Is this some sort of default setting?

Also, I'm noticing a difference in the URL when I move
around the site in a SSL session now.  URLs now look
like:

https://protected.company.com/Action?cmd=myaccount;jsessionid=Oa6HTKaeJpki3ZNlC_zHuKUEu80WAyXKdC7qPTT4plE=

I never had the "jsessionid=0a6H" before.


Please help me understand what's going on here.

-Todd





__
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/




Which JDK to use?

2000-08-31 Thread Stanislav Maximov

Hello,

I've tried Blackdown 1.2.2, but it seems to be not very fast. Could you
please suggest me another JDK to use on Linux with Orion 1.0.3?

Thanks in advance.

stas@





CMP finder method - findBySomeProperty

2000-08-31 Thread Stanislav Maximov

Hello,

maybe I've missed something, but I thought if I'll implement
findBy method, Orion will create proper finder method which
will query the table for this  value. But when I opened my
orion-ejb-jar.xml I saw that my findBy query is equal to
findAll method query. Why? What have I missed?

Please help. Thanks!

stas@





Re: database connectivity

2000-08-31 Thread Derek Akers



Thanks George, I think i am almost there...  It does look 
like I am getting towards the database, but when trying to "list tables" in the 
console, I get no output in the console window, but in the DOS window the 
following error comes up:
 
java.lang.NullPointerException    
at 
com.evermind.gui.jdbc.RowSetTableModel.an0(JAX)    
at 
com.evermind.gui.server.DataSourcePanel.anr(JAX)    
at 
com.evermind.gui.server.DataSourcePanel.actionPerformed(JAX)    
at javax.swing.AbstractButton.fireActionPerformed(Unknown 
Source)    at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown 
Source)    at 
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)    at 
javax.swing.DefaultButtonModel.setPressed(Unknown 
Source)    at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
Source)    at 
java.awt.Component.processMouseEvent(Unknown 
Source)    at 
java.awt.Component.processEvent(Unknown 
Source)    at 
java.awt.Container.processEvent(Unknown 
Source)    at 
java.awt.Component.dispatchEventImpl(Unknown 
Source)    at 
java.awt.Container.dispatchEventImpl(Unknown 
Source)    at 
java.awt.Component.dispatchEvent(Unknown 
Source)    at 
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
Source)    at 
java.awt.LightweightDispatcher.processMouseEvent(Unknown 
Source)    at 
java.awt.LightweightDispatcher.dispatchEvent(Unknown 
Source)    at 
java.awt.Container.dispatchEventImpl(Unknown 
Source)    at 
java.awt.Window.dispatchEventImpl(Unknown 
Source)    at 
java.awt.Component.dispatchEvent(Unknown 
Source)    at 
java.awt.EventQueue.dispatchEvent(Unknown 
Source)    at 
java.awt.EventDispatchThread.pumpOneEvent(Unknown 
Source)    at 
java.awt.EventDispatchThread.pumpEvents(Unknown 
Source)    at 
java.awt.EventDispatchThread.run(Unknown Source)
 
I am trying to list tables in the "jdbc/DefaultDS" ... any 
ideas?


RE: documentation broken??

2000-08-31 Thread Kevin Duffey

Haha...I thought the very same thing. I was reading the docs and noticed its
like that all over the place. Oh well..its a good product and the price is
right..that is what I keep saying to myself.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Duane Fields
> Sent: Thursday, August 31, 2000 7:35 AM
> To: Orion-Interest
> Subject: documentation broken??
>
>
> Am I going crazy or does the documentation appear to be missing
> the ends of
> sentences everyone? I'm not talking about quality of documentation, I'm
> talking about data appearing to be lost. I redownloaded the zip today to
> make sure, and here a representative excerpt from server.xml.html
>
>  
>   Defines the relative/absolute path to a
>
> path - The path.
>
>
>  
>   Defines the relative/absolute path to a
>
> path - The path.
>
>
> --
> Duane Fields
> [EMAIL PROTECTED]
> Managing Engineer, Web Development
>
>
>
>





Re: Orion 1.2.7 download broken

2000-08-31 Thread Karl Avedal

Hello,

Yeah, there was a problem for some time.

Regards,
Karl Avedal

Ted Neward wrote:

> I just did, off the very URL you gave in the message. No problems.
>
> Ted Neward
> Java Instructor, DevelopMentor (http://www.develop.com)
> http://www.javageeks.com/~tneward
>
> - Original Message -
> From: "Michael Mok" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 30, 2000 6:32 PM
> Subject: Orion 1.2.7 download broken
>
> > I tried to download Orion 1.2.7 from www.orionserver.com/orion1.2.7.zip .
> > However the server reported that there is no such file.
> >
> > Anyone managed to download 1.2.7?
> >
> > Regards,
> >
> > Michael Mok
> >
> >





documentation broken??

2000-08-31 Thread Duane Fields

Am I going crazy or does the documentation appear to be missing the ends of
sentences everyone? I'm not talking about quality of documentation, I'm
talking about data appearing to be lost. I redownloaded the zip today to
make sure, and here a representative excerpt from server.xml.html

 
  Defines the relative/absolute path to a

path - The path.


 
  Defines the relative/absolute path to a

path - The path.


--
Duane Fields
[EMAIL PROTECTED]
Managing Engineer, Web Development







Re: Orion 1.2.7 download broken

2000-08-31 Thread Ted Neward

I just did, off the very URL you gave in the message. No problems.

Ted Neward
Java Instructor, DevelopMentor (http://www.develop.com)
http://www.javageeks.com/~tneward

- Original Message - 
From: "Michael Mok" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Wednesday, August 30, 2000 6:32 PM
Subject: Orion 1.2.7 download broken


> I tried to download Orion 1.2.7 from www.orionserver.com/orion1.2.7.zip .
> However the server reported that there is no such file.
> 
> Anyone managed to download 1.2.7?
> 
> Regards,
> 
> Michael Mok
> 
> 





RE: Where Orion puts the code?

2000-08-31 Thread Kevin Duffey

In a ./persistence dir.


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ismael Blesa
> Part
> Sent: Thursday, August 31, 2000 4:56 AM
> To: Orion-Interest
> Subject: Where Orion puts the code?
> 
> 
> I have some jsps and I have a strange error. Where OrionServer puts the
> code generated?
> 
> 




Re: RMI from EJB, permissions in EJB

2000-08-31 Thread Ted Neward

Where do you see that? I don't read any particular restriction on making RMI
calls; you're not allowed to explicitly listen for any incoming socket
calls, but that's not the same.

When I stop to think about it, in fact, a reference to another EJB itself
may be a remote reference, so the EJB spec CAN'T, in my interpretation,
forbid RMI calls, because then a Bean could never refer to another bean in
any way. Is there some text I missed in that section? (I freely admit, I
just skimmed it just now--not a real deep read--but didn't see anything
along those lines.)

Ted Neward
Java Instructor, DevelopMentor (http://www.develop.com)
http://www.javageeks.com/~tneward

- Original Message -
From: "Dave Smith" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 9:10 AM
Subject: Re: RMI from EJB, permissions in EJB


> I'm not sure you can. I think this kind of behaviour (i.e. opening sockets
> to remote registries) is explicitly forbidden in section 18.1.2 of the EJB
> 1.1 spec.
>
> Friedrich Dodt wrote:
>
> > How do I get my Session Bean to issue an RMI call successfully?
> >
> > I am trying to contact a simple RMI method that runs on an RMI server
> > (rmiregistry) from code in my Session Bean. Up to now without success.
> >
> > 1. With the naive approach
> >
> > System.setSecurityManager(new RMISecurityManager());
> > RemoteObject remo = (RemoteObject) Naming.lookup(toLookup);
> >
> > I get a  (java.net.SocketPermission xxx.xxx.xxx.xxx:
> > connect,resolve)
> >
> > To overcome this, I have changed
> > - {java.home}/lib/security/java.policy
> > - and I have tried it the with the command line arguments
> > -Djava.security.manager -Djava.security.policy==my.policy
> >   when I start orion.jar.
> >
> > This policy file contained just
> >
> > grant {
> > // Allow everything for now
> > permission java.security.AllPermission;
> > permission com.evermind.server.AdministrationPermission;
> > permission java.net.SocketPermission "*:1024-65535",
> > "listen,accept,connect,resolve";
> > };
> >
> > However, this didn't change Orions behaviour.
> >
> > The approach with
> > // create and fill a Hashtable "environment", then call
> > InitialContext context = new InitialContext (environment);
> > didn't work either.
> >
> > 2. Suspecting that the Orion server interferes with the normal policy
> > concept, I tried to change the rmi.xml file.
> >
> > The mere adding of a line like
> >
> > 
> >
> > to rmi.xml leads to the server not starting up. It does not say "Orion
> > 1.0.3 initialized" and it does not react (in the case rmiregistry runs;
> > if not an Exception is thrown indicating the connection is refused).
> >
> > This is clearly a bug: If the server can't cope with a situation it
> > should at least leave a message and not just be stuck silently. This is
> > true if you start Orion just as it ships with just the rmi.xml changed.
> >
> > So the question is: How can I contact an RMI server from within an EJB?
> >
> > If you don't know that, perhaps you can answer this one: How can I
> > permit SocketPermission (and other permissions?) to the code in my EJB?
> >
> > Thanks in advance
>





Re: database connectivity

2000-08-31 Thread Shayne Hughes



I think you need to change the url line to add the 
port number...
 
url="jdbc:inetdae:localhost:1433?database=dBTest"
 
Shayne
 

  - Original Message - 
  From: 
  Derek Akers 
  To: Orion-Interest 
  Sent: Thursday, August 31, 2000 7:52 
  AM
  Subject: database connectivity
  
  I am having a problem connecting to a database for some 
  reason.  I am using MS SQL server 7 and have obtained the proper driver 
  (SPRINTA2000) and set up the ODBC data source, however Console has a problem 
  displaying the tables of the DB.  I have tried it this way and using the 
  generic JDBC:ODBC driver.  the two versions of data-sources I have tried 
  are attached.  With the generic driver, I have not found anywhere where 
  the data source's name is specified for connection, and with the SPRINTA2000 
  driver, I am having access problems still...  would anyone be willing to 
  walk me through this one?
   
     name="Default 
  data-source"  class="com.evermind.sql.ConnectionDataSource"  location="jdbc/DefaultDS"  pooled-location="jdbc/DefaultPooledDS"  xa-location="jdbc/xa/DefaultXADS"  ejb-location="jdbc/DefaultEJBDS"  url="jdbc:inetdae:localhost?database=dBTest" 
  -> dBTest is the name of the ODBC 
  datasource  connection-driver="com.inet.tds.TdsDriver"  username="[dB 
  Username]"  password="[dB Password]"/>
   
  The generic is the same, but with JDBC:ODBC:EJB in the URL 
  and the generic driver for connection-driver.
   
  derek Akers.


Re: RMI from EJB, permissions in EJB

2000-08-31 Thread Dave Smith

I'm not sure you can. I think this kind of behaviour (i.e. opening sockets
to remote registries) is explicitly forbidden in section 18.1.2 of the EJB
1.1 spec.

Friedrich Dodt wrote:

> How do I get my Session Bean to issue an RMI call successfully?
>
> I am trying to contact a simple RMI method that runs on an RMI server
> (rmiregistry) from code in my Session Bean. Up to now without success.
>
> 1. With the naive approach
>
> System.setSecurityManager(new RMISecurityManager());
> RemoteObject remo = (RemoteObject) Naming.lookup(toLookup);
>
> I get a  (java.net.SocketPermission xxx.xxx.xxx.xxx:
> connect,resolve)
>
> To overcome this, I have changed
> - {java.home}/lib/security/java.policy
> - and I have tried it the with the command line arguments
> -Djava.security.manager -Djava.security.policy==my.policy
>   when I start orion.jar.
>
> This policy file contained just
>
> grant {
> // Allow everything for now
> permission java.security.AllPermission;
> permission com.evermind.server.AdministrationPermission;
> permission java.net.SocketPermission "*:1024-65535",
> "listen,accept,connect,resolve";
> };
>
> However, this didn't change Orions behaviour.
>
> The approach with
> // create and fill a Hashtable "environment", then call
> InitialContext context = new InitialContext (environment);
> didn't work either.
>
> 2. Suspecting that the Orion server interferes with the normal policy
> concept, I tried to change the rmi.xml file.
>
> The mere adding of a line like
>
> 
>
> to rmi.xml leads to the server not starting up. It does not say "Orion
> 1.0.3 initialized" and it does not react (in the case rmiregistry runs;
> if not an Exception is thrown indicating the connection is refused).
>
> This is clearly a bug: If the server can't cope with a situation it
> should at least leave a message and not just be stuck silently. This is
> true if you start Orion just as it ships with just the rmi.xml changed.
>
> So the question is: How can I contact an RMI server from within an EJB?
>
> If you don't know that, perhaps you can answer this one: How can I
> permit SocketPermission (and other permissions?) to the code in my EJB?
>
> Thanks in advance


begin:vcard 
n:Smith;Dave
tel;cell:+44 797 0008867
tel;work:+44 1225 445610
x-mozilla-html:TRUE
url:http://www.enetgroup.co.uk
org:e-net Software Ltd
adr:;;26-45 Cheltenham Street;Bath;;BA2 3EX;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Development Manager
fn:Dave Smith
end:vcard



RE: database connectivity

2000-08-31 Thread Holmes, George (TWIi London)



Derek,
 
The 
Sprinta driver connects directly to the SQL Server and does not utilise an ODBC 
data source.
 
The 
url string should follow this format:
 
    
url="jdbc:inetdae:futdb1?database=TheDatabase1&sql7=true"
 
In 
this example,
 
    futdb1 is the NetBIOS (you can use 
an IP address also) of the database server
    TheDatabase1 is the name of the 
actual SQL Server database
    sql7=true allows you to use the 
(new) data-types such as text,ntext
   
The # 
escape character must be included in the url for some reason.  The driver 
won't work with Orion without it (in my experience anyway)
 
Hope 
this helps.
George 
GEORGE HOLMES 
TWI Interactive Media House Burlington Lane 
LONDON W4 
2TH ENGLAND 
TEL: +44 208 233 5631 FAX: +44 208 233 7701 CELL: +44 7968 
918813 

  -Original Message-From: Derek Akers 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 31, 2000 3:52 
  PMTo: Orion-InterestSubject: database 
  connectivity
  I am having a problem connecting to a database for some 
  reason.  I am using MS SQL server 7 and have obtained the proper driver 
  (SPRINTA2000) and set up the ODBC data source, however Console has a problem 
  displaying the tables of the DB.  I have tried it this way and using the 
  generic JDBC:ODBC driver.  the two versions of data-sources I have tried 
  are attached.  With the generic driver, I have not found anywhere where 
  the data source's name is specified for connection, and with the SPRINTA2000 
  driver, I am having access problems still...  would anyone be willing to 
  walk me through this one?
   
     name="Default 
  data-source"  class="com.evermind.sql.ConnectionDataSource"  location="jdbc/DefaultDS"  pooled-location="jdbc/DefaultPooledDS"  xa-location="jdbc/xa/DefaultXADS"  ejb-location="jdbc/DefaultEJBDS"  url="jdbc:inetdae:localhost?database=dBTest" 
  -> dBTest is the name of the ODBC 
  datasource  connection-driver="com.inet.tds.TdsDriver"  username="[dB 
  Username]"  password="[dB Password]"/>
   
  The generic is the same, but with JDBC:ODBC:EJB in the URL 
  and the generic driver for connection-driver.
   
  derek Akers.


RE: Where Orion puts the code?

2000-08-31 Thread J.T. Wenting

/application-deployments//persistence
but only when development="true"

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ismael Blesa
> Part
> Sent: Thursday, August 31, 2000 13:56
> To: Orion-Interest
> Subject: Where Orion puts the code?
> 
> 
> I have some jsps and I have a strange error. Where OrionServer puts the
> code generated?
> 
> 




Re: Third Party Packages

2000-08-31 Thread Mark A. Richman

How do I get off this damn list???!!!  It says I am not subscribed

-Mark

- Original Message -
From: "Smith, Bill (RIC)" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 8:56 AM
Subject: Third Party Packages


> I have a number of questions for the group.
>
> 1) If you have third party components (spell checking api, etc.) what is
the
> best way to attach them to an application? Is there some way to put them
in
> the classpath used by Orion? It isn't always convenient or easy to have a
> jar and put it in the orion directory.
>
> 2) From an earlier post, what is the proper way to undeploy an
application?
>
> 3) What is entailed in using LoadBalancer.jar that is part of 1.2.7?
>
> 4) Is there anywhere that the size of the object and connection pools can
be
> configured?
>
> TIA,
> Bill
>
> =
> Bill Smith
> Senior Software Engineer
> iXL, Inc.
> 4600 Cox Rd.
> Glen Allen, VA 23060
>
> tel: 804.217.
> fax: 804.217.8890
> [EMAIL PROTECTED]
>
> This message is intended only for the use of the Addressee and may contain
> information that is PRIVILEGED and CONFIDENTIAL. If you are not the
intended
> recipient, dissemination of this communication is prohibited. If you have
> received this communication in error, please erase all copies of the
message
> and its attachments and notify us immediately.
>
>
>





database connectivity

2000-08-31 Thread Derek Akers



I am having a problem connecting to a database for some 
reason.  I am using MS SQL server 7 and have obtained the proper driver 
(SPRINTA2000) and set up the ODBC data source, however Console has a problem 
displaying the tables of the DB.  I have tried it this way and using the 
generic JDBC:ODBC driver.  the two versions of data-sources I have tried 
are attached.  With the generic driver, I have not found anywhere where the 
data source's name is specified for connection, and with the SPRINTA2000 driver, 
I am having access problems still...  would anyone be willing to walk me 
through this one?
 
   name="Default 
data-source"  class="com.evermind.sql.ConnectionDataSource"  location="jdbc/DefaultDS"  pooled-location="jdbc/DefaultPooledDS"  xa-location="jdbc/xa/DefaultXADS"  ejb-location="jdbc/DefaultEJBDS"  url="jdbc:inetdae:localhost?database=dBTest" 
-> dBTest is the name of the ODBC 
datasource  connection-driver="com.inet.tds.TdsDriver"  username="[dB 
Username]"  password="[dB Password]"/>
 
The generic is the same, but with JDBC:ODBC:EJB in the URL and 
the generic driver for connection-driver.
 
derek Akers.


RMI from EJB, permissions in EJB

2000-08-31 Thread Friedrich Dodt

How do I get my Session Bean to issue an RMI call successfully?

I am trying to contact a simple RMI method that runs on an RMI server
(rmiregistry) from code in my Session Bean. Up to now without success.

1. With the naive approach

System.setSecurityManager(new RMISecurityManager());
RemoteObject remo = (RemoteObject) Naming.lookup(toLookup);

I get a  (java.net.SocketPermission xxx.xxx.xxx.xxx:
connect,resolve) 

To overcome this, I have changed
- {java.home}/lib/security/java.policy 
- and I have tried it the with the command line arguments
-Djava.security.manager -Djava.security.policy==my.policy 
  when I start orion.jar.

This policy file contained just

grant {
// Allow everything for now
permission java.security.AllPermission;
permission com.evermind.server.AdministrationPermission;
permission java.net.SocketPermission "*:1024-65535",
"listen,accept,connect,resolve";  
};

However, this didn't change Orions behaviour.


The approach with 
// create and fill a Hashtable "environment", then call 
InitialContext context = new InitialContext (environment);
didn't work either.


2. Suspecting that the Orion server interferes with the normal policy
concept, I tried to change the rmi.xml file.

The mere adding of a line like



to rmi.xml leads to the server not starting up. It does not say "Orion
1.0.3 initialized" and it does not react (in the case rmiregistry runs;
if not an Exception is thrown indicating the connection is refused). 

This is clearly a bug: If the server can't cope with a situation it
should at least leave a message and not just be stuck silently. This is
true if you start Orion just as it ships with just the rmi.xml changed.


So the question is: How can I contact an RMI server from within an EJB?

If you don't know that, perhaps you can answer this one: How can I
permit SocketPermission (and other permissions?) to the code in my EJB?

Thanks in advance




getRemoteUser

2000-08-31 Thread Magnus Nilsson

I have a site with a public and a protected area.
The protected area has a security constraint set in web.xml.
When the user wanders into the protected area he/she has to
login using basic authentication. No problems so far.

On the public pages I have a message that shows if the user
is logged in or not. It uses the request.getRemoteUser(), but
sometimes after a authentication has occured I still get null
back from the method.

This might have to do with servlet reloding or jsp recompiles,
but when I navigate to the protected area I don't need to login
again so the credentials set by the browser is still valid.

Question: Is this a correct behavior? I can't count on the
getRemoteUser() to return a user for a non protected area
despite that the user has previously performed a login?

/Magnus




Use Orion for "ordinary" RMI?

2000-08-31 Thread August Linnman



Hello everyone!
 
As far as I can see the Orion server has a built-in RMI server 
(using a special ORMI wire protocol). 
I have developed stand-alone applications which operate 
through RMI but these are not able to operate without using the standard 
"rmiregistry". 
Is it possible to have Orion replace "rmiregistry", and how? A 
solution with a minimal set of startup steps is important for us. 
To simply use "ormi://." urls in the Naming.xxx does not 
work (MalformedURLException). 
 
/August
 
 


ClassCastException.

2000-08-31 Thread Patrik Andersson
Title: RE: EJB 2.0 status.



When 
we check in servlets from SourceSafe into the "servlet-container" we get 
ClassCastException on some other support class. And that happends every time. I 
suppose that is because our supporting class gets reloaded by the servlet 
classloader even though it is already loaded by some other classloader. It's 
really anyoing since the only way that I can think of around this problem is to 
restart the application server.
 
regards,
Patrik 
Andersson


Third Party Packages

2000-08-31 Thread Smith, Bill (RIC)

I have a number of questions for the group.

1) If you have third party components (spell checking api, etc.) what is the
best way to attach them to an application? Is there some way to put them in
the classpath used by Orion? It isn't always convenient or easy to have a
jar and put it in the orion directory.

2) From an earlier post, what is the proper way to undeploy an application?

3) What is entailed in using LoadBalancer.jar that is part of 1.2.7?

4) Is there anywhere that the size of the object and connection pools can be
configured?

TIA,
Bill

=
Bill Smith
Senior Software Engineer
iXL, Inc.
4600 Cox Rd.
Glen Allen, VA 23060

tel: 804.217.
fax: 804.217.8890 
[EMAIL PROTECTED] 

This message is intended only for the use of the Addressee and may contain
information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
recipient, dissemination of this communication is prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify us immediately. 






Admin Shutdown Command

2000-08-31 Thread Smith, Bill (RIC)

Hi all,

I noticed something that doesn't make much sense to me. When I execute the
shutdown command with admin.jar, there are half a dozen of java -jar
orion.jar processes that still hang around. If I start the server again,
even more appear. I'm run Redhat 6.2 with the IBM 1.3 jdk (IBM build
cx130-2623). I do notice that I get the following exception after I
getting the "Shutting down..." message back from the server.

Error: com.evermind.server.rmi.OrionRemoteException: Disconnected:
Connection reset by peer: Connection reset by peer

After I recieve this message, If I try to shut the server down again, I get
a connection refused exception. 

Any ideas?

TIA,
Bill

=
Bill Smith
Senior Software Engineer
iXL, Inc.
4600 Cox Rd.
Glen Allen, VA 23060

tel: 804.217.
fax: 804.217.8890 
[EMAIL PROTECTED] 

This message is intended only for the use of the Addressee and may contain
information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
recipient, dissemination of this communication is prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify us immediately. 






RE: EJB 2.0 status.

2000-08-31 Thread Simon Salykov
Title: RE: EJB 2.0 status.



Hi!
    It seems to me that EJB 2.0 support was added in Orion 
1.1.2x or something near. Update to latest version and check your ejb-jar.xml 
for DOCTYPE tag. It must reffer to correct dtd.
 
With 
best wishes,
Simon 
Salykov.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Khan 
  KamranSent: Thursday, August 31, 2000 1:01 PMTo: 
  Orion-InterestSubject: RE: EJB 2.0 status.
  Hi 
  could some body tell me which version of orion supports some 
  of ejb2.0 features. are these features relating to entity bean relation 
  ship?
  I have a problem . i am using orion 
  1.0.3b latest stable version. As specified in ejb2.0 specifications that we 
  have to define entity bean as abstract but orion was giving error saying 
  entity bean can't be abstract.
  Please tell me where am i going wrong. 
  Thanks 
  -Original Message- From: Simon 
  Salykov [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, August 31, 2000 2:15 PM To: Orion-Interest Subject: RE: EJB 2.0 
  status. 
  Hi! 
      Yes. I rembered we 
  have the same problem. IMHO the only two cases when at this moment relations are usefull is relation between EJB and 
  dependent class and relation one to many between two 
  EJBs when cmr field exists only in EJB with 
  multiplicity "one". In your case it'll be MediaPlan has no field 
  campaign and Campaign EJB has Collection of MediaPlan. 
  
  Best wishes, Simon Salykov. 

  -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Yann Doussot Sent: Wednesday, August 30, 
  2000 8:27 PM To: Orion-Interest Subject: RE: EJB 2.0 status. 
  On Wed, 30 Aug 2000, Simon Salykov wrote: 
  > Hi, Yann! > >   Your relation description is 
  incorrect. "campaign-has-mediaplan" role > source's 
  multiplicity must be one and "mediaplan_belongsto_campaign" > source's multiplicity must be many. Because one campaign has many 
  media > plans. Try it. Hope it helps. 
      Well unfortunately 
  it doesn't help :( Orion creates the same database 
  structure and the resulting beans have the same problems. Thanks 
  for your help anyway. 
  -- Yann Doussot 
  <[EMAIL PROTECTED]> Grey Interactive - France 
  - http://www.gifrance.com/ 



Where Orion puts the code?

2000-08-31 Thread Ismael Blesa Part

I have some jsps and I have a strange error. Where OrionServer puts the
code generated?





authentication via x509

2000-08-31 Thread Ismael Blesa Part

Hi,

I have an application running with jsp, how should I do to authenticate
the user with digital certificates ?
How to access from jsp to the user digital certificate?

How and where to specify that the application requieres a digital
certificate?

Where could I found information about j2ee users?

Thanks





RE: usermanager's

2000-08-31 Thread Arved Sandstrom

Hi, Lawrence

You certainly don't need to declare your users - I have successfully created
new users from scratch and logged them into the server using the Orion user
manager API's. I'd think it rather a poor user manager if one had to declare
all the users ahead of time in a deployment descriptor. :-)

I'm no expert on any of this - just experimenting - but the impression I got
is that authenticate() is a  verification method, nothing more and nothing
less. It will confirm that the (username, password) pair you  supply exists
in the user mgmt database (referenced by DataSourceUserManager), and you
then act on that assumption in your code. The method that apparently (well,
it works for me) logs a principal into the J2EE server security mechanism is
login(), in RoleManager.

My take is: *UserManager, User, Group are for straightforward management of
users - adding, removing, grouping. RoleManager is for logging in a user
with the desired role.

I haven't found the code requirements particularly onerous so far.

As far as the datasource goes, I don't know for sure. I''m using Hypersonic
at the moment and I went ahead and used a separate database, not just
separate tables (one for users, one for groups). So I have 2 datasources in
data-sources.xml. I'll refrain from further comment.

For my part I'd like some clarification from the Orion team as to the
distinction between UserManager stuff in orion-application.xml and just
doing it in code. The latter seems to work.

Arved Sandstrom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lawrence Fry
Sent: Wednesday, August 30, 2000 7:23 PM
To: Orion-Interest
Subject: usermanager's


Ok...I admit it, I am stuck in user-land and need a map to get out.

It looks like the usermanager methodology is the way to authenticate my
users on my website. However, I am a little stuck.

If you look at the pet store example, nobody can log in unless you are a
user as identified in the principals.xml file, or you create a new user
everytime. Ok for a demo, but pretty useless for an ecommerce application.

The datasourceusermanager seems pretty good, except that without the
container/transaction stuff, we would have to implement all of that
ourselves. That brings me to the ejbusermanager. Its part of the
ejb/transaction management stuff, and provided my database can be relatively
secure, we can do our user authentication. But I have some befuddeling
questions:

1. If we include the user-manager declaration in the orion-application.xml,
is the rolemanager the proper interface for logging users in? Or must we get
the ejb reference, and hardcode the login? ,ie,
userbean.authenticate(password)...

2. Will I need a separate datasource for the ejbusermanager?

3. Are there any examples of ejbusermanager authentication (soup to nuts)?

Regards and buffudled,

Lawrence







RE: EJB 2.0 status.

2000-08-31 Thread Khan Kamran
Title: RE: EJB 2.0 status.





Hi 


could some body tell me which version of orion supports some of ejb2.0 features. are these features relating to entity bean relation ship?

I have a problem .
i am using orion 1.0.3b latest stable version. As specified in ejb2.0 specifications that we have to define entity bean as abstract but orion was giving error saying entity bean can't be abstract.

Please tell me where am i going wrong.


Thanks


-Original Message-
From: Simon Salykov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 2:15 PM
To: Orion-Interest
Subject: RE: EJB 2.0 status.



Hi!


    Yes. I rembered we have the same problem. IMHO the only two cases when at
this moment relations are usefull is relation between EJB and dependent
class and relation one to many between two EJBs when cmr field exists only
in EJB with multiplicity "one". In your case it'll be MediaPlan has no field
campaign and Campaign EJB has Collection of MediaPlan.


Best wishes,
Simon Salykov.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Yann Doussot
Sent: Wednesday, August 30, 2000 8:27 PM
To: Orion-Interest
Subject: RE: EJB 2.0 status.



On Wed, 30 Aug 2000, Simon Salykov wrote:


> Hi, Yann!
>
>   Your relation description is incorrect. "campaign-has-mediaplan" role
> source's multiplicity must be one and "mediaplan_belongsto_campaign"
> source's multiplicity must be many. Because one campaign has many media
> plans. Try it. Hope it helps.


    Well unfortunately it doesn't help :( Orion creates the same
database structure and the resulting beans have the same problems. Thanks
for your help anyway.


--
Yann Doussot <[EMAIL PROTECTED]>
Grey Interactive - France - http://www.gifrance.com/






RE: EJB 2.0 status.

2000-08-31 Thread Simon Salykov

Hi!

Yes. I rembered we have the same problem. IMHO the only two cases when at
this moment relations are usefull is relation between EJB and dependent
class and relation one to many between two EJBs when cmr field exists only
in EJB with multiplicity "one". In your case it'll be MediaPlan has no field
campaign and Campaign EJB has Collection of MediaPlan.

Best wishes,
Simon Salykov.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Yann Doussot
Sent: Wednesday, August 30, 2000 8:27 PM
To: Orion-Interest
Subject: RE: EJB 2.0 status.


On Wed, 30 Aug 2000, Simon Salykov wrote:

> Hi, Yann!
>
>   Your relation description is incorrect. "campaign-has-mediaplan" role
> source's multiplicity must be one and "mediaplan_belongsto_campaign"
> source's multiplicity must be many. Because one campaign has many media
> plans. Try it. Hope it helps.

Well unfortunately it doesn't help :( Orion creates the same
database structure and the resulting beans have the same problems. Thanks
for your help anyway.

--
Yann Doussot <[EMAIL PROTECTED]>
Grey Interactive - France - http://www.gifrance.com/