Newbie - using EJB and databases

2001-06-20 Thread kevin1


Hello all,
I am still new to the whole EJB thing, but I have a grasp on it.  However,
the one thing I am foggy on is how to use a database.  I know that I set up the
db connection in the data-sources.xml file, but what is the syntax to use that
in an application?  Where could I find an example of that?




getting a cached copy of jsp on reload

2001-06-20 Thread Wendell Nichols

Using Orion 1.5.2
When I redeploy an application and access a jsp page the first time I
can debug through jsp pages, and ejb's.  However when the first pass
through the code is finished, if I press reload on the browser it does
not go through my code.  It apears to get a chched copy of the page,
which displays instantly.
I am using Netscape browser, and Linux for a OS.  I have no caching
proxies, this is all happening on one machine.
If I make a minor modification to any file in the app (ear file) and
redeploy it, I get to debug again.

If this is the way it's suppose to work then it's a bug.  My jsp page
could very well be accessing constantly changing data in a database and
serving a cached copy is not the right thing to do, even one second from
the last access.

Is there a config parm I've missed?

Wendell Nichols





IBM JDK with Orion?

2001-06-20 Thread kevin1


Are there any known issues with using the IBM JDK with Orion?




Re: Orion on Solaris 8

2001-06-20 Thread Ismael Blesa Part

We have tried and it works fine this way.

What -Xconcurrentio means ?


Joerg Weishaupt wrote:

 Hi,

 I'm having two problems with Orion (1.4.5) on Solaris 8 with JDK 1.3.1

 a) I'm unable to set the process into the background. As soon as I log
off from the SSH session the Orion process gets killed.
Startup is done by calling:
nohup java -server -jar -Xconcurrentio -Xms128m -Xmx384m orion.jar -out
$ORION_SERVER/log/server-out.log -err $ORION_SERVER/log/server-err.log 

 b) All German specific vocales (Umlaute) are shown as a ? only.

 Maybe someone has some ideas ?

 TIA
 Joerg Weishaupt





Null values in Jsp page

2001-06-20 Thread Marc SCHNEIDER




Hi,

There is something 
strange with Orion 1.5.2 : when I print a variable which contains a null value 
in a Jsp page, Orion prints "null" instead of an empty 
string.
This doesn't 
appends with the previous version of Orion I had (1.4.5).

Does anybody know 
how to solve this problem ?

Regards,
Marc 
SCHNEIDER


RE: JMS Examples not working

2001-06-20 Thread Kesav Kumar
Title: RE: JMS Examples not working





plz look into the archives. I have explained step by step procedure for JMS to work.


Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information



-Original Message-
From: Tim Rickard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 3:04 PM
To: Orion-Interest
Subject: JMS Examples not working



I am unable to get the JMSChat example to work with Orion 1.5.2. I get a
StackOverFlow error while attempting to process the first line. It appears that
I never get an initial context. I have followed the steps in the readme file.


I changed the example and broke the initial context out of the
TopicConectionFactory creation. I cannot get an InitialContext from
com.evermind.server.ApplicationClientInitialContextFactory. When I change this
and get a context from com.evermind.server.rmi.RMIInitialContextFactory the
program just hangs when it trys to get the TopConnectionFactory. Any ideas





RE: IBM JDK with Orion?

2001-06-20 Thread Eddie Post

We deployed with IBMJava 1.3 and RH 7.1. Other than export
LD_ASSUME_KERNEL=2.2.5 in my bash_profile, we didn't have to do


Is it correct that the person who starts it has to export this value before 
starting it ? And what if you start java -jar orion.jar in a 'su' command, 
to start orion as a different user ?

Eddie



anything
else. We have had no problems.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of kevin1
Sent: Wednesday, June 20, 2001 7:58 AM
To: Orion-Interest
Subject: IBM JDK with Orion?



Are there any known issues with using the IBM JDK with Orion?



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Re: Support for MySQL

2001-06-20 Thread Scot Weber

Yup . . . it sure is.  I use it as well as oracle and db2 for cross
compliance testing. As far as it being a 'success story', i personally
wouldn't use it as a production RDBMS. But that's just MNSHO.

peace - scot weber

Nicolai P Guba wrote:

 Hmmm, I've found that PostgreSQL is supported.  Has anybody got any
 success stories with mySQL? (still evaluating).

 --
   Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708





JMSChat example

2001-06-20 Thread Tim Rickard

When trying to run the jmschat example I receive a stack error while trying to
get the conncectionfactory. From reading the documentation it appears that I
need something
in the jndi.properties file on this line
java.naming.provider.url=ormi://10.1.37.124/
If I add something like jmschat or application orion reports no such domain.
What goes here or what configuration parameter is not set. Does the example run
unchanged anywhere.





Bug number 493

2001-06-20 Thread Kesav Kumar
Title: Bug number 493





I reported a bug Number 493 regarding the JMS NullPointer Exceptions. Plz vote for this bug.


Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information





Re: Support for MySQL

2001-06-20 Thread Chris Callaghan

The latest releases (as of 3.23.34a) of MySQL support transactions by 
using Berkley DB.

I'm using MySQL at the moment. The main anoyance I've got is that it 
doesn't have sub-selects, apart from that, works great.

I haven't tried using transactions though as my data is read only.

Ray Harrison wrote:

Mysql doesn't support transactions (or the last time I checked it didn't) - so it can 
be limited -
but yes, orion interacts with the database just fine. I would suggest another 
database to try
would be SAP DB (www.sapdb.org) which is an open source database delivered by SAP AG 
- I love it.
There is a sap database schema in the orion download. 



--- Nicolai P Guba [EMAIL PROTECTED] wrote:

Hmmm, I've found that PostgreSQL is supported.  Has anybody got any
success stories with mySQL? (still evaluating).

-- 
  Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/








RE: IBM JDK with Orion?

2001-06-20 Thread elephantwalker

Eddie,

We do not start orion under su. We use an account set up for orion. The
.bash_profile in the account exports the LD_ASSUME_KERNEL. We also use a
startup script to crank up orion.

You are right, that every user which starts up orion would either have to
put this in their bash_profile, or do this manually.

We used the startup script available at www.orionsupport.com, see the
article on running orion under unix/linux.

We had problems with bad memory, but that didn't have anything to do with
the ibm or orion.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie Post
Sent: Wednesday, June 20, 2001 1:41 PM
To: Orion-Interest
Subject: RE: IBM JDK with Orion?


We deployed with IBMJava 1.3 and RH 7.1. Other than export
LD_ASSUME_KERNEL=2.2.5 in my bash_profile, we didn't have to do


Is it correct that the person who starts it has to export this value before
starting it ? And what if you start java -jar orion.jar in a 'su' command,
to start orion as a different user ?

Eddie



anything
else. We have had no problems.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of kevin1
Sent: Wednesday, June 20, 2001 7:58 AM
To: Orion-Interest
Subject: IBM JDK with Orion?



Are there any known issues with using the IBM JDK with Orion?



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.






Re: Aaarrrghhh!! CSS and Servlet again

2001-06-20 Thread Robert Koberg



You are misunderstanding when the CSS gets 
used. CSS is client-side. When the browser 
parses the html you send, it will see the LINK tag and download the 
external css documentto apply styles.

A simple way to deal with this is have your CSS off 
the document root or in a sub-dir just off the doc-root:

LINK 
 
REL="stylesheet" 
 
TYPE="text/css" 
 
HREF="/css/mycss.css" 

so, the file could be dowloaded if someone typed in 
this URL:

http://www.abc.com/css/mycss.css

HTH


  - Original Message - 
  From: 
  Brynolf 
  Andersson 
  To: Orion-Interest 
  Sent: Wednesday, June 20, 2001 3:28 
  PM
  Subject: Aaarrrghhh!! CSS and Servlet 
  again
  
  Hi all again,I have been trying all lot of different 
  ways to pick uppthe CSS file but without any success. So I'll try to see if 
  anyone has some more thing to add to my problem. 
  The question is still there, where should I put my CSS file and how should 
  I pick it up from the servlet. 
  Som information:server.xml:application name="Lab01" 
  path="C:\oracle\JDeveloper 3.2.3\myprojects\lab_01" / 
  default-web-site.xml:!-- LAB 01 --web-app 
  application="Lab01" name="web" root="/lab01" / 
  web.xml:?xml version="1.0"?!DOCTYPE web-app PUBLIC 
  "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd" 
  web-appdisplay-nameLab 
  01/display-namedescriptiondesc/descriptionservletservlet-nameEmployeeServlet/servlet-nameservlet-classtraining.EmployeeServlet/servlet-class/servletservlet-mappingservlet-nametraining.EmployeeServlet/servlet-nameurl-pattern//url-pattern 
  --/servlet-mapping /web-app 
  application.xml:?xml version="1.0"?!DOCTYPE application 
  PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" 
  "http://java.sun.com/j2ee/dtds/application_1_2.dtd" 
  display-nameLab01/display-namemodulewebweb-uriweb/web-uricontext-root//context-root/web/module/application 

  Directory structure of the 
  WEB-APP:_lab_01|_META-INF| 
  |_application.xml|_web||WEB-INF||web.xml||classes||pkg||myServlet
  Help
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com
  


Session Timeout

2001-06-20 Thread struts orion


Hi all,
some basic questions

1. In orion server to set session time  where do
   we make the necessary changes.

2. what is the save method for shutting the 
   orionserver.

Thanks

Praveen

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/