Cocoon2 + Orion Integration Instructions

2001-12-28 Thread Steven Punte

 Instructions on how to bring Cocoon2 alive on
  the Orion Web Server can be found at:

   
http://www.candlelightsoftware.com/orion-cocoon.html


Sincerely:

Steven P. Punte

Steven P. Punte
Candlelight Software
By Candlelight If Necessary!
[EMAIL PROTECTED]
http://www.candlelightsoftware.com


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com




Re: MySql?

2000-08-16 Thread Steven Punte


 From what point of view?  As a datasource? No.  Just through a JDBC
 driver as part of an application, yes.

Has it been demonstrated in a production worthy manner that
the facilities of this server, (i.e. db pooling, EJB-CMP) operate
with mysql?

Steve
 
 Brian
 -- 
 Capital Internet
 http://www.capital-internet.net
 Voice: (414) 291-3500 x1004
 
 On Wed, 16 Aug 2000, Steven Punte wrote:
 
  Has anyone ever use the database "mysql" successfully with Orion?
  
  Steve
  
  
  STeve Punte
  e-Business Software Architect
  Technologent Inc
  [EMAIL PROTECTED]
  
 
 





Restarting Orion: HELP: NOT WORKING

2000-08-05 Thread Steven Punte

Dear Orion Interest Group:

Platform:Sun Sparc
OS:Solaris
JDK:  Sun 1.2.2_005
Orion:1.0.3b

Command:
java -jar admin.jar ormi://localhost/ admin 123 -restart

Always Result In:
Error: com.evermind.reflect.UndeclaredExceptionTypeException:
 java.lang.ClassNotFoundException


This is a very very odd problem.Class UndeclaredExceptionTypeException
IS in file orion.jar!!  How could it possibly not find it!
Someone posted that the problem is cured when going to revision 1.0.3b,
however I just did this and the problem remains.

Has anyone found a cure?


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]





Re: Switching from HTTP to HTTPS in an Application

2000-07-25 Thread Steven Punte

Kirk:

I faced this same issue.

I ended up using  "response.sendRedirect( )" and composing
the necessary absolute URL through various string manipulations
(i.e. need absolute so that the URL can begin with https://).

Would really be nice to see a better method.

STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: Kalvar, Kirk [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, July 25, 2000 5:02 AM
Subject: Switching from HTTP to HTTPS in an Application


 Where can I find some examples of switching an application from http to
 https?  I've got Orion running Sun's JPS 1.0 with http and https but
needed
 some guidance.  I  think it would be reasonable once they log into the
 application it would be in secure mode from then on, but I've also heard
 others just secure individual pages.

 Thanks in Advance,

 Kirk S. Kalvar, Software Engineer
 DRS Electronic Systems Group






Certificate from Thawte? How?

2000-07-24 Thread Steven Punte



Has anyone walked through the process of getting a 
real
certificate from Thawte?
 
Any advice?

In particular, Thawte asks what type of web server 
one is running, but
Orion is not listed. What have people been 
selecting?

Thanks in Advance:
 
STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


Multiple SSL Certificates: HOW?

2000-07-21 Thread Steven Punte



Dear Orion Community:

 After MUCH trial and error, I 
have finally succeeded at getting SSL operational. I will write and post a 
"tips for SSL" document with items I've discovered.

 Does anyone know how to create 
multiple certificates? That is, I server multiple application off of one 
server. 

 Thanks in Advance:


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


Quick Tips on SSL

2000-07-21 Thread Steven Punte



This is quick tip list for getting SSL working on 
Orion:
1) Fairly good instructions 
at http://www.orionsupport.com/?key=ssl-howto

2) Install JDK1.3 for the purpose 
of generating you keystone
  and other 
associated files. It has the RSA algorithm 
  in 
it. You don't have to run the server with it.

3) Build the associatedSSL files 
on NT.

4) Be sure to check "Test SSL Chained CA 
Cert" at the Thwart step.

5) On the first step, when the keystone 
tool asks for you First
  and Last name DON'T 
DO THIS!!! Instead give the
  URL of the site you 
are attempting to secure! DAAA!

6) DON'T supply a second password. 
There is an option 
  to do so called 
something like keygen. Just hit
 return 
here. 


 Now, can anyone post a summary 
of the steps to get a REAL certificate?

 Hmm. This is starting to feel 
like open-source software! :-()


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


Example of Principals.xml and web.xml for simple access control?

2000-07-17 Thread Steven Punte

Dear Orion Community:

I  LOVE   the Orion Server
I  HATE   the Orion documentation.

We'll I guess that is a bit of an oversimplification.

Does anyone have an example they could post of a
principals.xml and web.xml file that achieve simple
access control of users to a directory? 

The principals.xml and web.xml make so much
more sense after one has their first working
example.

Sorry for being such a wimp!

STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]





Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte



Rob:

 Thanks for the reply. 


 This is very interesting. 
So WebSphere has the ability to allow a
 particular thread, and their 
dependences, to be debugged without
 putting the entire server into 
debug mode. Is this a correct
 perception of you statement, or 
is the debugging mode taking 
 over the server completely and 
it is not usable by other when
 in this mode?

 Sincerely

  STeve 
Punte




  - Original Message - 
  From: 
  Rob 
  Lapensee 
  To: Orion-Interest 
  Sent: Thursday, July 13, 2000 4:30 
  AM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  
  Put my 
  vote in for IBM Visual Age for Java 
  support.
  
  All 
  you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt 
  work.
  It 
  works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do 
  this).
  But I 
  would really like to be able to debug EJBs from within the 
  IDE.
  
  This 
  also begs the question of what Orion themselves are 
  using.
  Is it 
  straight JDK, or one of the IDEs?
  
  
  Regards,
  
  Rob Lapensee
  Director of Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven PunteSent: Wednesday, July 12, 2000 7:29 
  PMTo: 
  Orion-InterestSubject: Real 
  Debuggin On Orion? How
  
  Dear 
  Orion, and Orion Users:
  
   
  How does one do serious servlet and server side java bean debugging 
  
   
  on orion?
  
   I 
  understand how I could run the jdb debugger on the entire 
  Orion
   
  server, but I expect a more user friendly and productive 
  mechanism
   
  on a commercial product. In particular, I have several 
  developers
   
  all using the same orion process to server from.
  
   
  Being that Orion is 100% Java, and how wonderful Java is, 
  is
   
  there, or is the Orion company working on a way, that I as
   a 
  developer could debug a particular threadwhich is 
   
  initiatedbythe browser I'musing? And it would be 
  nice
   
  if it an IDE could interface with it.
  
   
  Sure, it is not straight forwardto implement, but 
  something
   
  that is desperately needed by developers.
  
   
  And, yes, send me a million dollars while your at it! 
  :-)
  
  STeve 
  Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]


Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte



Rob:

 Thanks for the 
reply.

 From your description it sounds 
like the operation and control
 of tomcat is taken over by the 
IDE. No one else would be 
 able to use this server while 
you are in this debug mode.

 This same strategy should/must 
be doable for Orion or
 any other java based 
server.

 Perhaps my desire to have a 
server BOTH be running
 for some users, and also be able 
to support a debugging
 mode is too much to ask 
for.

 Sincerely:

  Steve 
Punte

 

  - Original Message - 
  From: 
  Rob 
  Lapensee 
  To: Steven Punte ; Orion-Interest 
  Sent: Thursday, July 13, 2000 10:22 
  AM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  
  Perhaps 
  I should clarify
  
  Strictly 
  speaking of servlets, not JSPs.
  Tomcat 
  can be imported into IBM Visual Age for 
  Java.
  Once 
  this is done, a small java program can be written to start up tomcat from 
  within the IBM Visual Age for Java IDE.
  If a 
  break point is set on any servlet code, since Tomcat is running within IBM 
  Visual Age for Java, then when the browser hits the correct servlet, and the 
  correct line of code, it will stop the servlet and show the code on the IDE in 
  debugging mode. At this point you 
  can step through the program line by line. The browser will wait until the 
  servlet completes to show any results.
  
  Again 
  the full information is somewhere in www.ibm.com/vadd
  
  Note 
  that I used IBM Visual Age professional, which does not have WebSphere in 
  it.
  
  Regards, 
  
  
  Rob Lapensee
  Director of 
  Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  -Original 
  Message-From: Steven 
  Punte [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 13, 2000 12:38 
  PMTo: Rob Lapensee; 
  Orion-InterestSubject: Re: 
  Real Debuggin On Orion? How
  
  Rob:
  
   
  Thanks for the reply. 
  
   
  This is very interesting. So WebSphere has the ability to allow 
  a
   
  particular thread, and their dependences, to be debugged 
  without
   
  putting the entire server into debug mode. Is this a 
  correct
   
  perception of you statement, or is the debugging mode taking 
  
   
  over the server completely and it is not usable by other 
  when
   
  in this mode?
  
   
  Sincerely
  
   
   STeve Punte
  
  
  
  
  - Original 
  Message - 
  
  From: Rob 
  Lapensee 
  
  To: Orion-Interest 
  Sent: Thursday, July 13, 
  2000 4:30 AM
  Subject: RE: Real Debuggin 
  On Orion? How
  
  Put my 
  vote in for IBM Visual Age for Java 
  support.
  
  All 
  you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt 
  work.
  It 
  works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do 
  this).
  But I 
  would really like to be able to debug EJBs from within the 
  IDE.
  
  This 
  also begs the question of what Orion themselves are 
  using.
  Is it 
  straight JDK, or one of the IDEs?
  
  
  Regards,
  
  Rob Lapensee
  Director of Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven PunteSent: Wednesday, July 12, 2000 7:29 
  PMTo: 
  Orion-InterestSubject: Real 
  Debuggin On Orion? How
  
  Dear Orion, and 
  Orion Users:
  
   
  How does one do serious servlet and server side java bean debugging 
  
   
  on orion?
  
   I 
  understand how I could run the jdb debugger on the entire 
  Orion
   
  server, but I expect a more user friendly and productive 
  mechanism
   
  on a commercial product. In particular, I have several 
  developers
   
  all using the same orion process to server from.
  
   
  Being that Orion is 100% Java, and how wonderful Java is, 
  is
   
  there, or is the Orion company working on a way, that I as
   a 
  developer could debug a particular threadwhich is 
   
  initiatedbythe browser I'musing? And it would be 
  nice
   
  if it an IDE could interface with it.
  
   
  Sure, it is not straight forwardto implement, but 
  something
   
  that is desperately needed by developers.
  
   
  And, yes, send me a million dollars while your at it! 
  :-)
  
  STeve 
  Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]


Multiple User Debugging Env? Doesnt' Exist?

2000-07-13 Thread Steven Punte



Dear Darren:

 Thank for you reply. I'm 
coming to the same conclusion, 
 and I would like to ask the 
Orion community at large, how
 does everyone do 
debugging?


 1) Do you set 
up individual web servers for each developer,
  
 and thus use a normal debugging convention?

 2) Is there 
any way to share a server, in particular, allow
  
 debugging by various developer of their actives, 
while
  
 allowing other user to work normally. 


 I'm coming to believe this later paradigm (i.e. "2") is not
 ever done and is probably 
impractical.


 What environment do you have for 
debugging?


 Any comments 
welcomed.

STeve Puntee-Business Software ArchitectTechnologent 
Inc[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Darren 
  Gibbons 
  To: Orion-Interest 
  Sent: Thursday, July 13, 2000 12:18 
  PM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  Steven,
  
  AFAIK, there does not exist the ability to do what 
  you're looking for with any application server/IDE combo. I think you 
  are going to be stuck running the entire application server in debug mode to 
  step through the code.
  
  While I haven't tried it with Orion, I've debugged 
  servlets in Resin using the 1.3 JDK, the JPDA (http://java.sun.com/products/jpda/) 
  and Forte (http://www.sun.com/forte/). I don't 
  see why this wouldn't work the same for Orion.
  
  To 
  get around the issues with multiple developers, you might want to use CVS, a 
  central "unit test" development server, and individual servers installed on 
  each of the developers machines. Developers would check out the code to 
  their local machine, test on their local copy of Orion (with the ability to 
  run it in debugging mode without screwing everyone else up) and post their 
  changes back to the unit test server to check for 
  completeness.
  
  As a 
  side note, CVS is a good thing if you're not using it already, especially when 
  multiple developers get into the mix...
  
  Darren.
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Steven 
PunteSent: Thursday, July 13, 2000 10:28 AMTo: 
Orion-InterestSubject: Re: Real Debuggin On Orion? 
How
Rob:

 Thanks for the 
reply.

 From your description it 
sounds like the operation and control
 of tomcat is taken over by 
the IDE. No one else would be 
 able to use this server 
while you are in this debug mode.

 This same strategy 
should/must be doable for Orion or
 any other java based 
server.

 Perhaps my desire to have a 
server BOTH be running
 for some users, and also be 
able to support a debugging
 mode is too much to ask 
for.

 Sincerely:

  Steve 
Punte

 

  - Original Message - 
  From: 
  Rob 
  Lapensee 
  To: Steven Punte 
  ; Orion-Interest 
  Sent: Thursday, July 13, 2000 10:22 
  AM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  
  Perhaps 
  I should clarify
  
  Strictly 
  speaking of servlets, not JSPs.
  Tomcat 
  can be imported into IBM Visual Age for 
  Java.
  Once 
  this is done, a small java program can be written to start up tomcat from 
  within the IBM Visual Age for Java 
IDE.
  If 
  a break point is set on any servlet code, since Tomcat is running within 
  IBM Visual Age for Java, then when the browser hits the correct servlet, 
  and the correct line of code, it will stop the servlet and show the code 
  on the IDE in debugging mode. 
  At this point you can step through the program line by line. The browser will wait until the 
  servlet completes to show any results.
  
  Again 
  the full information is somewhere in www.ibm.com/vadd
  
  Note 
  that I used IBM Visual Age professional, which does not have WebSphere in 
  it.
  
  Regards, 
  
  
  Rob Lapensee
  Director of 
  Technology
  Delfour 
  Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  -Original 
  Message-From: Steven 
  Punte [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 13, 2000 12:38 
  PMTo: Rob Lapensee; 
  Orion-InterestSubject: 
  Re: Real Debuggin On Orion? How
  
  Rob:
  
   
  Thanks for the reply. 
  
   
  This is very interesting. So WebSphere has the ability to 
  allow a
   
  particular thread, and their dependences, to be debugged 
  without
   
  putting the entire server into debug mode. Is this a 
  correct
   
  perception of you statement, or is the debugging mode taking 
  
   
  over the server completely and it is not usable by other 
  when
   
  in this mode?
  
   
  Sincerely
  
  

Re: WAR Files: ME TOO

2000-07-13 Thread Steven Punte

ME TOO:

I'm looking for the "idiot guide to building war files"

STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: Robert Keith (UK) [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 13, 2000 2:13 AM
Subject: WAR Files


 Hi guys,

 Does anyone know of a decent site that details what should be described in
 the web.xml file, I can't find anything on Sun's site that is of any use,
 and how to go about creating a WAR file.

 cheers

 Bob





Fw: Creation Of WAR Files?

2000-07-13 Thread Steven Punte



 Kevin:

 Thanks for the reply.

 My interest in a WAR file is for placing an application
 in a production environment.  It's very nice to simply
 ship it over, and keep track of it, as a single file.

 Thanks for you description below.  It helps.

 Would/should JSP files also be located in the
 WEB-INF directory, or is it ok for them to
 be in a sibling directory that is also jar-ed
 up into the war file?

 Sincerely:

 STeve Punte
 e-Business Software Architect
 Technologent Inc
 [EMAIL PROTECTED]
 - Original Message -
 From: Kevin Duffey [EMAIL PROTECTED]
 To: Steven Punte [EMAIL PROTECTED]; Orion-Interest
 [EMAIL PROTECTED]
 Sent: Thursday, July 13, 2000 6:35 PM
 Subject: RE: Creation Of WAR Files?


  I believe Orion has a GUI tool that creates a WAR for you, but that is
  beyond me. When I am developing, I don't WAR up the dir. I keep it
 expanded.
  You point to the WAR directory structure in default-web-site.xml in the
  /config folder. Just read up on that and you should be set to have a WAR
  file for development. Then you can JAR up the dir:
 
  jar cvf myfile.war root-dir
 
  That should jar up your entire www structure, including the WEB-INF
folder
  which has
  /classes  - the compiled code of your app
  /lib   - the .jar and .zip libraries loaded for you by Orion (as per the
  servlet 2.2 spec)
  web.xml - the descriptor that explain to Orion how to run.
 
  Anything in /classes automatically becomes part of the classpath, that
is
  part of the servlet 2.2 spec and should work on any servlet 2.2
container.
  Anything in the /lib folder should be loaded by the application server
  automatically and become part of the classpath as well. We put jdbc.zip
 (for
  Oracle 8i) there, along with activation.jar, mail.jar, jasp.jar, and
other
  .jar files we need. At runtime they are automatically seen by your app
(in
  the import statements of your classes). Nothing special to do.
 
  Orion has a very kewl feature that allows you, during development, to
 point
  to a "source" directory that matches the package structure output of
your
  compiled classes. It then checks the source dir for changes (time-date)
  compared to the .class file it was compiled in to. If there is a change,
 it
  recompiles and reloads the web-app for you. This allows you not to have
to
  shut down and restart orion every time you make a code change. Most app
  servers support this for classes in the /servlets dir, and generally
that
 is
  javabeans and servlets. Orion (and Resin does this too) will reload the
 web
  app if any classes changed. The only downside is that it can take a few
  seconds for it to check the files. I believe its faster than restarting
  though.
 
   Dear Orion-Interest Group:
  
   Can I simply create a war file by:
  
   1)Properly creating an WEB-INF directory.
   2)Properly creating a WEB-INF/web.xml file.
   3)Properly supplying WEB-INF/classes/*.class files.
   4)Executing "jar cvf  myNewWarFile.war WEB-INF"
  
  
   And I figure out all the more powerful graphics tools a
   bit later once I get the basic concepts down.
  
   STeve Punte
   e-Business Software Architect
   Technologent Inc
   [EMAIL PROTECTED]
   - Original Message -
   From: Mike Cannon-Brookes [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Thursday, July 13, 2000 4:50 PM
   Subject: RE: WAR Files: ME TOO
  
  
A WAR file is just a jar that has one special directory
   /WEB-INF that has
   to
contain a web.xml file. As long as your web.xml file validates
 according
   to
the DTD, it's a valid WAR. Basically you can has as much or as
little
 in
   the
web.xml file as you want. (see
   http://www.orionserver.com/docs/web.xml.html
for more details on what can go in the web.xml file)
   
That's really all there is too it.
   
Mike
   
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steven
Punte
Sent: Friday, July 14, 2000 8:12 AM
To: Orion-Interest
Subject: Re: WAR Files: ME TOO
   
   
ME TOO:
   
I'm looking for the "idiot guide to building war files"
   
STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]
   
   
- Original Message -
From: Robert Keith (UK) [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 13, 2000 2:13 AM
Subject: WAR Files
   
   
 Hi guys,

 Does anyone know of a decent site that details what should be
   described
   in
 the web.xml file, I can't find anything on Sun's site that is of
any
   use,
 and how to go about creating a WAR file.

 cheers

 Bob
   
   
   
  
  






Re: Session time out TOOOO early!

2000-07-11 Thread Steven Punte



 If aJSP pages uses a 
session bean, not EJB but just a server side java bean,
 and that bean is recompiled, the 
server will detect thisand reload it, but
 it will also dump and 
re-start a users present session. This makes sense.
 Otherwise there would be an 
attempt to use the old session bean object
 in the context of the new compiled 
session bean.
 
 In summary the session will appear 
time-out any time a related bean 
 being used in session scope is 
recompiled.


STeve Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Porfiriev 
  Sergey 
  To: Steven Punte 
  Sent: Monday, July 10, 2000 7:24 PM
  Subject: Re: Session time out T 
  early!
  
  I have the same problem, mail me if u received 
  solution
  
- Original Message - 
From: 
Steven 
Punte 
To: Orion-Interest 
Sent: Monday, July 10, 2000 3:19 
PM
Subject: HELP: Session time out T 
early!

Help:

 I'm having serious problem 
with the servlet session timing-out
 way before it should. 
I'm running Orion on Solaris, and typically
 only see the problem when 
development is active (i.e. team
 members changing server side java 
bean files).


 I have set the session 
time-out to 6 hours in the web.xml file as show 
below:

web-app 
servlet 
servlet-namesnoop/servlet-name 
display-namesnoop/display-name 
servlet-classSnoopServlet/servlet-class 
/servlet 
session-config 
session-timeout360/session-timeout 
/session-config 
login-config 
auth-methodBASIC/auth-method 
/login-config/web-app
 My JSP file is as simple as 
possible:

%@ page language="java" session="true" 
%%@ page import="java.util.*" 
%htmlheadtitle%= "Session Bug" 
%/title/headbodybrbr 
Session Information: brLast Accessed %= new Date( 
session.getLastAccessedTime()) % brCreation Time 
%= new Date( session.getCreationTime() ) % brID 
%= session.getId() % brMax Interval %= 
session.getMaxInactiveInterval() 
%/body/html
 In the above examples, the 
creation time typically only hold from 5 minutes to 15 minutes,
 and will then move forward 
to the present time forgetting all other session information.
 
 Any suggestion greatly 
appreciated:


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


Re: Session time out TOOOO early!

2000-07-11 Thread Steven Punte



Tom:

 Yes, this was my main reason for 
switching from Apache + Tomcat
 to Orion. It was too 
difficult to develop software without this
 feature. I believe there 
is a flag in the configuration files of 
 Orion that controls this. I 
couldn't figure out a way to reliably
 make beans reload on Tomcat without a 
reboot or something
 sever like that.



STeve Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Tom Wnuk 
  
  To: Orion-Interest 
  Sent: Tuesday, July 11, 2000 3:36 
PM
  Subject: RE: Session time out T 
  early!
  
  Are 
  you saying Orion detects changes in JSP used beans?
  
  That's great if it truly does because most 
  jsp/servlet engines out there do Not. If the JSP page changes then it 
  will be recompiled but that doesn't necessarily mean you'll get the new bean 
  unless Orion has their own class-loader. The beanclass is already 
  loaded in the JVM, not your instance but the class used for creating 
  instances. I don't know of anyone who dynamically reloads the 
  beans. In order to pick up the new bean the server needs to be 
  restarted.
  
  I 
  hope you're right because this has been a big headache in managing changes to 
  JSP used beans.
  
  My 
  $0.2.
  
  Tom
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Steven 
PunteSent: Tuesday, July 11, 2000 1:11 PMTo: 
Orion-InterestCc: Orion-InterestSubject: Re: Session 
time out T early!
 If aJSP pages uses a 
session bean, not EJB but just a server side java bean,
 and that bean is recompiled, 
the server will detect thisand reload it, but
 it will also dump and 
re-start a users present session. This makes 
sense.
 Otherwise there would be an 
attempt to use the old session bean object
 in the context of the new compiled 
session bean.
 
 In summary the session will appear 
time-out any time a related bean 
 being used in session scope is 
recompiled.


STeve Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Porfiriev Sergey 
  To: Steven Punte 
  
  Sent: Monday, July 10, 2000 7:24 
  PM
  Subject: Re: Session time out T 
  early!
  
  I have the same problem, mail me if u received 
  solution
  
- Original Message - 
From: 
Steven 
Punte 
To: Orion-Interest 
Sent: Monday, July 10, 2000 3:19 
PM
Subject: HELP: Session time out 
T early!

Help:

 I'm having serious 
problem with the servlet session timing-out
 way before it 
should. I'm running Orion on Solaris, and typically
 only see the problem when 
development is active (i.e. team
 members changing server side 
java bean files).


 I have set the session 
time-out to 6 hours in the web.xml file as show 
below:

web-app 
servlet 
servlet-namesnoop/servlet-name 
display-namesnoop/display-name 
servlet-classSnoopServlet/servlet-class 
/servlet 
session-config 
session-timeout360/session-timeout 
/session-config 
login-config 
auth-methodBASIC/auth-method 
/login-config/web-app
 My JSP file is as simple 
as possible:

%@ page language="java" session="true" 
%%@ page import="java.util.*" 
%htmlheadtitle%= "Session 
Bug" 
%/title/headbodybrbr 
Session Information: brLast Accessed %= new Date( 
session.getLastAccessedTime()) % brCreation Time 
%= new Date( session.getCreationTime() ) % 
brID %= session.getId() % brMax 
Interval %= session.getMaxInactiveInterval() 
%/body/html
 In the above examples, 
the creation time typically only hold from 5 minutes to 15 
minutes,
 and will then move 
forward to the present time forgetting all other session 
information.
 
 Any suggestion 
greatly appreciated:


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


HELP: Session time out TOOOO early!

2000-07-10 Thread Steven Punte



Help:

 I'm having serious problem with 
the servlet session timing-out
 way before it should. I'm 
running Orion on Solaris, and typically
 only see the problem when development 
is active (i.e. team
 members changing server side java bean 
files).


 I have set the session 
time-out to 6 hours in the web.xml file as show 
below:

web-app 
servlet 
servlet-namesnoop/servlet-name 
display-namesnoop/display-name 
servlet-classSnoopServlet/servlet-class 
/servlet 
session-config 
session-timeout360/session-timeout 
/session-config 
login-config 
auth-methodBASIC/auth-method 
/login-config/web-app
 My JSP file is as simple as 
possible:

%@ page language="java" session="true" 
%%@ page import="java.util.*" 
%htmlheadtitle%= "Session Bug" 
%/title/headbodybrbr 
Session Information: brLast Accessed %= new Date( 
session.getLastAccessedTime()) % brCreation Time %= 
new Date( session.getCreationTime() ) % brID %= 
session.getId() % brMax Interval %= 
session.getMaxInactiveInterval() 
%/body/html
 In the above examples, the 
creation time typically only hold from 5 minutes to 15 minutes,
 and will then move forward to 
the present time forgetting all other session information.
 
 Any suggestion greatly 
appreciated:


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


Session time-out when any class is reloaded

2000-07-10 Thread Steven Punte



Dear Orion Community:

 I have figured out that any time 
a server side java
 bean (not EJB) is recompiled and 
reloaded, all
 active user sessions are 
deleted.

 Are there any configuration 
parameters associated
 with this?


STeve Puntee-Business Software 
ArchitectTechnologent Inc[EMAIL PROTECTED]


orion-web.xml: development=true

2000-07-06 Thread Steven Punte

Dear James:

Thanks for the hint.

I assume you mean file:
 "~orion/application-deployments/default/appName/orion-web.xml

Also, if I set development=true, where will the transformed jsp to
java files be stored?

Thanks in advance:


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 06, 2000 6:52 AM
Subject: RE: HELP: Reoccurring ArrayIndexOutOfBoundsException from Orion





 Orion has two JSP compilers - one outputs bytecode and the other (I think)
 outputs source, which is then compiled..

 I'm willing to wager that if you use the latter compiler, the problem will
 disappear.

 To change compilers, add the attribute

  development="true"

 to the element 'orion-web-app' in
 /orion/applications/your_app/your_app-web/WEB-INF/orion-web.xml

 Regards,

 James Dodd

 ZDNet







Equivalent to Apache htaccess?

2000-06-27 Thread Steven Punte

Dear Orion Community:

Is there an equivalent to Apache htaccess control strategy?

"htaccess" provides controlled access to directories by way of 
client providing a login name and password.

Yes, this can be done in JSP and servlets, but the Apache 
functionality is something simple that low-end clients are use to.

Thanks in advance:


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]





Re: How are database JOINS achieved with EJBs?

2000-05-26 Thread Steven Punte

Al:

YES.  I'm starting off with the hypothesis that all database tables
should map to EJBs, because that is what all the hype is about.

Now, for real world, does it work well?

Is you answer that one should make create an EJB that
is not CMP, but rather one supplies a hand crafter SQL
command somewhere in its member functions?

STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: Al Fogleson [EMAIL PROTECTED]
To: Steven Punte [EMAIL PROTECTED]; Orion-Interest
[EMAIL PROTECTED]
Sent: Tuesday, May 23, 2000 6:34 PM
Subject: Re: How are database JOINS achieved with EJBs?


 you can do it the same way using BMP.

 Although I would be careful, I think we, as programmers have convinced
 ourselves that if something is in a database it MUST be an entity bean.
This
 attitude seems to prevail all over, even at my work, where I am having a
 heck of a time convincing people it is just not so, or doesnt have to be
:)

 Al

 - Original Message -
 From: "Steven Punte" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Thursday, May 25, 2000 8:52 PM
 Subject: How are database JOINS achieved with EJBs?


  Dear EJB Community:
 
  Entity java beans pretty much represent a row of data
  in a database table.
 
  If one has:
 
  Table XTable Y
  --   --
  A  B  C  DD  E  F  G
 
  One commonly executes a SQL command like:
 
  select A from X join Y on X.D=Y.D where Y.G ="Bill Clinton"
 
  How would one do the equivalent task in an elegant
  "Enterprise Java Bean" like manner?   That is, other
  than simply writing some member function that performs
  a JDBC select command like above.
 
  Inquiring Minds Want To Know
 
  --
  STeve Punte
  e-Business Software Architect
  Technologent Inc
  [EMAIL PROTECTED]
 
 





Re: How are database JOINS achieved with EJBs?

2000-05-26 Thread Steven Punte

Porfiriev:

I'm not yet that familiar with EJBs.
Can you clarify, or re-state you solution below?
I don't understand what you are suggesting.

Thanks


STeve Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]


- Original Message -
From: Porfiriev Sergey [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Cc: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 25, 2000 11:47 PM
Subject: Re: How are database JOINS achieved with EJBs?


 Hello Steven,

 Friday, May 26, 2000, 4:52:00 AM, you wrote:
 example:

 Write folowing in yours Home interface or ( deployment orion ejb-jar.xml
(full: not included)

 public static final String findByID_STORE_AND_ID_GRP_ORDER_BY_NAME_query=
"full:SELECT PL.Id_Pricelist, PL.Datestart, PL.Datestop, PL.Discount,
PL.Id_Product, PL.Id_Status, PL.Itemcomment, PL.Oldprice, PL.Price,
PL.Quantity FROM PriceList PL, Product P WHERE PL.ID_PRODUCT=P.ID_PRODUCT
AND PL.ID_STATUS'0' AND PL.ID_STATUS IS NOT NULL AND P.ID_STORE=$1 AND
P.ID_GRP=$2 ORDER BY P.PRODUCTNAME"


 public static final String findByID_INVITEM_query= "Id_Value in ( select
Id_Value from OrderedValues where Id_InvItem=$1 )";

 SP Dear EJB Community:

 SP Entity java beans pretty much represent a row of data
 SP in a database table.

 SP If one has:

 SP Table XTable Y
 SP --   --
 SP A  B  C  DD  E  F  G

 SP One commonly executes a SQL command like:

 SP select A from X join Y on X.D=Y.D where Y.G ="Bill Clinton"

 SP How would one do the equivalent task in an elegant
 SP "Enterprise Java Bean" like manner?   That is, other
 SP than simply writing some member function that performs
 SP a JDBC select command like above.








CMP-EBJ Tool?

2000-05-20 Thread Steven Punte

Does Orion come with a tools that create necessary SQL interface software to
synchronize an CMP Entity EJB member data with a database?

Steve