Clustering problems.

2000-09-07 Thread Jason von Nieda



Hi all. I am having some trouble getting clustering working on 
a fairly simple setup. I am hoping someone can give me some hints as to what I 
am doing wrong. I have two machines each running Orion 1.2.9 with JDK 1.3.0RC on 
Solaris. One is Intel and the other is Sparc. Both of these machines have two 
ethernet interfaces, one for the public Internet and one for the private network 
(which is simply the two machines connected to a hub). 
My first question is; will Orion tell me when a machine joins 
the cluster? Is there any kind of notification at all? 
Secondly; If the above is the case, then I must be configuring 
something wrong. I have tried adding 
 to server.xml (and id="2" on the 
second machine), I have tried adding  to rmi.xml (both with and without id) and I have tried 
adding  to one of my orion-web.xml files. No matter what 
I do, I never get any indication that any clustering is happening. 
Which of the above is neccessary, and which is redundant (if 
any)?
Also, do I really need to add  to my 
orion-web.xml files? Isn't there a place I can say "make all apps clusterable by 
default"? I currently have about 20 apps installed and this makes it kinda 
annoying :)
Anyway, thanks for the help. I have been beating my head 
against this for a few days. 


How to influence the default running directory when running CGI's

2000-09-07 Thread van Geel, Leo

I have a CGI that is running in the directory http://node/mp_devel

In Apache the mp_devel directory is the default dir. In Orion the default
directory seems to be the Orion_Home dir.

I have tried to create a virtual directory /mp_devel with real directory
pointing to mp_devel but the current dir remains orion_home.

How can I influence this?

Help is appreciated.


Regards

Leo van Geel




RE: Performance for static files

2000-09-07 Thread Rick Bos


I have experienced similar delays with framesets.

On the intranet there was a small delay, but with an outside connection
the delay was quite long.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dale Bronk
Sent: Thursday, September 07, 2000 7:56 PM
To: Orion-Interest
Subject: Re: Performance for static files


That may be true as I was including the time to server the file all the way
to the point of the "little e" stopped spinning.  Have you had the following
problems with framesets...

In Apache/IIS with JRun 2.3.3 the frameset and each individual jsp/html
files popup quickly.  In Orion, one frame will be visible and then do the
wait for 10-15 seconds, then the next frame and wait, then the next.

It doesn't seem to matter if I use only static html or jsp...  The "problem"
exists on both.

Dale


- Original Message -
From: "Kevin Duffey" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 1:57 PM
Subject: RE: Performance for static files


> Hi,
>
> Two things. One..your correct about the browser keeps on going. I have the
> same "problem" on my site. Its strange, but the little E keeps spinning on
> the browser for many seconds after the page is displayed, and I am not
sure
> why. This might be a bug with Orion..maybe it's not closing a connection
or
> something?
>
> On the other hand, I have seen much faster results with html AND jsp pages
> with Orion over IIS and Apache.
>
>
> > -Original Message-
> > From: Dale Bronk [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 07, 2000 5:15 AM
> > To: Orion-Interest
> > Subject: Re: Performance for static files
> >
> >
> > Right now until I am proved otherwise, I disagree.  I posted
> > a message a day
> > or so ago and have no reply yet.  Now I do believe that it is
> > probably some
> > setting I have (although I am using the default settings from
> > Orion), but my
> > web pages are not served very fast at all.  I am on a PIII 256M using
> > Windows Server 2000 and tested the same static pages with
> > Apache and IIS and
> > they really popup quickly.  With Orion, the pages seem to
> > completely display
> > but the browser keeps going for up to 10-15 seconds before it stops.
> >
> > I am not saying I disagree with the benchmarks, what I am
> > saying is I agree
> > with them with the correct set of configurations as I have
> > used the same
> > static pages on the same machine with Apache, IIS, and Orion.
> >  I did not use
> > any benchmarking tools other than my eye but it was very
> > obvious (clearing
> > browser cache between each request) that as soon as the pages
> > "appeared" to
> > be fully display (very small graphics, if any) using Apache
> > and IIS, the
> > browser (both IE and NS) stopped.  With Orion, the browsers
> > just kept going
> > (not sure doing what) for another 10-15 seconds.
> >
> > Like I said, I am sure it is some configuration but I wish
> > someone would
> > tell me what the setting is.  I also tried browsing from
> > several different
> > machines to make sure that it was not simply my browser.
> >
> > Dale
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: Orion-Interest <[EMAIL PROTECTED]>
> > Sent: Thursday, September 07, 2000 3:51 AM
> > Subject: SV: Performance for static files
> >
> >
> > > Look at the benchmark page...
> > >
> > > Against Apache and IIS its got no problems at all beating
> > them into the
> > > bushes. The url is enclosed, have fun...
> > >
> > > Klaus Myrseth
> > >
> > > -Opprinnelig melding-
> > > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > > Sendt: 7. september 2000 08:40
> > > Til: Orion-Interest
> > > Emne: Performance for static files
> > >
> > >
> > > We have a webbased client/server application which in
> > addition to its
> > > dynamic elements has to serve a huge amount of small files
> > (HTML, GIF,
> > > JS). I understand that Orionserver's performance for J2EE based
> > > applications is pretty good. How about serving static files from the
> > > file system? Can it compete with high performance servers like AOL
> > > Server, Stronghold Apache or others in this area?
> > >
> > > Thanks,
> > > Christof
> > >
> > >
> > >
> >
> >
>
>






Re: SQL Server DB Pooling

2000-09-07 Thread Norman Jefferies

Since I'm not using your exact driver, I've used Webogic for SQL Sever7, and
others for Sybase and Informix, I'm assuming that the driver is JDBC 2.0
compliant, since that's a requirement for connection pooling to be
available. The pooling has worked fine for me with all of the above
databases. Hummm, what am I missing.

-Original Message-
From: dan moy <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Thursday, September 07, 2000 6:08 PM
Subject: Re: SQL Server DB Pooling


>Norm, I tried using a simpler name but I am still having problems. Here is
>the error message:
>
>500 Internal Server Error
>java.lang.ClassCastException: com.evermind.sql.OrionPooledDataSource
> at
>/examples/jsp/jdbctest/jdbctest.jsp._jspService(/examples/jsp/jdbctest/jdbc
test.jsp.java:49)
> (JSP page line 24)
> at com.evermind.server.http.EvermindHttpJspPage.service(JAX)
> at com.evermind.server.http.HttpApplication.t8(JAX)
> at com.evermind.server.http.JSPServlet.service(JAX)
> at com.evermind.server.http.di.pz(JAX)
> at com.evermind.server.http.di.forward(JAX)
> at com.evermind.server.http.dr.p4(JAX)
> at com.evermind.server.http.dr.p3(JAX)
> at com.evermind.util.f.run(JAX)
>
>I'm not sure where to go from here.
>
>Thanks,
>Dan
>On Thu, 7 Sep 2000 15:15:21 -0700, Orion-Interest wrote:
>
>>  Did you try a simpler name?0
>>
>>  I just use jdbc/MyNamdPooledDS for the JNDI in the datasource and for
the
>>  context reference?
>>  I'm wondering if the /pool/ is causing a location problem within JNDI?
>>
>>  Norm
>>
>>  -Original Message-
>>  From: dan moy <[EMAIL PROTECTED]>
>>  To: Orion-Interest <[EMAIL PROTECTED]>
>>  Date: Thursday, September 07, 2000 2:51 PM
>>  Subject: Re: SQL Server DB Pooling
>>
>>
>>  >Norman,
>>  >Thanks for your response, but I did try all of the other JNDI locations
>as
>>  >specified by my data-sources.xml but there was only one I could get to
>>  work;
>>  >the default location "jdbc/MyCoreDS".  All other when tried return a
>class
>>  >cast exception error.
>>  >
>>  >Any other ideas?
>>  >Thanks,
>>  >Dan
>>  >
>>  >On Thu, 7 Sep 2000 12:32:12 -0700, Orion-Interest wrote:
>>  >
>>  >>  Orion already pools the connection for you. Just reference the
pooled
>>  >>  datasouce:
>>  >>
>>  >>  Context ctx = new InitialContext();
>>  >>  DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
>>  >>  Connection conn = ds.getConnection();
>>  >>
>>  >>  This will get you a connection from the pool, and return it when you
>>  >close
>>  >>  the connection.
>>  >>
>>  >>  -Original Message-
>>  >>  From: dan moy <[EMAIL PROTECTED]>
>>  >>  To: Orion-Interest <[EMAIL PROTECTED]>
>>  >>  Date: Thursday, September 07, 2000 12:20 PM
>>  >>  Subject: SQL Server DB Pooling
>>  >>
>>  >>
>>  >>  >Hello,
>>  >>  >I am interested in setting up database pooling using INet's Opta
>driver
>>  >for
>>  >>  >SQL server, but I am having trouble with the configuration.
>>  >>  >
>>  >>  >I can get the driver manager for single connections to work, but if
>I
>>  >try
>>  >>  >any of the pooled conections I am getting a Cast exception.
>>  >>  >
>>  >>  >Any help would be appreciated!  Thanks,
>>  >>  >Dan
>>  >>  >
>>  >>  >Here is my configuration:
>>  >>  >
>>  >>  >
>>  >>  >>  >>  > class="com.evermind.sql.ConnectionDataSource"
>>  >>  > location="jdbc/MyCoreDS"
>>  >>  > pooled-location="jdbc/pooled/MypooledDS"
>>  >>  > xa-location="jdbc/xa/MyXADS"
>>  >>  > ejb-location="jdbc/MyDS"
>>  >>  > name="My data-source"
>>  >>  > url="jdbc:inetdae:SQLSERVERA:1433"
>>  >>  > connection-driver="com.inet.tds.TdsDriver"
>>  >>  > username="sa"
>>  >>  > password=""
>>  >>  >/>
>>  >>  >
>>  >>  >Here is the code I am using to test this connection:
>>  >>  >
>>  >>  >
>>  >>  > PooledConnection pcon = null;
>>  >>  > Connection con = null;
>>  >>  > int i=0;
>>  >>  >
>>  >>  > System.out.println("Starting");
>>  >>  > try {
>>  >>  >Context ctx = new InitialContext();
>>  >>  >
>>  >>  >/*
>>  >>  >  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>>  >>  >  con = ds.getConnection();
>>  >>  >*/
>>  >>  >ConnectionPoolDataSource ds =
>>  >>  >(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>>  >>  >pcon = ds.getPooledConnection();
>>  >>  >con = pcon.getConnection();
>>  >>  >
>>  >>  >Statement s = con.createStatement();
>>  >>  >ResultSet rs = s.executeQuery("select * from sysmessages");
>>  >>  >
>>  >>  >while (rs.next()) {
>>  >>  >%>
>>  >>  >
>>  >>  > <%= i++ %>
>>  >>  > <%= rs.getString(4) %>
>>  >>  >
>>  >>  ><%
>>  >>  >}
>>  >>  >
>>  >>  >rs.close();
>>  >>  >s.close();
>>  >>  > }
>>  >>  >
>>  >>  > catch (NamingException e)
>>  >>
>>  >>  > System.out.println(e.toString());
>>  >>  > }
>>  >>  > catch (SQLException e) {
>>  >>  > System.out.println(e.toString());
>>  >>  > }
>>  >>  > finally
>>  >>
>>  >>  > if (pcon != null)
>>  >>  > try {
>>  >>  > pcon.close()

How-To(newbie): J2EE RI vs. Orion (EJB Client JAR)

2000-09-07 Thread Richard Landon

I have a EJB client that works under the J2EE RI. I have deployed the EAR
containing the EJB JAR onto Orion. How do I acquire the client jar file for
the 
client (or do I)? I have also packaged utility classes used by the EJB and
the clients
into this JAR. Under the J2EE RI, I tell the deployer here to place the
client
jar when I processes the EAR. No such under Orion? If so, where and how do I
get
this JAR file? Now I see an EJB JAR file in the applications directory for
Orion.
I want to move that file onto an arbitrary client via a command, so  the
client
can execute? How? Please explain how Orion is different than the J2EE RI it
this
regards. (My client is actually a JUNIT test case of the beans in the JAR)

Thnaks, Rick Landon




RE: Why are my posts to this list server not getting posted?

2000-09-07 Thread Stanislav Maximov

Man, what are you doing? Do you think this list is the right place to talk
with yourself? :)
All your posts and replies are showing up all right!

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon
> Sent: Friday, September 08, 2000 2:45 AM
> To: Orion-Interest
> Subject: RE: Why are my posts to this list server not getting posted?
>
>
> Hmm, maybe I'll repost my lost posts?
>
> >  -Original Message-
> > From:   Richard Landon
> > Sent:   Thursday, September 07, 2000 3:45 PM
> > To: Richard Landon; '[EMAIL PROTECTED]'
> > Subject:RE: Why are my posts to this list server not getting posted?
> >
> > Okay, posts show up but not replies
> >
> >  -Original Message-
> > From:   Richard Landon
> > Sent:   Thursday, September 07, 2000 3:44 PM
> > To: [EMAIL PROTECTED]
> > Cc: Richard Landon
> > Subject:Why are my posts to this list server not getting
> > posted?
> >
> > Made many posts they never show-up. What's the deal with that?
>





Re: Performance for static files

2000-09-07 Thread Dale Bronk

The problem is I am seeing the same thing on my JSP's.  Especially on pages
with framesets.  In Apache/IIS with JRun 2.3.3 the frameset and each
individual jsp/html files popup quickly.  In Orion, one frame will be
visible and then do the wait for 10-15 seconds, then the next frame and
wait, then the next.


- Original Message -
From: "Juan Pablo Lorandi" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 12:36 PM
Subject: RE: Performance for static files


> Perhaps a lil' off track, I'd like to point out that:
>
> you may configure Apache/IIS, or Orion, to work with each other. If you
feel
> more comfortable
> with Apache serving static HTML, GIF & JPEG files, you can have it
working;
> also it could be
> useful to serve script based pages, say PHP, running in-process with
Apache
> (instead of running
> as CGI with Orion).
>
> My 2c,
>
> JP
>
> -Original Message-
> From: Dale Bronk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 9:15 AM
> To: Orion-Interest
> Subject: Re: Performance for static files
>
>
> Right now until I am proved otherwise, I disagree.  I posted a message a
day
> or so ago and have no reply yet.  Now I do believe that it is probably
some
> setting I have (although I am using the default settings from Orion), but
my
> web pages are not served very fast at all.  I am on a PIII 256M using
> Windows Server 2000 and tested the same static pages with Apache and IIS
and
> they really popup quickly.  With Orion, the pages seem to completely
display
> but the browser keeps going for up to 10-15 seconds before it stops.
>
> I am not saying I disagree with the benchmarks, what I am saying is I
agree
> with them with the correct set of configurations as I have used the same
> static pages on the same machine with Apache, IIS, and Orion.  I did not
use
> any benchmarking tools other than my eye but it was very obvious (clearing
> browser cache between each request) that as soon as the pages "appeared"
to
> be fully display (very small graphics, if any) using Apache and IIS, the
> browser (both IE and NS) stopped.  With Orion, the browsers just kept
going
> (not sure doing what) for another 10-15 seconds.
>
> Like I said, I am sure it is some configuration but I wish someone would
> tell me what the setting is.  I also tried browsing from several different
> machines to make sure that it was not simply my browser.
>
> Dale
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Thursday, September 07, 2000 3:51 AM
> Subject: SV: Performance for static files
>
>
> > Look at the benchmark page...
> >
> > Against Apache and IIS its got no problems at all beating them into the
> > bushes. The url is enclosed, have fun...
> >
> > Klaus Myrseth
> >
> > -Opprinnelig melding-
> > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > Sendt: 7. september 2000 08:40
> > Til: Orion-Interest
> > Emne: Performance for static files
> >
> >
> > We have a webbased client/server application which in addition to its
> > dynamic elements has to serve a huge amount of small files (HTML, GIF,
> > JS). I understand that Orionserver's performance for J2EE based
> > applications is pretty good. How about serving static files from the
> > file system? Can it compete with high performance servers like AOL
> > Server, Stronghold Apache or others in this area?
> >
> > Thanks,
> > Christof
> >
> >
> >
>
>
>






Re: Performance for static files

2000-09-07 Thread Dale Bronk

That may be true as I was including the time to server the file all the way
to the point of the "little e" stopped spinning.  Have you had the following
problems with framesets...

In Apache/IIS with JRun 2.3.3 the frameset and each individual jsp/html
files popup quickly.  In Orion, one frame will be visible and then do the
wait for 10-15 seconds, then the next frame and wait, then the next.

It doesn't seem to matter if I use only static html or jsp...  The "problem"
exists on both.

Dale


- Original Message -
From: "Kevin Duffey" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 1:57 PM
Subject: RE: Performance for static files


> Hi,
>
> Two things. One..your correct about the browser keeps on going. I have the
> same "problem" on my site. Its strange, but the little E keeps spinning on
> the browser for many seconds after the page is displayed, and I am not
sure
> why. This might be a bug with Orion..maybe it's not closing a connection
or
> something?
>
> On the other hand, I have seen much faster results with html AND jsp pages
> with Orion over IIS and Apache.
>
>
> > -Original Message-
> > From: Dale Bronk [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 07, 2000 5:15 AM
> > To: Orion-Interest
> > Subject: Re: Performance for static files
> >
> >
> > Right now until I am proved otherwise, I disagree.  I posted
> > a message a day
> > or so ago and have no reply yet.  Now I do believe that it is
> > probably some
> > setting I have (although I am using the default settings from
> > Orion), but my
> > web pages are not served very fast at all.  I am on a PIII 256M using
> > Windows Server 2000 and tested the same static pages with
> > Apache and IIS and
> > they really popup quickly.  With Orion, the pages seem to
> > completely display
> > but the browser keeps going for up to 10-15 seconds before it stops.
> >
> > I am not saying I disagree with the benchmarks, what I am
> > saying is I agree
> > with them with the correct set of configurations as I have
> > used the same
> > static pages on the same machine with Apache, IIS, and Orion.
> >  I did not use
> > any benchmarking tools other than my eye but it was very
> > obvious (clearing
> > browser cache between each request) that as soon as the pages
> > "appeared" to
> > be fully display (very small graphics, if any) using Apache
> > and IIS, the
> > browser (both IE and NS) stopped.  With Orion, the browsers
> > just kept going
> > (not sure doing what) for another 10-15 seconds.
> >
> > Like I said, I am sure it is some configuration but I wish
> > someone would
> > tell me what the setting is.  I also tried browsing from
> > several different
> > machines to make sure that it was not simply my browser.
> >
> > Dale
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: Orion-Interest <[EMAIL PROTECTED]>
> > Sent: Thursday, September 07, 2000 3:51 AM
> > Subject: SV: Performance for static files
> >
> >
> > > Look at the benchmark page...
> > >
> > > Against Apache and IIS its got no problems at all beating
> > them into the
> > > bushes. The url is enclosed, have fun...
> > >
> > > Klaus Myrseth
> > >
> > > -Opprinnelig melding-
> > > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > > Sendt: 7. september 2000 08:40
> > > Til: Orion-Interest
> > > Emne: Performance for static files
> > >
> > >
> > > We have a webbased client/server application which in
> > addition to its
> > > dynamic elements has to serve a huge amount of small files
> > (HTML, GIF,
> > > JS). I understand that Orionserver's performance for J2EE based
> > > applications is pretty good. How about serving static files from the
> > > file system? Can it compete with high performance servers like AOL
> > > Server, Stronghold Apache or others in this area?
> > >
> > > Thanks,
> > > Christof
> > >
> > >
> > >
> >
> >
>
>






System.out.prinln

2000-09-07 Thread dan moy

Hello All,
I have a question re System.out.prinln with Orion.  It appears that it works
sporatically with JSP pages.  Does anyone know if there is a bug with 1.2?

Thanks,
Dan





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Re: SQL Server DB Pooling

2000-09-07 Thread dan moy

Norm, I tried using a simpler name but I am still having problems. Here is
the error message:

500 Internal Server Error
java.lang.ClassCastException: com.evermind.sql.OrionPooledDataSource
at
/examples/jsp/jdbctest/jdbctest.jsp._jspService(/examples/jsp/jdbctest/jdbctest.jsp.java:49)
 (JSP page line 24)
at com.evermind.server.http.EvermindHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.t8(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.di.pz(JAX)
at com.evermind.server.http.di.forward(JAX)
at com.evermind.server.http.dr.p4(JAX)
at com.evermind.server.http.dr.p3(JAX)
at com.evermind.util.f.run(JAX)

I'm not sure where to go from here.

Thanks,
Dan
On Thu, 7 Sep 2000 15:15:21 -0700, Orion-Interest wrote:

>  Did you try a simpler name?0
>  
>  I just use jdbc/MyNamdPooledDS for the JNDI in the datasource and for the
>  context reference?
>  I'm wondering if the /pool/ is causing a location problem within JNDI?
>  
>  Norm
>  
>  -Original Message-
>  From: dan moy <[EMAIL PROTECTED]>
>  To: Orion-Interest <[EMAIL PROTECTED]>
>  Date: Thursday, September 07, 2000 2:51 PM
>  Subject: Re: SQL Server DB Pooling
>  
>  
>  >Norman,
>  >Thanks for your response, but I did try all of the other JNDI locations
as
>  >specified by my data-sources.xml but there was only one I could get to
>  work;
>  >the default location "jdbc/MyCoreDS".  All other when tried return a
class
>  >cast exception error.
>  >
>  >Any other ideas?
>  >Thanks,
>  >Dan
>  >
>  >On Thu, 7 Sep 2000 12:32:12 -0700, Orion-Interest wrote:
>  >
>  >>  Orion already pools the connection for you. Just reference the pooled
>  >>  datasouce:
>  >>
>  >>  Context ctx = new InitialContext();
>  >>  DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
>  >>  Connection conn = ds.getConnection();
>  >>
>  >>  This will get you a connection from the pool, and return it when you
>  >close
>  >>  the connection.
>  >>
>  >>  -Original Message-
>  >>  From: dan moy <[EMAIL PROTECTED]>
>  >>  To: Orion-Interest <[EMAIL PROTECTED]>
>  >>  Date: Thursday, September 07, 2000 12:20 PM
>  >>  Subject: SQL Server DB Pooling
>  >>
>  >>
>  >>  >Hello,
>  >>  >I am interested in setting up database pooling using INet's Opta
driver
>  >for
>  >>  >SQL server, but I am having trouble with the configuration.
>  >>  >
>  >>  >I can get the driver manager for single connections to work, but if
I
>  >try
>  >>  >any of the pooled conections I am getting a Cast exception.
>  >>  >
>  >>  >Any help would be appreciated!  Thanks,
>  >>  >Dan
>  >>  >
>  >>  >Here is my configuration:
>  >>  >
>  >>  >
>  >>  >  >>  > class="com.evermind.sql.ConnectionDataSource"
>  >>  > location="jdbc/MyCoreDS"
>  >>  > pooled-location="jdbc/pooled/MypooledDS"
>  >>  > xa-location="jdbc/xa/MyXADS"
>  >>  > ejb-location="jdbc/MyDS"
>  >>  > name="My data-source"
>  >>  > url="jdbc:inetdae:SQLSERVERA:1433"
>  >>  > connection-driver="com.inet.tds.TdsDriver"
>  >>  > username="sa"
>  >>  > password=""
>  >>  >/>
>  >>  >
>  >>  >Here is the code I am using to test this connection:
>  >>  >
>  >>  >
>  >>  > PooledConnection pcon = null;
>  >>  > Connection con = null;
>  >>  > int i=0;
>  >>  >
>  >>  > System.out.println("Starting");
>  >>  > try {
>  >>  >Context ctx = new InitialContext();
>  >>  >
>  >>  >/*
>  >>  >  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>  >>  >  con = ds.getConnection();
>  >>  >*/
>  >>  >ConnectionPoolDataSource ds =
>  >>  >(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>  >>  >pcon = ds.getPooledConnection();
>  >>  >con = pcon.getConnection();
>  >>  >
>  >>  >Statement s = con.createStatement();
>  >>  >ResultSet rs = s.executeQuery("select * from sysmessages");
>  >>  >
>  >>  >while (rs.next()) {
>  >>  >%>
>  >>  >
>  >>  > <%= i++ %>
>  >>  > <%= rs.getString(4) %>
>  >>  >
>  >>  ><%
>  >>  >}
>  >>  >
>  >>  >rs.close();
>  >>  >s.close();
>  >>  > }
>  >>  >
>  >>  > catch (NamingException e)
>  >>
>  >>  > System.out.println(e.toString());
>  >>  > }
>  >>  > catch (SQLException e) {
>  >>  > System.out.println(e.toString());
>  >>  > }
>  >>  > finally
>  >>
>  >>  > if (pcon != null)
>  >>  > try {
>  >>  > pcon.close();
>  >>  > }
>  >>  > catch(Exception e) {
>  >>  > System.out.println(e.toString());
>  >>  > }
>  >>  > }
>  >>  >
>  >>  >
>  >>  >
>  >>  >
>  >>  >
>  >>  >
>  >>  >
>  >>  >
>  >>  >___
>  >>  >Say Bye to Slow Internet!
>  >>  >http://www.home.com/xinbox/signup.html
>  >>  >
>  >>
>  >>
>  >
>  >
>  >
>  >
>  >
>  >___
>  >Say Bye to Slow Internet!
>  >http://www.home.com/xinbox/signup.html
>  >
>  
>





___
Say 

RE: User name and password (Newbie)

2000-09-07 Thread Stanislav Maximov

See orion/config/principals.xml file.

stas@

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon
> Sent: Friday, September 08, 2000 1:54 AM
> To: Orion-Interest
> Subject: User name and password (Newbie)
> 
> 
> 
> 
> Many of the Orion related commands require the  and 
> So what are they?
> 
> Simply installed the default, no changes. It prompts for these and 
> refuses to execute anything.
> 
> Please help.
> 




RE: Default user name and password? (Newbie)

2000-09-07 Thread Stanislav Maximov

It is admin/123 by default. But by default this user is deactivated. You
need activate it (principals.xml) and restart the server. There are also
user/456 and anonymous w/o password.

stas@

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Landon
> Sent: Friday, September 08, 2000 1:40 AM
> To: Orion-Interest
> Subject: Default user name and password? (Newbie)
>
>
>
> What are the user name and password that Orion uses by default.
> For example I am attempting to run admin.jar -deploy ... and it reports
>
> java -jar admin.jar ormi://blazer.youbet.com -deploy -file
> c:/ElectronicWagerin/build/lib/ewager.ear -deploymentName ewager
> Security error: Invalid username/password for default (-deploy)
>





Re: User name and password (Newbie)

2000-09-07 Thread Tony Abbott

In your orion directory run "java -jar orion.jar -install" and enter a password.
Use admin and your chosen password to access the tools. Or you can just edit
config/principals.xml and remove deactivated="true" from the admin user...

-t


On Thu, Sep 07, 2000 at 02:53:59PM -0700, Richard Landon wrote:
> 
> 
> Many of the Orion related commands require the  and 
> So what are they?
> 
> Simply installed the default, no changes. It prompts for these and 
> refuses to execute anything.
> 
> Please help.
> 

-- 

   Tony Abbott  [EMAIL PROTECTED]





RE: Disable CMP

2000-09-07 Thread Arved Sandstrom

Sometimes it's easy to forget exactly what it is that J2EE provides for us.
:-)

In this case it's not an Orion issue. Declare the entity bean to be
bean-managed persistence using the  tag in the EJB
deployment descriptor. All straight J2EE spec.

I haven't used earassembler but I've used ejbmaker and ejbassembler to
generate stubs and then tailor the deployment descriptor, respectively and
in that order, just for experiment. They worked quite well. I imagine
earassembler is more of the same. In practise I've found a good Ant build
script and manual D.D. editing to be the way to go.

Arved Sandstrom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, September 07, 2000 3:56 PM
To: Orion-Interest
Subject: Disable CMP


Greeting

I want to use Orion with my ejb without CMP.
1.)How could I configure Orion in order to use ejb without CMP ?
2.)How could I genarate
3.)How could I use ejbassembler ?
4.)How could I use earassembler ?

Thank you very much







___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html







RE: Why are my posts to this list server not getting posted?

2000-09-07 Thread Richard Landon

Hmm, maybe I'll repost my lost posts?

>  -Original Message-
> From: Richard Landon  
> Sent: Thursday, September 07, 2000 3:45 PM
> To:   Richard Landon; '[EMAIL PROTECTED]'
> Subject:  RE: Why are my posts to this list server not getting posted?
> 
> Okay, posts show up but not replies
> 
>-Original Message-
>   From:   Richard Landon  
>   Sent:   Thursday, September 07, 2000 3:44 PM
>   To: [EMAIL PROTECTED]
>   Cc: Richard Landon
>   Subject:Why are my posts to this list server not getting
> posted?
> 
>   Made many posts they never show-up. What's the deal with that?




RE: Why are my posts to this list server not getting posted?

2000-09-07 Thread Richard Landon

Okay, posts show up but not replies

>  -Original Message-
> From: Richard Landon  
> Sent: Thursday, September 07, 2000 3:44 PM
> To:   [EMAIL PROTECTED]
> Cc:   Richard Landon
> Subject:  Why are my posts to this list server not getting posted?
> 
> Made many posts they never show-up. What's the deal with that?




RE: Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Richard Landon



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


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

Any guidance is appreciated in advance.

Regards, Rick Landon




Why are my posts to this list server not getting posted?

2000-09-07 Thread Richard Landon

Made many posts they never show-up. What's the deal with that?




Re: Default user name and password? (Newbie)

2000-09-07 Thread Vincent Serpico

Richard Landon wrote:

> What are the user name and password that Orion uses by default.
> For example I am attempting to run admin.jar -deploy ... and it reports
>
> java -jar admin.jar ormi://blazer.youbet.com -deploy -file
> c:/ElectronicWagerin/build/lib/ewager.ear -deploymentName ewager
> Security error: Invalid username/password for default (-deploy)

set "deactivated" to true in username="admin" in principals.xml.

-serpico





Re: Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Vincent Serpico

Richard Landon wrote:

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

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

-serpico





Re: User name and password (Newbie)

2000-09-07 Thread Vincent Serpico

Richard Landon wrote:

> Many of the Orion related commands require the  and 
> So what are they?
>
> Simply installed the default, no changes. It prompts for these and
> refuses to execute anything.
>
> Please help.

orion/config/principals.xml

they are all "deactivated" by default.


-serpico





RE: SV: Performance for static files

2000-09-07 Thread VASQUEZ_JASON

If we were serving up static pages, then we wouldn't need Orion... :)







Frank Eggink <[EMAIL PROTECTED]>
09/07/00 03:43 PM
Please respond to Orion-Interest

        
        To:        Orion-Interest <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: SV: Performance for static files



Maybe a still too early notice: in the new 2.4 Linux kernel they will serve static http request direct
from the kernel. This could give interesting results wrt performance :-)


On Thursday, September 07, 2000 11:46 AM, Christof Baumgaertner [SMTP:[EMAIL PROTECTED]] wrote:
> This benchmarks do not show the numbers for static files which are read directly from the file
> system. I would like to see a comparison between a standard webserver (without any dynamic server
> technology like ASP, JSP, Servlets) serving static files and Orion. Are there any realworld
> numbers around?
>
> [EMAIL PROTECTED] wrote:
>
> > Look at the benchmark page...
> >
> > Against Apache and IIS its got no problems at all beating them into the
> > bushes. The url is enclosed, have fun...
> >
> > Klaus Myrseth
> >
> > -Opprinnelig melding-
> > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > Sendt: 7. september 2000 08:40
> > Til: Orion-Interest
> > Emne: Performance for static files
> >
> > We have a webbased client/server application which in addition to its
> > dynamic elements has to serve a huge amount of small files (HTML, GIF,
> > JS). I understand that Orionserver's performance for J2EE based
> > applications is pretty good. How about serving static files from the
> > file system? Can it compete with high performance servers like AOL
> > Server, Stronghold Apache or others in this area?
> >
> > Thanks,
> > Christof
> >
> >   
> >
> >    Benchmark.urlName: Benchmark.url
> >                 Type: Internet Shortcut (application/x-unknown-content-type-InternetShortcut)
>  << File: christof.vcf >>




Re: SQL Server DB Pooling

2000-09-07 Thread Norman Jefferies

Did you try a simpler name?0

I just use jdbc/MyNamdPooledDS for the JNDI in the datasource and for the
context reference?
I'm wondering if the /pool/ is causing a location problem within JNDI?

Norm

-Original Message-
From: dan moy <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Thursday, September 07, 2000 2:51 PM
Subject: Re: SQL Server DB Pooling


>Norman,
>Thanks for your response, but I did try all of the other JNDI locations as
>specified by my data-sources.xml but there was only one I could get to
work;
>the default location "jdbc/MyCoreDS".  All other when tried return a class
>cast exception error.
>
>Any other ideas?
>Thanks,
>Dan
>
>On Thu, 7 Sep 2000 12:32:12 -0700, Orion-Interest wrote:
>
>>  Orion already pools the connection for you. Just reference the pooled
>>  datasouce:
>>
>>  Context ctx = new InitialContext();
>>  DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
>>  Connection conn = ds.getConnection();
>>
>>  This will get you a connection from the pool, and return it when you
>close
>>  the connection.
>>
>>  -Original Message-
>>  From: dan moy <[EMAIL PROTECTED]>
>>  To: Orion-Interest <[EMAIL PROTECTED]>
>>  Date: Thursday, September 07, 2000 12:20 PM
>>  Subject: SQL Server DB Pooling
>>
>>
>>  >Hello,
>>  >I am interested in setting up database pooling using INet's Opta driver
>for
>>  >SQL server, but I am having trouble with the configuration.
>>  >
>>  >I can get the driver manager for single connections to work, but if I
>try
>>  >any of the pooled conections I am getting a Cast exception.
>>  >
>>  >Any help would be appreciated!  Thanks,
>>  >Dan
>>  >
>>  >Here is my configuration:
>>  >
>>  >
>>  >>  > class="com.evermind.sql.ConnectionDataSource"
>>  > location="jdbc/MyCoreDS"
>>  > pooled-location="jdbc/pooled/MypooledDS"
>>  > xa-location="jdbc/xa/MyXADS"
>>  > ejb-location="jdbc/MyDS"
>>  > name="My data-source"
>>  > url="jdbc:inetdae:SQLSERVERA:1433"
>>  > connection-driver="com.inet.tds.TdsDriver"
>>  > username="sa"
>>  > password=""
>>  >/>
>>  >
>>  >Here is the code I am using to test this connection:
>>  >
>>  >
>>  > PooledConnection pcon = null;
>>  > Connection con = null;
>>  > int i=0;
>>  >
>>  > System.out.println("Starting");
>>  > try {
>>  >Context ctx = new InitialContext();
>>  >
>>  >/*
>>  >  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>>  >  con = ds.getConnection();
>>  >*/
>>  >ConnectionPoolDataSource ds =
>>  >(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>>  >pcon = ds.getPooledConnection();
>>  >con = pcon.getConnection();
>>  >
>>  >Statement s = con.createStatement();
>>  >ResultSet rs = s.executeQuery("select * from sysmessages");
>>  >
>>  >while (rs.next()) {
>>  >%>
>>  >
>>  > <%= i++ %>
>>  > <%= rs.getString(4) %>
>>  >
>>  ><%
>>  >}
>>  >
>>  >rs.close();
>>  >s.close();
>>  > }
>>  >
>>  > catch (NamingException e)
>>
>>  > System.out.println(e.toString());
>>  > }
>>  > catch (SQLException e) {
>>  > System.out.println(e.toString());
>>  > }
>>  > finally
>>
>>  > if (pcon != null)
>>  > try {
>>  > pcon.close();
>>  > }
>>  > catch(Exception e) {
>>  > System.out.println(e.toString());
>>  > }
>>  > }
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >___
>>  >Say Bye to Slow Internet!
>>  >http://www.home.com/xinbox/signup.html
>>  >
>>
>>
>
>
>
>
>
>___
>Say Bye to Slow Internet!
>http://www.home.com/xinbox/signup.html
>





RE: SQL Server DB Pooling

2000-09-07 Thread Paul Knepper

Dan,
I've been using the ejb-location with no problems.  Using the Inet Sprinta
2000 driver for MS SQL.

But now I wonder if I should be using the pooled-location?  What would be
the difference?  Does Orion do connection pooling when using the
ejb-location?

Thanks,
Paul

Here is what my data-sources.xml looks like:




-Original Message-
From: dan moy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 1:25 PM
To: Orion-Interest
Subject: Re: SQL Server DB Pooling


Norman,
Thanks for your response, but I did try all of the other JNDI locations as
specified by my data-sources.xml but there was only one I could get to work;
the default location "jdbc/MyCoreDS".  All other when tried return a class
cast exception error.

Any other ideas?
Thanks,
Dan

On Thu, 7 Sep 2000 12:32:12 -0700, Orion-Interest wrote:

>  Orion already pools the connection for you. Just reference the pooled
>  datasouce:
>  
>  Context ctx = new InitialContext();
>  DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
>  Connection conn = ds.getConnection();
>  
>  This will get you a connection from the pool, and return it when you
close
>  the connection.
>  
>  -Original Message-
>  From: dan moy <[EMAIL PROTECTED]>
>  To: Orion-Interest <[EMAIL PROTECTED]>
>  Date: Thursday, September 07, 2000 12:20 PM
>  Subject: SQL Server DB Pooling
>  
>  
>  >Hello,
>  >I am interested in setting up database pooling using INet's Opta driver
for
>  >SQL server, but I am having trouble with the configuration.
>  >
>  >I can get the driver manager for single connections to work, but if I
try
>  >any of the pooled conections I am getting a Cast exception.
>  >
>  >Any help would be appreciated!  Thanks,
>  >Dan
>  >
>  >Here is my configuration:
>  >
>  >
>  >  > class="com.evermind.sql.ConnectionDataSource"
>  > location="jdbc/MyCoreDS"
>  > pooled-location="jdbc/pooled/MypooledDS"
>  > xa-location="jdbc/xa/MyXADS"
>  > ejb-location="jdbc/MyDS"
>  > name="My data-source"
>  > url="jdbc:inetdae:SQLSERVERA:1433"
>  > connection-driver="com.inet.tds.TdsDriver"
>  > username="sa"
>  > password=""
>  >/>
>  >
>  >Here is the code I am using to test this connection:
>  >
>  >
>  > PooledConnection pcon = null;
>  > Connection con = null;
>  > int i=0;
>  >
>  > System.out.println("Starting");
>  > try {
>  >Context ctx = new InitialContext();
>  >
>  >/*
>  >  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>  >  con = ds.getConnection();
>  >*/
>  >ConnectionPoolDataSource ds =
>  >(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>  >pcon = ds.getPooledConnection();
>  >con = pcon.getConnection();
>  >
>  >Statement s = con.createStatement();
>  >ResultSet rs = s.executeQuery("select * from sysmessages");
>  >
>  >while (rs.next()) {
>  >%>
>  >
>  > <%= i++ %>
>  > <%= rs.getString(4) %>
>  >
>  ><%
>  >}
>  >
>  >rs.close();
>  >s.close();
>  > }
>  >
>  > catch (NamingException e)
>  
>  > System.out.println(e.toString());
>  > }
>  > catch (SQLException e) {
>  > System.out.println(e.toString());
>  > }
>  > finally
>  
>  > if (pcon != null)
>  > try {
>  > pcon.close();
>  > }
>  > catch(Exception e) {
>  > System.out.println(e.toString());
>  > }
>  > }
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >___
>  >Say Bye to Slow Internet!
>  >http://www.home.com/xinbox/signup.html
>  >
>  
>





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





User name and password (Newbie)

2000-09-07 Thread Richard Landon



Many of the Orion related commands require the  and 
So what are they?

Simply installed the default, no changes. It prompts for these and 
refuses to execute anything.

Please help.




Default user name and password? (Newbie)

2000-09-07 Thread Richard Landon


What are the user name and password that Orion uses by default.
For example I am attempting to run admin.jar -deploy ... and it reports

java -jar admin.jar ormi://blazer.youbet.com -deploy -file
c:/ElectronicWagerin/build/lib/ewager.ear -deploymentName ewager
Security error: Invalid username/password for default (-deploy)




Orion Newbie Question: Deploytool like UI and such

2000-09-07 Thread Richard Landon

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

Any guidance is appreciated in advance.

Regards, Rick Landon




RE: SV: Performance for static files

2000-09-07 Thread Frank Eggink

Maybe a still too early notice: in the new 2.4 Linux kernel they will serve static 
http request direct
from the kernel. This could give interesting results wrt performance :-)
 

On Thursday, September 07, 2000 11:46 AM, Christof Baumgaertner 
[SMTP:[EMAIL PROTECTED]] wrote:
> This benchmarks do not show the numbers for static files which are read directly 
>from the file
> system. I would like to see a comparison between a standard webserver (without any 
>dynamic server
> technology like ASP, JSP, Servlets) serving static files and Orion. Are there any 
>realworld
> numbers around?
> 
> [EMAIL PROTECTED] wrote:
> 
> > Look at the benchmark page...
> >
> > Against Apache and IIS its got no problems at all beating them into the
> > bushes. The url is enclosed, have fun...
> >
> > Klaus Myrseth
> >
> > -Opprinnelig melding-
> > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > Sendt: 7. september 2000 08:40
> > Til: Orion-Interest
> > Emne: Performance for static files
> >
> > We have a webbased client/server application which in addition to its
> > dynamic elements has to serve a huge amount of small files (HTML, GIF,
> > JS). I understand that Orionserver's performance for J2EE based
> > applications is pretty good. How about serving static files from the
> > file system? Can it compete with high performance servers like AOL
> > Server, Stronghold Apache or others in this area?
> >
> > Thanks,
> > Christof
> >
> >   
> >
> >Benchmark.urlName: Benchmark.url
> > Type: Internet Shortcut 
>(application/x-unknown-content-type-InternetShortcut)
>  << File: christof.vcf >> 




RE: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Krishnan Raghunathan
but i am using the directory way of deployment instead of jar/ ear way of deploying beans as it is easy to refresh stuff during development.
so what i hv is a directory with ejbs and server.xml maps application name to the directory path instead of jar file. In this case any idea where the orion-ejb-jar file should go ( i hv tried putting it in  /META-INF and also in /META-INF both of them hv no effect during deployment)
thanks
Krishnan
  Rick Bos <[EMAIL PROTECTED]> wrote: 
You can put the modified orion-ejb-jar.xml in :/ear/ejb/orion/orion-ejb-jar.xml.The modified archive will then be deployed next time.Search the mail archives on www.orionserver.com for more detailedinstructions.> -Original Message-> From: Krishnan Raghunathan [SMTP:[EMAIL PROTECTED]]> Sent: September 7, 2000 1:40 PM> To: Orion-Interest> Subject: Re: Mapping CMP Entity bean fields to an existing database> table> > is there another way of specifying tablenames and finder methods query,> other than putting it in the orion-ejb-jar.xml. As i understand now it> should be kept in application-deployments\ directory and> gets modified by the server every time it deploys the bean. > > It would be better to have it in the application source-met!
ainf directory> and have orion pick it up from there. Is there any way out? > > Dave Smith <[EMAIL PROTECTED]>wrote: > > > Modify the orion-ejb-jar.xml file: > > > find the entity bean in question and change the table attribute for> the bean. > > > e.g. > > > > Vincent Serpico wrote: > > > "Tilchen, Matt" wrote: > > > > Hello all, > I have deployed a few CMP entity beans> to orion and have noticed how it autocreates tables by default. I> understand that you can turn this feature off, but I would actually like> to specify fields in tables that already exist in my database for Orion to> use for container managed persistence. Can you do this in orion? Any> suggestion would be greatly appreciated. Thank you all for !
your time... > > > -Matt Tilchen > [EMAIL PROTECTED]> > Supposedly you can do this in the orion-ejb-jar.xml file.> I've only been able to map my class variables to my field names there. > To specify the table name, I set the in the dd to> the table name. > > > > -Vince> > > -- > Dave Smith > > > Software Development Manager > e-Net Software Limited > Bath > United Kingdom > > > [EMAIL PROTECTED] > 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;United Kingdom> version:2.1> email;internet:[EMAIL PROTECTED]> title:Software Development Manager>!
 fn:Dave Smith> end:vcard> > > > > _ > > Do You Yahoo!?> Yahoo! Mail - Free email you can access from> anywhere!Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

Re: SQL Server DB Pooling

2000-09-07 Thread dan moy

Norman,
Thanks for your response, but I did try all of the other JNDI locations as
specified by my data-sources.xml but there was only one I could get to work;
the default location "jdbc/MyCoreDS".  All other when tried return a class
cast exception error.

Any other ideas?
Thanks,
Dan

On Thu, 7 Sep 2000 12:32:12 -0700, Orion-Interest wrote:

>  Orion already pools the connection for you. Just reference the pooled
>  datasouce:
>  
>  Context ctx = new InitialContext();
>  DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
>  Connection conn = ds.getConnection();
>  
>  This will get you a connection from the pool, and return it when you
close
>  the connection.
>  
>  -Original Message-
>  From: dan moy <[EMAIL PROTECTED]>
>  To: Orion-Interest <[EMAIL PROTECTED]>
>  Date: Thursday, September 07, 2000 12:20 PM
>  Subject: SQL Server DB Pooling
>  
>  
>  >Hello,
>  >I am interested in setting up database pooling using INet's Opta driver
for
>  >SQL server, but I am having trouble with the configuration.
>  >
>  >I can get the driver manager for single connections to work, but if I
try
>  >any of the pooled conections I am getting a Cast exception.
>  >
>  >Any help would be appreciated!  Thanks,
>  >Dan
>  >
>  >Here is my configuration:
>  >
>  >
>  >  > class="com.evermind.sql.ConnectionDataSource"
>  > location="jdbc/MyCoreDS"
>  > pooled-location="jdbc/pooled/MypooledDS"
>  > xa-location="jdbc/xa/MyXADS"
>  > ejb-location="jdbc/MyDS"
>  > name="My data-source"
>  > url="jdbc:inetdae:SQLSERVERA:1433"
>  > connection-driver="com.inet.tds.TdsDriver"
>  > username="sa"
>  > password=""
>  >/>
>  >
>  >Here is the code I am using to test this connection:
>  >
>  >
>  > PooledConnection pcon = null;
>  > Connection con = null;
>  > int i=0;
>  >
>  > System.out.println("Starting");
>  > try {
>  >Context ctx = new InitialContext();
>  >
>  >/*
>  >  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>  >  con = ds.getConnection();
>  >*/
>  >ConnectionPoolDataSource ds =
>  >(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>  >pcon = ds.getPooledConnection();
>  >con = pcon.getConnection();
>  >
>  >Statement s = con.createStatement();
>  >ResultSet rs = s.executeQuery("select * from sysmessages");
>  >
>  >while (rs.next()) {
>  >%>
>  >
>  > <%= i++ %>
>  > <%= rs.getString(4) %>
>  >
>  ><%
>  >}
>  >
>  >rs.close();
>  >s.close();
>  > }
>  >
>  > catch (NamingException e)
>  
>  > System.out.println(e.toString());
>  > }
>  > catch (SQLException e) {
>  > System.out.println(e.toString());
>  > }
>  > finally
>  
>  > if (pcon != null)
>  > try {
>  > pcon.close();
>  > }
>  > catch(Exception e) {
>  > System.out.println(e.toString());
>  > }
>  > }
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >___
>  >Say Bye to Slow Internet!
>  >http://www.home.com/xinbox/signup.html
>  >
>  
>





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





JMS - NullPointerException when starting queue connection

2000-09-07 Thread Cathleen Dull

Hi;

Does anyone have an idea why I am getting this error? I get the
NullPointerException when I try to start the queue connection inside of
the startJMS method for the Delegator class.  The exception and 
the startJMS method are also attached.  

Thanks for your help,
Cathy Dull

C:\Orion\orion\applications\Cathy-protos\lib\java>java
com.hitachi.hitel.genesis.em.asynchronous.Del
egator
Inside Delegator.startJMS
Just got new Initial Context
Did JNDI Look-up on the queue factory location
Cast it to a  queue connection factory
The queue name is: com.evermind.server.jms.EvermindQueue@2a5330
Created the queue connection
Started the connection
Created the session
Created the receiver
Exception in thread "main" java.lang.NullPointerException
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
at com.evermind.server.jms.bx.(JAX)
at com.evermind.server.jms.EvermindQueueConnection.start(JAX)
at
com.hitachi.hitel.genesis.em.asynchronous.Delegator.startJMS(Delegator.java:80)
at
com.hitachi.hitel.genesis.em.asynchronous.Delegator.(Delegator.java:31)
at
com.hitachi.hitel.genesis.em.asynchronous.Delegator.main(Delegator.java:56)


private void startJMS() throws NamingException, JMSException {
System.out.println("Inside Delegator.startJMS");
ctx = new InitialContext();
System.out.println("Just got new Initial Context");
Object obj = ctx.lookup(QUEUE_FACTORY_LOCATION);
System.out.println("Did JNDI Look-up on the queue factory
location");
QueueConnectionFactory factory = (QueueConnectionFactory)
PortableRemoteObject.narrow(obj, QueueConnectionFactory.class);
System.out.println("Cast it to a  queue connection factory");
Object obj2 = ctx.lookup(QUEUE_LOCATION);
queue = (Queue)PortableRemoteObject.narrow(obj2, Queue.class);
System.out.println("The queue name is: " + queue.toString());
conn = factory.createQueueConnection();
System.out.println("Created the queue connection ");
//conn.setExceptionListener(this);
//System.out.println("setExceptionListener to this ");
System.out.println("Started the connection");
session = conn.createQueueSession(false,
QueueSession.AUTO_ACKNOWLEDGE);
System.out.println("Created the session");
receiver = session.createReceiver(queue);
System.out.println("Created the receiver");
conn.start();
System.out.println("Started the connection");
}




Re: SQL Server DB Pooling

2000-09-07 Thread Norman Jefferies

Orion already pools the connection for you. Just reference the pooled
datasouce:

Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup( "jdbc/pooled/MypooledDS" );
Connection conn = ds.getConnection();

This will get you a connection from the pool, and return it when you close
the connection.

-Original Message-
From: dan moy <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Thursday, September 07, 2000 12:20 PM
Subject: SQL Server DB Pooling


>Hello,
>I am interested in setting up database pooling using INet's Opta driver for
>SQL server, but I am having trouble with the configuration.
>
>I can get the driver manager for single connections to work, but if I try
>any of the pooled conections I am getting a Cast exception.
>
>Any help would be appreciated!  Thanks,
>Dan
>
>Here is my configuration:
>
>
> class="com.evermind.sql.ConnectionDataSource"
> location="jdbc/MyCoreDS"
> pooled-location="jdbc/pooled/MypooledDS"
> xa-location="jdbc/xa/MyXADS"
> ejb-location="jdbc/MyDS"
> name="My data-source"
> url="jdbc:inetdae:SQLSERVERA:1433"
> connection-driver="com.inet.tds.TdsDriver"
> username="sa"
> password=""
>/>
>
>Here is the code I am using to test this connection:
>
>
> PooledConnection pcon = null;
> Connection con = null;
> int i=0;
>
> System.out.println("Starting");
> try {
>Context ctx = new InitialContext();
>
>/*
>  DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
>  con = ds.getConnection();
>*/
>ConnectionPoolDataSource ds =
>(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
>pcon = ds.getPooledConnection();
>con = pcon.getConnection();
>
>Statement s = con.createStatement();
>ResultSet rs = s.executeQuery("select * from sysmessages");
>
>while (rs.next()) {
>%>
>
> <%= i++ %>
> <%= rs.getString(4) %>
>
><%
>}
>
>rs.close();
>s.close();
> }
>
> catch (NamingException e)

> System.out.println(e.toString());
> }
> catch (SQLException e) {
> System.out.println(e.toString());
> }
> finally

> if (pcon != null)
> try {
> pcon.close();
> }
> catch(Exception e) {
> System.out.println(e.toString());
> }
> }
>
>
>
>
>
>
>
>
>___
>Say Bye to Slow Internet!
>http://www.home.com/xinbox/signup.html
>





Re: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Vincent Serpico


Krishnan Raghunathan wrote:
 is there another way of specifying tablenames
and finder methods query, other than putting it in the orion-ejb-jar.xml.
As i understand now it should be kept in application-deployments\
directory and gets modified by the server every time it deploys the bean.
It would be better to have it in the application source-metainf directory
and have orion pick it up from there. Is there any way out?
  Dave Smith <[EMAIL PROTECTED]> wrote:
Modify
the orion-ejb-jar.xml file:
find the entity bean in question and change the table attribute for
the bean.
e.g.

Vincent Serpico wrote:
"Tilchen, Matt" wrote:
 
Hello all,

I have deployed a few CMP entity beans to orion and have noticed how it
autocreates tables by default. I understand that you can turn this feature
off, but I would actually like to specify fields in tables that already
exist in my database for Orion to use for container managed persistence.
Can you do this in orion? Any suggestion would be greatly appreciated.
Thank you all for your time...
-Matt Tilchen
[EMAIL PROTECTED]
Supposedly you can do this in the orion-ejb-jar.xml file. I've only been
able to map my class variables to my field names there.
To specify the table name, I set the  in the dd to the
table name.
 
-Vince

--
Dave Smith
Software Development Manager
e-Net Software Limited
Bath
United Kingdom
[EMAIL PROTECTED]
  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;United Kingdom
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Development Manager
fn:Dave Smith
end:vcard


Do You Yahoo!?
Yahoo! Mail - Free email you can
access from anywhere!
No, keep it in your jar in your ear under /orion/.
-serpico


non-ejb classes

2000-09-07 Thread Derek Akers

I have a small shopping cart example running with one small problem left.

I am using 2 ejbs, one is a Cart bean and the other is a CartManager bean
that keeps a hash table of cart objects and the session id's each is tied
to.  The Cart Manager is accessed through a non-ejb class that should be
accessible to a JSP page via the  tag, but isn't.  Orion is
having a problem invoking the useBean tag when given the class name of the
object to instantiate.  HEre is the code:


 <%
 System.err.println("Error using CartFinderBean");
 %>


(the CartFinderBean calls a method in the cart manager to lookup the cart
instance for that user, and instantiate a cart if none is found in the hash
table)

however, it seems that this tag is not operating properly.  I get errors
when trying to refer to the Cart object that is ultimately invoked using a
method in cartFactory (the instance).  The question is this:  How do I let
orion know that I want it to be able to access this CartFinderBean class
file?  Where do I put it, and what descriptors must I fill out?  It is not
an EJB, so there are no interfaces, which should not be a problem.
anyone have any ideas?

derek akers

(p.s. sorry to all of you who were bothered with the receipt request... I
forgot that it was turned on)





Disable CMP

2000-09-07 Thread michel_climber

Greeting

I want to use Orion with my ejb without CMP.
1.)How could I configure Orion in order to use ejb without CMP ?
2.)How could I genarate 
3.)How could I use ejbassembler ?
4.)How could I use earassembler ?

Thank you very much







___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Re: XSL example

2000-09-07 Thread KirkYarina

I don't know if this is a bug, a feature, or if I've just screwed up my 
copy of MSIE, but I can't get a formatted web page out of the xsl example 
using 1.3.3.

The example doc.jsp links to doc.xsl, which has a output method of xml - 
which IE 5.5 displays as xml source.  No problem here...

I tried changing the output method to html,  (  ) but it still displays as xml rather than a formatted page 
(which it does when saved in a file).  I captured the headers,  which show 
a Content-type of text/xml:

HTTP/1.1 200 OKsl/doc.jsp HTTP/1.0
Date: Thu, 07 Sep 2000 18:29:40 GMT
Server: Orion/1.3.3
Content-Length: 1485
Set-Cookie: JSESSIONID=MBFNAOHFKDLA; Path=/
Cache-Control: private
Connection: Close
Content-Type: text/xml


I changed the media type to text/xml
(  )
This time I got the expected content-type, but IE still displays the raw html.

HTTP/1.1 200 OKsl/doc.jsp HTML/1.0
Date: Thu, 07 Sep 2000 18:33:21 GMT
Server: Orion/1.3.3
Content-Length: 1485
Set-Cookie: JSESSIONID=ACDCCOHFKDLA; Path=/
Cache-Control: private
Connection: Close
Content-Type: text/html

FWIW, Michael Kay's "XLST Programmer's Reference" (from Wrox) says 
text/html is the default for output method="html" (I didn't look at the 
spec, though).  However, the second time  the content looks good, and I 
don't know why IE doesn't display it as a rendered page.

Thanks in advance for any help

Kirk Yarina


At 05:24 PM 9/7/00 -0400, you wrote:
>It's fixed in 1.3.3; thanks!
>
>At 05:06 PM 9/5/00 -0400, you wrote:
>>How do I run the xsl example in default-web-app/examples/xsl?  when using
>>http://hostname/examples/xsl/doc.jsp I get an error:
>>
>>Source XML Error: External entity not found: 
>>"/local/java/orion/default-web-app/examples/xsl/doc.dtd".
>>
>>doc.dtd is in that directory...
>>
>>TIA


Kirk Yarina
[EMAIL PROTECTED]





RE: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Rick Bos

You can put the modified orion-ejb-jar.xml in :

/ear/ejb/orion/orion-ejb-jar.xml.


The modified archive will then be deployed next time.

Search the mail archives on www.orionserver.com for more detailed
instructions.

> -Original Message-
> From: Krishnan Raghunathan [SMTP:[EMAIL PROTECTED]]
> Sent: September 7, 2000 1:40 PM
> To:   Orion-Interest
> Subject:  Re: Mapping CMP Entity bean fields to an existing database
> table
> 
>  is there another way of specifying tablenames and finder methods query,
> other than putting it in the orion-ejb-jar.xml. As i understand now it
> should be kept in application-deployments\ directory and
> gets modified by the server every time it deploys the bean. 
> 
> It would be better to have it in the application source-metainf directory
> and have orion pick it up from there. Is there any way out? 
> 
>   Dave Smith <[EMAIL PROTECTED]> wrote: 
> 
> 
>   Modify the orion-ejb-jar.xml file: 
>   
> 
>   find the entity bean in question and change the table attribute for
> the bean. 
>   
> 
>   e.g. 
>
>   
> 
>   Vincent Serpico wrote: 
>   
> 
>   "Tilchen, Matt" wrote: 
>   
> 
> 
>   Hello all, 
>I have deployed a few CMP entity beans
> to orion and have noticed how it autocreates tables by default. I
> understand that you can turn this feature off, but I would actually like
> to specify fields in tables that already exist in my database for Orion to
> use for container managed persistence. Can you do this in orion? Any
> suggestion would be greatly appreciated. Thank you all for your time... 
>   
> 
>   -Matt Tilchen 
>   [EMAIL PROTECTED]
> 
>   Supposedly you can do this in the orion-ejb-jar.xml file.
> I've only been able to map my class variables to my field names there. 
>   To specify the table name, I set the  in the dd to
> the table name. 
> 
>   
> 
>   -Vince
> 
> 
>   -- 
>   Dave Smith 
>   
> 
>   Software Development Manager 
>   e-Net Software Limited 
>   Bath 
>   United Kingdom 
>   
> 
>   [EMAIL PROTECTED] 
> 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;United Kingdom
>   version:2.1
>   email;internet:[EMAIL PROTECTED]
>   title:Software Development Manager
>   fn:Dave Smith
>   end:vcard
>   
> 
> 
> 
>   _  
> 
> Do You Yahoo!?
> Yahoo! Mail  - Free email you can access from
> anywhere!




RE: Postgres Datasource

2000-09-07 Thread Tim Drury


this file:


http://www.orionserver.com/dtds/database-schemas.dtd">



























-tim

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 9:46 AM
> To: Orion-Interest
> Subject: Re: Postgres Datasource
> 
> 
> What is schema="database-schemas/postgresql.xml ?
> And how could refer to this datasource in my ejb code ?
> 
> thanks
> 
> On Thu, 7 Sep 2000 08:27:07 +0200, Orion-Interest wrote:
> 
> >  Hi Michel,
> >  
> >  > 
> >  > How could I configure a datasource for postgres ?
> >  > 
> >  
> >  > name="Default data-source"
> > class="com.evermind.sql.DriverManagerDataSource"
> > location="jdbc/DefaultDS"
> > pooled-location="jdbc/DefaultPooledDS"
> > xa-location="jdbc/xa/DefaultXADS"
> > ejb-location="jdbc/DefaultEJBDS"
> > url="jdbc:postgresql://hostname/databasename"
> > connection-driver="org.postgresql.Driver"
> > username="userid"
> > password="password"
> > schema="database-schemas/postgresql.xml"
> > />
> >  
> >  
> >  --
> >  Klaus Thiele - Personal & Informatik AG
> >  mailto:[EMAIL PROTECTED]
> >  
> >   "There's got to be more to life than compile-and-go."
> >
> 
> 
> 
> 
> 
> ___
> Say Bye to Slow Internet!
> http://www.home.com/xinbox/signup.html
> 
> 




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

2000-09-07 Thread Joel Shellman

That's great. What are they using as a load balancer front end? We're
looking to deploy a 3 node cluster in production in a few weeks and want
to make sure our proposed setup will work for us.

Thanks,
-- 
Joel Shellman
Chief Software Architect
The virally-driven B2B marketplace for outsourcing projects
http://www.ants.com/90589781

> "Holmes, George (TWIi London)" wrote:
> 
> Hi,
> 
> A couple of my colleagues were involved in re-developing an events
> site (30 million page impressions/day for each day of a 4 day event)
> from NT4/ASP to NT4/JSP/EJB.  They used Orion as the apps server and
> found that the best way forward was to run each (there were twelve in
> total) webserver as a joint web-server/apps-server.  Their, and my own
> experience, is that Orion is quite ready for the fully distributed,
> highly available environment.
> 
> Orion is a great product, and I am sure that the current issues will
> be ironed out shortly.  For me, Orion boils down to being realistic -
> do I really want to get all philosophical and make everything
> distributed to the nth degree, or can I afford to wait (and we're
> probably talking a matter of months here, I guess) for the full
> distributable/highly available version?




RE: naming context problem

2000-09-07 Thread Tim Drury


You hit it exactly.  I couldn't understand why I had to
specify the entity bean in the descriptor for the session;
after all, it's given a jndi name, why can't the session
bean find the bean using that?  I guess it's a way for the
container to know which beans go with which application.
I've been thinking one application-centric and not multi-
application centric with respect to the container.

Thanks Nick!

-tim

> -Original Message-
> From: Nick Newman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 1:08 PM
> To: Orion-Interest
> Subject: Re: naming context problem
> 
> 
> The non-bean should "inherit" the naming context of the EJB 
> session bean
> from which it was called.  Are you sure that you have specified the
> appropriate  for the TestDocument1 entity bean in 
> the xml for that
> session bean?
> 
> Nick
> 
> At 12:50 PM 9/6/00 -0400, you wrote:
> >
> >I have a servlet that finds/creates a session bean.
> >The session bean instantiates a non-bean java object.
> >That java object tries to find an EJB, but fails with
> >the usual: javax.naming.NameNotFoundException:
> >java:comp/env/ejb/TestDocument1
> >
> >Why?  Aren't the servlet, java object, and EJB all
> >running in the same JVM and context?  I've tried the
> >three usual methods for finding the EJB:
> >
> >1)
> >
> >Context ctx = new InitialContext();
> >Object boundObject = ctx.lookup("java:comp/env/ejb/TestDocument1");
> >
> >2) this one wants the application-client.xml:
> >
> >java.util.Properties props = new java.util.Properties();
> >props.setProperty("java.naming.factory.initial","com.evermind
> .server.Applica
> >tionClientInitialContextFactory");
> >props.setProperty("java.naming.provider.url","ormi://localhos
> t/docmgr");
> >props.setProperty("java.naming.security.principal","zzz");
> >props.setProperty("java.naming.security.credentials","zzz");
> >Context ctx = new InitialContext(props);
> >Object boundObject = ctx.lookup("java:comp/env/ejb/TestDocument1");
> >
> >3) same as #2 but with RMIInitialContextFactory:
> >
> >props.setProperty("java.naming.factory.initial",
> >"com.evermind.server.rmi.RMIInitialContextFactory");
> >
> >Any hints as to what I'm doing wrong?
> >
> >-tim
> 
> 




RE: Performance for static files

2000-09-07 Thread Kevin Duffey

Hi,

Two things. One..your correct about the browser keeps on going. I have the
same "problem" on my site. Its strange, but the little E keeps spinning on
the browser for many seconds after the page is displayed, and I am not sure
why. This might be a bug with Orion..maybe it's not closing a connection or
something?

On the other hand, I have seen much faster results with html AND jsp pages
with Orion over IIS and Apache.


> -Original Message-
> From: Dale Bronk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 07, 2000 5:15 AM
> To: Orion-Interest
> Subject: Re: Performance for static files
>
>
> Right now until I am proved otherwise, I disagree.  I posted
> a message a day
> or so ago and have no reply yet.  Now I do believe that it is
> probably some
> setting I have (although I am using the default settings from
> Orion), but my
> web pages are not served very fast at all.  I am on a PIII 256M using
> Windows Server 2000 and tested the same static pages with
> Apache and IIS and
> they really popup quickly.  With Orion, the pages seem to
> completely display
> but the browser keeps going for up to 10-15 seconds before it stops.
>
> I am not saying I disagree with the benchmarks, what I am
> saying is I agree
> with them with the correct set of configurations as I have
> used the same
> static pages on the same machine with Apache, IIS, and Orion.
>  I did not use
> any benchmarking tools other than my eye but it was very
> obvious (clearing
> browser cache between each request) that as soon as the pages
> "appeared" to
> be fully display (very small graphics, if any) using Apache
> and IIS, the
> browser (both IE and NS) stopped.  With Orion, the browsers
> just kept going
> (not sure doing what) for another 10-15 seconds.
>
> Like I said, I am sure it is some configuration but I wish
> someone would
> tell me what the setting is.  I also tried browsing from
> several different
> machines to make sure that it was not simply my browser.
>
> Dale
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Thursday, September 07, 2000 3:51 AM
> Subject: SV: Performance for static files
>
>
> > Look at the benchmark page...
> >
> > Against Apache and IIS its got no problems at all beating
> them into the
> > bushes. The url is enclosed, have fun...
> >
> > Klaus Myrseth
> >
> > -Opprinnelig melding-
> > Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> > Sendt: 7. september 2000 08:40
> > Til: Orion-Interest
> > Emne: Performance for static files
> >
> >
> > We have a webbased client/server application which in
> addition to its
> > dynamic elements has to serve a huge amount of small files
> (HTML, GIF,
> > JS). I understand that Orionserver's performance for J2EE based
> > applications is pretty good. How about serving static files from the
> > file system? Can it compete with high performance servers like AOL
> > Server, Stronghold Apache or others in this area?
> >
> > Thanks,
> > Christof
> >
> >
> >
>
>





SQL Server DB Pooling

2000-09-07 Thread dan moy

Hello,
I am interested in setting up database pooling using INet's Opta driver for
SQL server, but I am having trouble with the configuration.

I can get the driver manager for single connections to work, but if I try
any of the pooled conections I am getting a Cast exception.  

Any help would be appreciated!  Thanks,
Dan

Here is my configuration:




Here is the code I am using to test this connection:


PooledConnection pcon = null;
Connection con = null;
int i=0;

System.out.println("Starting");
try {
Context ctx = new InitialContext();

/*
 DataSource ds = (DataSource)ctx.lookup("jdbc/MyCoreDS");
 con = ds.getConnection();
*/
ConnectionPoolDataSource ds =
(ConnectionPoolDataSource)ctx.lookup("jdbc/MyDS");
pcon = ds.getPooledConnection();
con = pcon.getConnection();

Statement s = con.createStatement();
ResultSet rs = s.executeQuery("select * from sysmessages");

while (rs.next()) {
%>

<%= i++ %>
<%= rs.getString(4) %>

<%
}

rs.close();
s.close();
}

catch (NamingException e) { 
System.out.println(e.toString());
}
catch (SQLException e) {
System.out.println(e.toString());
}
finally { 
if (pcon != null) 
try {
pcon.close();
}
catch(Exception e) {
System.out.println(e.toString());
}
}








___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





RE: EJB 2.0 support ??

2000-09-07 Thread Krishnan Raghunathan
 the version 1.3.1 is supposed to support ejb2.0 style entity beans according to the site. that would mean i suppose support for virtual cmp and cmr fields, abstract entitybean class etc., But i get deployment errors looks like we are still stuck with ejb 1.1 types entity beans after all!
-krishnan
 Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

Re: Finder methods

2000-09-07 Thread Krishnan Raghunathan
 you put these in the orion-ejb-jar.xml file using EJB2.0 types QL.
  Tom Klaasen <[EMAIL PROTECTED]> wrote: 
Hi all,In SilverStream 3.x (another EJB server), the finder methods are describedas follows in a deployment descriptor:findByShopIdjava.lang.StringExpressionitem2.shopid like javaLangString0Is there any way to do the same thing in Orion?Sorry if this is a stupid question, but I've browsed the Orion docs andexamples for hours now and still haven't found the answer.Thanks for any response,--tomKOh, I'm sorry. Did I break your concentration? --Samuel L. Jackson in PulpFiction Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

Re: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Krishnan Raghunathan
 is there another way of specifying tablenames and finder methods query, other than putting it in the orion-ejb-jar.xml. As i understand now it should be kept in application-deployments\ directory and gets modified by the server every time it deploys the bean. 
It would be better to have it in the application source-metainf directory and have orion pick it up from there. Is there any way out?
  Dave Smith <[EMAIL PROTECTED]> wrote: 
Modify the orion-ejb-jar.xml file: 
find the entity bean in question and change the table attribute for the bean. 
e.g.  
Vincent Serpico wrote: 
"Tilchen, Matt" wrote: 
 
Hello all,  I have deployed a few CMP entity beans to orion and have noticed how it autocreates tables by default. I understand that you can turn this feature off, but I would actually like to specify fields in tables that already exist in my database for Orion to use for container managed persistence. Can you do this in orion? Any suggestion would be greatly appreciated. Thank you all for your time... 
-Matt Tilchen [EMAIL PROTECTED]Supposedly you can do this in the orion-ejb-jar.xml file. I've only been able to map my class variables to my field names there. To specify the table name, I set the  in the dd to the table name.   
-Vince
-- Dave Smith 
Software Development Manager e-Net Software Limited Bath United Kingdom 
[EMAIL PROTECTED]   begin:vcard n:Smith;Davetel;cell:+44 797 0008867tel;work:+44 1225 445610x-mozilla-html:TRUEurl:http://www.enetgroup.co.ukorg:e-Net Software Ltdadr:;;26-45 Cheltenham Street;Bath;;BA2 3EX;United Kingdomversion:2.1email;internet:[EMAIL PROTECTED]title:Software Development Managerfn:Dave Smithend:vcardDo You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

Re: XSL example

2000-09-07 Thread KirkYarina

It's fixed in 1.3.3; thanks!

At 05:06 PM 9/5/00 -0400, you wrote:
>How do I run the xsl example in default-web-app/examples/xsl?  when using
>http://hostname/examples/xsl/doc.jsp I get an error:
>
>Source XML Error: External entity not found: 
>"/local/java/orion/default-web-app/examples/xsl/doc.dtd".
>
>doc.dtd is in that directory...
>
>TIA


Kirk Yarina
[EMAIL PROTECTED]





Re: Orion Server web site down?

2000-09-07 Thread Magnus Stenman

Hi, the orionserver.com domain's network ISP had problems leading to a few
hours of downtime during the day. It should be ok again by now.

/Magnus Stenman, the Orion team

PS. For those interested; We are in the process of switching ISP which will
also lead to a faster connection to keep up with the demand. This will take
about 1.5-2.5 months though.


- Original Message -
From: "Harrison, Ray" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 5:16 PM
Subject: Orion Server web site down?


> I haven't been able to get to the Orion web site since early wednesday -
> what's up?
> Ray Harrison





Sample for EJB 2.0

2000-09-07 Thread Vimal Kansal

Can somebody send me a sample of EJB 2.0 on Orion. 

Thanks

Vimal

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




Re: cmt-datasource/ejb-datasource

2000-09-07 Thread Chris Miller

Try using the EJB JDBC url (ie 'ejb-location' from your data-sources.xml)
rather than the standard 'location'. At least, this worked for me (I think
I've got other problems related to my JDBC setup, but that's another story).

- Original Message -
From: "Tom Klaasen" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 5:12 PM
Subject: cmt-datasource/ejb-datasource


> Hi,
>
> I'm porting an ejb application that has already been deployed on
> SilverStream, to Orion.
> I've already solved a lot of problems, but this one seems to be very
> undocumented (I've searched the archive of this list, and at least 5
persons
> have already asked this question, but it was never answered.)
>
> This is the error message I get:
>
> E:\orion\orion>java -jar orion.jar
> Copying default deployment descriptor from archive at
> E:\orion\orion\application
> s\ishop\ishop-ejb/orion/orion-ejb-jar.xml to deployment directory
> E:\orion\orion
> \application-deployments\ishop\ishop-ejb...
> Auto-deploying ishop-ejb... Error compiling
> file:/E:/orion/orion/applications/is
> hop/ishop-ejb/: jdbc/questDS did not contain a
cmt-dataSource/ejb-datasource
> Orion/1.0.3 initialized
>
> The platform is
> Win NT 4.0
> Sybase Anywhere SQL 7.0
> latest orion
>
> Anybody any ideas/pointers as how to tackle this problem?
>
> Thanks,
>
> ~
>Tom Klaasen
>Software Engineer
>The E-corporation
>http://www.the-ecorp.com
>+32 (0)9 272 22 00
> ~
>
>





Orion Server web site down?

2000-09-07 Thread Harrison, Ray

I haven't been able to get to the Orion web site since early wednesday -
what's up?
Ray Harrison




Re: about orion-ejb-jar.xml

2000-09-07 Thread Vincent Serpico

cuenot jerome wrote:

> Hello all,
>
> how can I force the file orion-ejb-jar.xml into the deployment phase of
> Orion Server?
> Where can I put it into the jar file?
>
> Jerome.

Put uder the directory /orion in your jar.
If Orion sees it and uses it, you'll get the following message on
deployment:

Copying default deployment descriptor from archive at [your orion
directory]/applications/[your app name]/[your
ejb.jar]/orion/orion-ejb-jar.xml to deployment directory [your orion
directory]/application-deployments/[your app name]/[your ejb.jar]


-serpico





RE: SQL Trace

2000-09-07 Thread Rick Bos


Look in application-deployments/your-app/ejb/orion-ejb-jar.xml

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: September 7, 2000 8:28 AM
> To:   Orion-Interest
> Subject:  SQL Trace
> 
>  I've seen this question asked before, but don't recall an answer (I
> searched the archive and didn't find one :( ). Is there a way to see what
> SQL the container is generating to send to the db when using CMP? 
> 
> Thanks,
> Bill
> 




RE: Performance for static files

2000-09-07 Thread Juan Pablo Lorandi

Perhaps a lil' off track, I'd like to point out that:
 
you may configure Apache/IIS, or Orion, to work with each other. If you feel
more comfortable
with Apache serving static HTML, GIF & JPEG files, you can have it working;
also it could be
useful to serve script based pages, say PHP, running in-process with Apache
(instead of running
as CGI with Orion).

My 2c,

JP

-Original Message-
From: Dale Bronk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 9:15 AM
To: Orion-Interest
Subject: Re: Performance for static files


Right now until I am proved otherwise, I disagree.  I posted a message a day
or so ago and have no reply yet.  Now I do believe that it is probably some
setting I have (although I am using the default settings from Orion), but my
web pages are not served very fast at all.  I am on a PIII 256M using
Windows Server 2000 and tested the same static pages with Apache and IIS and
they really popup quickly.  With Orion, the pages seem to completely display
but the browser keeps going for up to 10-15 seconds before it stops.

I am not saying I disagree with the benchmarks, what I am saying is I agree
with them with the correct set of configurations as I have used the same
static pages on the same machine with Apache, IIS, and Orion.  I did not use
any benchmarking tools other than my eye but it was very obvious (clearing
browser cache between each request) that as soon as the pages "appeared" to
be fully display (very small graphics, if any) using Apache and IIS, the
browser (both IE and NS) stopped.  With Orion, the browsers just kept going
(not sure doing what) for another 10-15 seconds.

Like I said, I am sure it is some configuration but I wish someone would
tell me what the setting is.  I also tried browsing from several different
machines to make sure that it was not simply my browser.

Dale

- Original Message -
From: <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 3:51 AM
Subject: SV: Performance for static files


> Look at the benchmark page...
>
> Against Apache and IIS its got no problems at all beating them into the
> bushes. The url is enclosed, have fun...
>
> Klaus Myrseth
>
> -Opprinnelig melding-
> Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> Sendt: 7. september 2000 08:40
> Til: Orion-Interest
> Emne: Performance for static files
>
>
> We have a webbased client/server application which in addition to its
> dynamic elements has to serve a huge amount of small files (HTML, GIF,
> JS). I understand that Orionserver's performance for J2EE based
> applications is pretty good. How about serving static files from the
> file system? Can it compete with high performance servers like AOL
> Server, Stronghold Apache or others in this area?
>
> Thanks,
> Christof
>
>
>






RE: about orion-ejb-jar.xml

2000-09-07 Thread Rick Bos

It goes in this location in an ear file:

ejb/orion/orion-ejb-jar.xml

Or, in a jar file:

orion/orion-ejb-jar.xml

> -Original Message-
> From: cuenot jerome [SMTP:[EMAIL PROTECTED]]
> Sent: September 7, 2000 8:14 AM
> To:   Orion-Interest
> Subject:  about orion-ejb-jar.xml
> 
> Hello all,
> 
> how can I force the file orion-ejb-jar.xml into the deployment phase of
> Orion Server?
> Where can I put it into the jar file?
> 
> Jerome. << File: Card for cuenot jerome >> 




cmt-datasource/ejb-datasource

2000-09-07 Thread Tom Klaasen

Hi,

I'm porting an ejb application that has already been deployed on
SilverStream, to Orion.
I've already solved a lot of problems, but this one seems to be very
undocumented (I've searched the archive of this list, and at least 5 persons
have already asked this question, but it was never answered.)

This is the error message I get:

E:\orion\orion>java -jar orion.jar
Copying default deployment descriptor from archive at
E:\orion\orion\application
s\ishop\ishop-ejb/orion/orion-ejb-jar.xml to deployment directory
E:\orion\orion
\application-deployments\ishop\ishop-ejb...
Auto-deploying ishop-ejb... Error compiling
file:/E:/orion/orion/applications/is
hop/ishop-ejb/: jdbc/questDS did not contain a cmt-dataSource/ejb-datasource
Orion/1.0.3 initialized

The platform is
Win NT 4.0
Sybase Anywhere SQL 7.0
latest orion

Anybody any ideas/pointers as how to tackle this problem?

Thanks,

~
   Tom Klaasen
   Software Engineer
   The E-corporation
   http://www.the-ecorp.com
   +32 (0)9 272 22 00
~




Re: Postgres Datasource

2000-09-07 Thread michel_climber

What is schema="database-schemas/postgresql.xml ?
And how could refer to this datasource in my ejb code ?

thanks

On Thu, 7 Sep 2000 08:27:07 +0200, Orion-Interest wrote:

>  Hi Michel,
>  
>  > 
>  > How could I configure a datasource for postgres ?
>  > 
>  
>  name="Default data-source"
>   class="com.evermind.sql.DriverManagerDataSource"
>   location="jdbc/DefaultDS"
>   pooled-location="jdbc/DefaultPooledDS"
>   xa-location="jdbc/xa/DefaultXADS"
>   ejb-location="jdbc/DefaultEJBDS"
>   url="jdbc:postgresql://hostname/databasename"
>   connection-driver="org.postgresql.Driver"
>   username="userid"
>   password="password"
>   schema="database-schemas/postgresql.xml"
>   />
>  
>  
>  --
>  Klaus Thiele - Personal & Informatik AG
>  mailto:[EMAIL PROTECTED]
>  
>   "There's got to be more to life than compile-and-go."
>





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Dependent Objects

2000-09-07 Thread BSmith

Hopefully this is an easy one. At theserverside.com and from other sources,
references to dependent objects are made. I understand that a dependent
object is simply a serializable class that is used for things like
addresses, etc. My question is, how does the container map these to the
database? Is this container specific? Can finders be written that query on
properties inside a dependent object? (example, I want to query all accounts
that have and address with the state of CA)

Can anbody offer any detail?

Thanks,

Bill





SQL Trace

2000-09-07 Thread BSmith

 I've seen this question asked before, but don't recall an answer (I
searched the archive and didn't find one :( ). Is there a way to see what
SQL the container is generating to send to the db when using CMP? 

Thanks,
Bill





RE: Counter.jar

2000-09-07 Thread BSmith

Silly me. I had to add a reference to counter for each of my entity beans
that was using it in the ejb-jar.xml.

-Original Message-
From: Mike Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 06, 2000 9:10 PM
To: Orion-Interest
Subject: Re: Counter.jar


I'm not familiar with this application, but based on your diagnosis, it
appears
that the JNDI naming context used by your application is different than that
used by the (successful) servlet.  I'd start by looking at the
initialization of
the JNDI context to verify that the naming properties are the same.

Mike

[EMAIL PROTECTED] wrote:

> I'm trying to use the counter.jar provided with the orion release.
>
> Following the instructions for deploying it with my app with one change (I
> also had to add "Entity" to web.xml), when I
> launch my app, I get a NaeNotFoundException when I call
> .getNextId("java"java:comp/env/ejb/Counter", "AccountEJB")). When I
> make the exact same call from my servlet, it works fine. I'm guessing it's
> some kind of permissions thing, but I don't have a clue as to where to
look.
> Any ideas?
>
> Thanks,
> Bill

--
//
//
//  Mike Clark
//
//  Clarkware Consulting
//  Enterprise Java Architecture, Design, Development
//
//  http://www.clarkware.com
//  [EMAIL PROTECTED]
//  +1.720.851.2014
//






about orion-ejb-jar.xml

2000-09-07 Thread cuenot jerome

Hello all,

how can I force the file orion-ejb-jar.xml into the deployment phase of
Orion Server?
Where can I put it into the jar file?

Jerome.


begin:vcard 
n:Cuenot;Jerome
tel;fax:+33 (0)4.37.41.82.01
tel;work:+33 (0)4.37.41.82.63
x-mozilla-html:FALSE
url:http://www.stellarx.com
org:StellarX;R & D
adr:;;56 Avenue du 11 Novembre 1918;Lyon Tassin Le Bourg;Rhone-Alpes;69160;France
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ingénieur Développeur
note:http://www.stellarx.com
fn:Jerome Cuenot
end:vcard



Re: Performance for static files

2000-09-07 Thread Dale Bronk

Right now until I am proved otherwise, I disagree.  I posted a message a day
or so ago and have no reply yet.  Now I do believe that it is probably some
setting I have (although I am using the default settings from Orion), but my
web pages are not served very fast at all.  I am on a PIII 256M using
Windows Server 2000 and tested the same static pages with Apache and IIS and
they really popup quickly.  With Orion, the pages seem to completely display
but the browser keeps going for up to 10-15 seconds before it stops.

I am not saying I disagree with the benchmarks, what I am saying is I agree
with them with the correct set of configurations as I have used the same
static pages on the same machine with Apache, IIS, and Orion.  I did not use
any benchmarking tools other than my eye but it was very obvious (clearing
browser cache between each request) that as soon as the pages "appeared" to
be fully display (very small graphics, if any) using Apache and IIS, the
browser (both IE and NS) stopped.  With Orion, the browsers just kept going
(not sure doing what) for another 10-15 seconds.

Like I said, I am sure it is some configuration but I wish someone would
tell me what the setting is.  I also tried browsing from several different
machines to make sure that it was not simply my browser.

Dale

- Original Message -
From: <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 3:51 AM
Subject: SV: Performance for static files


> Look at the benchmark page...
>
> Against Apache and IIS its got no problems at all beating them into the
> bushes. The url is enclosed, have fun...
>
> Klaus Myrseth
>
> -Opprinnelig melding-
> Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> Sendt: 7. september 2000 08:40
> Til: Orion-Interest
> Emne: Performance for static files
>
>
> We have a webbased client/server application which in addition to its
> dynamic elements has to serve a huge amount of small files (HTML, GIF,
> JS). I understand that Orionserver's performance for J2EE based
> applications is pretty good. How about serving static files from the
> file system? Can it compete with high performance servers like AOL
> Server, Stronghold Apache or others in this area?
>
> Thanks,
> Christof
>
>
>






Re: Big problem with latest orion.jar 1.3.2

2000-09-07 Thread Magnus Stenman

Hi,
http://www.orionserver.com/orion/orion.jar jar's are very experimental
builds, and this particular one was an intermediate one. We're about to
extend the autoupdate tool by adding -production, -stable and -experimental,
right now you get the experimental orion/orion.jar one. If you use the
experimental jar and find something like this it's most likely that it will
be fixed within a few hours. If it hasnt then enter a bug in bugzilla or
mailbugs@ (bugs@ is preferred for experimental jars, bugzilla for
experimental zips (somewhat more stable) and production zips).

/Magnus Stenman, the Orion team

PS. A new jar is now up at http://www.orionserver.com/orion/orion.jar (ie
autoupdate), 1.3.3.

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 12:50 PM
Subject: Big problem with latest orion.jar 1.3.2


>
> There seems to be a big problem with the latest update of orion.
> The JSP's are being compiled with the following code:
>
> public class __jspPage0_examples_jsp_dates_date_jsp extends
> com.orionserver.http.OrionHttpJspPage {
>
> but there seems to be no com.orionserver.http.OrionHttpJspPage, rather
> there is a com.evermind.server.http.OrionHttpJspPage.
>
> No JSP's work with the latest download.
>
>
> James Birchfield
>
> Ironmax
> a better way to buy, sell and rent construction equipment
> 5 Corporate Center
> 9960 Corporate Campus Drive,
> Suite 2000
> Louisville, KY 40223
>





Big problem with latest orion.jar 1.3.2

2000-09-07 Thread jbirchfield


There seems to be a big problem with the latest update of orion.
The JSP's are being compiled with the following code:

public class __jspPage0_examples_jsp_dates_date_jsp extends
com.orionserver.http.OrionHttpJspPage {

but there seems to be no com.orionserver.http.OrionHttpJspPage, rather
there is a com.evermind.server.http.OrionHttpJspPage.

No JSP's work with the latest download.


James Birchfield

Ironmax
a better way to buy, sell and rent construction equipment
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223





SV: SV: Performance for static files

2000-09-07 Thread Klaus . Myrseth

Look at the bottom of the page, thee is a link called old benchmark :)

It compares Apache, IIS and Orion...

Klaus Myrseth

-Opprinnelig melding-
Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
Sendt: 7. september 2000 11:46
Til: Orion-Interest
Emne: Re: SV: Performance for static files


This benchmarks do not show the numbers for static files which are read
directly from the file
system. I would like to see a comparison between a standard webserver
(without any dynamic server
technology like ASP, JSP, Servlets) serving static files and Orion. Are
there any realworld
numbers around?

[EMAIL PROTECTED] wrote:

> Look at the benchmark page...
>
> Against Apache and IIS its got no problems at all beating them into the
> bushes. The url is enclosed, have fun...
>
> Klaus Myrseth
>
> -Opprinnelig melding-
> Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> Sendt: 7. september 2000 08:40
> Til: Orion-Interest
> Emne: Performance for static files
>
> We have a webbased client/server application which in addition to its
> dynamic elements has to serve a huge amount of small files (HTML, GIF,
> JS). I understand that Orionserver's performance for J2EE based
> applications is pretty good. How about serving static files from the
> file system? Can it compete with high performance servers like AOL
> Server, Stronghold Apache or others in this area?
>
> Thanks,
> Christof
>
>   
>
>Benchmark.urlName: Benchmark.url
> Type: Internet Shortcut
(application/x-unknown-content-type-InternetShortcut)




Finder methods

2000-09-07 Thread Tom Klaasen

Hi all,

In SilverStream 3.x (another EJB server), the finder methods are described
as follows in a deployment descriptor:



findByShopId

java.lang.String


Expression
item2.shopid like javaLangString0
 

Is there any way to do the same thing in Orion?

Sorry if this is a stupid question, but I've browsed the Orion docs and
examples for hours now and still haven't found the answer.

Thanks for any response,

--
tomK
 
Oh, I'm sorry. Did I break your concentration? --Samuel L. Jackson in  Pulp
Fiction 




Re: SV: Performance for static files

2000-09-07 Thread Christof Baumgaertner

This benchmarks do not show the numbers for static files which are read directly from 
the file
system. I would like to see a comparison between a standard webserver (without any 
dynamic server
technology like ASP, JSP, Servlets) serving static files and Orion. Are there any 
realworld
numbers around?

[EMAIL PROTECTED] wrote:

> Look at the benchmark page...
>
> Against Apache and IIS its got no problems at all beating them into the
> bushes. The url is enclosed, have fun...
>
> Klaus Myrseth
>
> -Opprinnelig melding-
> Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
> Sendt: 7. september 2000 08:40
> Til: Orion-Interest
> Emne: Performance for static files
>
> We have a webbased client/server application which in addition to its
> dynamic elements has to serve a huge amount of small files (HTML, GIF,
> JS). I understand that Orionserver's performance for J2EE based
> applications is pretty good. How about serving static files from the
> file system? Can it compete with high performance servers like AOL
> Server, Stronghold Apache or others in this area?
>
> Thanks,
> Christof
>
>   
>
>Benchmark.urlName: Benchmark.url
> Type: Internet Shortcut 
>(application/x-unknown-content-type-InternetShortcut)


begin:vcard 
n:Baumgärtner;Christof
tel;pager:[EMAIL PROTECTED]
tel;cell:+49 171 8169911
tel;fax:+49 89 6797 
tel;work:+49 89 6797 2220
x-mozilla-html:TRUE
url:www.websentric.com
org:WebSentric AG
adr:;;Raiffeisenallee 5;Oberhaching;;82041;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Vice President CTO
x-mozilla-cpt:;-4208
fn:Christof Baumgärtner
end:vcard



SV: Performance for static files

2000-09-07 Thread Klaus . Myrseth

Look at the benchmark page...

Against Apache and IIS its got no problems at all beating them into the
bushes. The url is enclosed, have fun...

Klaus Myrseth

-Opprinnelig melding-
Fra: Christof Baumgaertner [mailto:[EMAIL PROTECTED]]
Sendt: 7. september 2000 08:40
Til: Orion-Interest
Emne: Performance for static files


We have a webbased client/server application which in addition to its
dynamic elements has to serve a huge amount of small files (HTML, GIF,
JS). I understand that Orionserver's performance for J2EE based
applications is pretty good. How about serving static files from the
file system? Can it compete with high performance servers like AOL
Server, Stronghold Apache or others in this area?

Thanks,
Christof



 Benchmark.url


Re: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Dave Smith


Modify the orion-ejb-jar.xml file:
find the entity bean in question and change the table attribute for
the bean.
e.g.

Vincent Serpico wrote:
"Tilchen, Matt" wrote:
 
Hello all,

I have deployed a few CMP entity beans to orion and have noticed how it
autocreates tables by default. I understand that you can turn this feature
off, but I would actually like to specify fields in tables that already
exist in my database for Orion to use for container managed persistence.
Can you do this in orion? Any suggestion would be greatly appreciated.
Thank you all for your time...
-Matt Tilchen
[EMAIL PROTECTED]
Supposedly you can do this in the orion-ejb-jar.xml file. I've only been
able to map my class variables to my field names there.
To specify the table name, I set the  in the dd to the
table name.
 
-Vince

--
Dave Smith
Software Development Manager
e-Net Software Limited
Bath
United Kingdom
[EMAIL PROTECTED]
 

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;United Kingdom
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Development Manager
fn:Dave Smith
end:vcard