RE: EJB 2.0 Dependent bidirectional relationships not working

2000-10-25 Thread Jeff Schnitzer

This is something I have found puzzling about Orion's relationship
mapping.  I suspect it is probably one of those "partially implemented"
parts of Orion.

It appears that when one-to-many relationships are used, Orion creates
and uses a separate relationship table.  As far as the EJBs are
concerned, everything works just fine, but the table is not a very
efficient solution.  In fact the "many"-side object table has a column
for the mapping field, but my experience has been that this is unused
and left as null.

FYI, the orion-ejb-jar.xml (and associated documentation) makes for
interesting reading.  Looks like there are a *lot* of choices for exotic
(read: not accounted for in the current EJB spec) mapping types.

Karl/Magnus:  Is there any way we can find out how complete the
implementation of new EJB2.0 features is?  I don't know if you folks
would rather we enter this kind of stuff in Bugzilla or just leave it
alone and wait.  Maybe a separate category should be set up for EJB2.0
bugs?

Jeff Schnitzer
[EMAIL PROTECTED]

 -Original Message-
 From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 24, 2000 8:40 AM
 To: Orion-Interest
 Subject: RE: EJB 2.0 Dependent bidirectional relationships not working
 
 
 I can't even get bidirectional relationships between beans 
 working here ...
 
 I have a simple one-many relationship, collection in the 
 parent, parent
 object in the child. When deployed, it correctly puts the 
 backreference
 field in the child, but never fills it in with the parent's objectID
 
 has anyone used *any* bi-directional relationship successfully?
 
 john d




RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Jeff Schnitzer

Hey, there is nothing wrong with MS SQL Server and Win2K.  As someone
who is not a professional DBA and has no desire to become one (I like
building things, not maintaining tempermenal third-party software
systems), I find that SQL Server is by far the most pleasant of the big
relational databases (Oracle, Sybase, DB2, Informix) to work with.  The
GUI tools work well, and most tuning is done automagically.

The JDBC driver support is a bit of a problem, though.  Conventional
wisdom 'round here is that the JDBC-ODBC bridge is trouble and should be
avoided in a production environment.  It has native code and it will
lock up the JVM periodically under heavy load.  

Someone on this list suggested this type IV driver:
http://www.inetsoftware.de/English/Produkte/JDBC2/Default.htm 

The most basic license is $250, limited to 20 connections, and "may not
be used with the Internet", whatever that means.  Dunno if this
restriction includes code running in an app server.

Here is my data source:

data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Similarity"
location="jdbc/SimilarityCoreDS"
xa-location="jdbc/xa/SimilarityXADS"
ejb-location="jdbc/SimilarityDS"
connection-driver="com.inet.tds.TdsDriver"
username="sa"
password="your_password_here"
url="jdbc:inetdae7:localhost:1433?database=Similarity"
inactivity-timeout="30"
schema="database-schemas/ms-sql.xml"
/

Make sure you put SQL Server in Mixed Authentication Mode.

And take a vacation already!

Jeff

 -Original Message-
 From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 24, 2000 6:16 PM
 To: Orion-Interest
 Subject: Ok. I feel dumb. Data Sources and MS SQL.
 
 
 Hiya,
 
 Feeling real stupid here. I'm examining data sources and 
 getting totally
 confused. Maybe I'm just burnt out. Haven't had a holiday in 
 five years.
 Sigh.
 
 Back to business. We're *forced* to use Microsoft SQL 7 and 
 Win2K. How do I
 set up the datasource xml file to handle this? I can't seem 
 to find anything
 on this in the email lists on in the docs. The only drivers I 
 have are the
 ODBC bridges (The invisible hidden MS one and the standard 
 Sun one) and I'm
 not paying for a Type IV driver at the outrageous prices I've 
 been presented
 with from BEA and the like. Has anyone done this before or 
 can point me in
 the right direction?
 
 A tired developer who's feeling very old and dim...
 
 Kimberley Scott
 Senior Web Developer
 Peakhour Pty Ltd
 http://smartoffice.com.au - just built. needs work. ASP/COM 
 Sigh. What can
 I say?
 http://peakhour.com.au - corporate site
 http://www.geocities.com/kimmie_scott -me
 
 
 
 




TheServerSide forgot Orion

2000-10-25 Thread Jeff Schnitzer

The latest newsletter from TheServerSide.com includes this little
snippet, included in a discussion of "What makes an application server
succeed":

 * Being compliant with the latest specs. Again, BEA has 
 shined here. They were 6 months ahead of the pack with
 their EJB 1.0 product, which positioned them extremely well.
 And they pulled it off again, recently releasing their EJB 2.0
 beta server far sooner than any other vendor. History, it 
 seems, has repeated itself, and other vendors are playing
 catch-up.

I think those of us who have been using the EJB2.0 support in Orion to
develop our beans for the last several months can see the error in that
statement :-)  WebLogic doesn't even have support yet for
container-managed relationships.  Geez.

I sent TheServerSide a little note urging them to issue a correction.
It's more likely to happen if they get many more comments.

Jeff Schnitzer
[EMAIL PROTECTED]




Re: Servlet can't find Session EJB..

2000-10-25 Thread Christian Sell

Kevin,

May sound stupid, but do you really mean to say 

context.lookup("java:comp/en==b==/ejb/Login");  ??(==s added by me)

Context context = new InitialContext();
Object obj = context.lookup("java:comp/enb/ejb/Login");
LoginHome lh = (LoginHome) PortableRemoteObject.narrow(obj,
LoginHome.class);
Login login = lh.create();
login.login("name","password");






Re: Code generation error at deployment stage.

2000-10-25 Thread Paul Hammant

Done, bug 134

 File this with bugzilla, http://www.orionserver.com/bugzilla/.





SV: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Klaus . Myrseth

Actualy the windows version of the Sybase database is just as pleasant to
work with as SQL server when you use the gui tools. And a bg advantage
is that the jdbc driver that is made for the database is very pleasant to
work with :), and when you need extra performance you can set the server on
a Solaris machine and still use the windows admin tool against it for easy
administration. ASE12 allso supports java in the database something that can
be quite usefull if you have some routines that is neaded when you import
data to make sure things are allright and so on.

But don't missunderstand me, i allso use MS but not in a java environment
(if I can get around it)

Have fun!

Klaus

Prefers Sybase database :)



-Opprinnelig melding-
Fra: Jeff Schnitzer [mailto:[EMAIL PROTECTED]]
Sendt: 25. oktober 2000 09:34
Til: Orion-Interest
Emne: RE: Ok. I feel dumb. Data Sources and MS SQL.


Hey, there is nothing wrong with MS SQL Server and Win2K.  As someone
who is not a professional DBA and has no desire to become one (I like
building things, not maintaining tempermenal third-party software
systems), I find that SQL Server is by far the most pleasant of the big
relational databases (Oracle, Sybase, DB2, Informix) to work with.  The
GUI tools work well, and most tuning is done automagically.

The JDBC driver support is a bit of a problem, though.  Conventional
wisdom 'round here is that the JDBC-ODBC bridge is trouble and should be
avoided in a production environment.  It has native code and it will
lock up the JVM periodically under heavy load.  

Someone on this list suggested this type IV driver:
http://www.inetsoftware.de/English/Produkte/JDBC2/Default.htm 

The most basic license is $250, limited to 20 connections, and "may not
be used with the Internet", whatever that means.  Dunno if this
restriction includes code running in an app server.

Here is my data source:

data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Similarity"
location="jdbc/SimilarityCoreDS"
xa-location="jdbc/xa/SimilarityXADS"
ejb-location="jdbc/SimilarityDS"
connection-driver="com.inet.tds.TdsDriver"
username="sa"
password="your_password_here"
url="jdbc:inetdae7:localhost:1433?database=Similarity"
inactivity-timeout="30"
schema="database-schemas/ms-sql.xml"
/

Make sure you put SQL Server in Mixed Authentication Mode.

And take a vacation already!

Jeff

 -Original Message-
 From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 24, 2000 6:16 PM
 To: Orion-Interest
 Subject: Ok. I feel dumb. Data Sources and MS SQL.
 
 
 Hiya,
 
 Feeling real stupid here. I'm examining data sources and 
 getting totally
 confused. Maybe I'm just burnt out. Haven't had a holiday in 
 five years.
 Sigh.
 
 Back to business. We're *forced* to use Microsoft SQL 7 and 
 Win2K. How do I
 set up the datasource xml file to handle this? I can't seem 
 to find anything
 on this in the email lists on in the docs. The only drivers I 
 have are the
 ODBC bridges (The invisible hidden MS one and the standard 
 Sun one) and I'm
 not paying for a Type IV driver at the outrageous prices I've 
 been presented
 with from BEA and the like. Has anyone done this before or 
 can point me in
 the right direction?
 
 A tired developer who's feeling very old and dim...
 
 Kimberley Scott
 Senior Web Developer
 Peakhour Pty Ltd
 http://smartoffice.com.au - just built. needs work. ASP/COM 
 Sigh. What can
 I say?
 http://peakhour.com.au - corporate site
 http://www.geocities.com/kimmie_scott -me
 
 
 
 




RE: TheServerSide forgot Orion

2000-10-25 Thread Mike Cannon-Brookes

I'd indeed urge everyone to mail those guys, they run a great site but Orion
can always use the press - and it DID have EJB 2.0 almost 4 months ago (for
those in the know).

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
Sent: Wednesday, October 25, 2000 5:52 PM
To: Orion-Interest
Subject: TheServerSide forgot Orion


The latest newsletter from TheServerSide.com includes this little
snippet, included in a discussion of "What makes an application server
succeed":

 * Being compliant with the latest specs. Again, BEA has
 shined here. They were 6 months ahead of the pack with
 their EJB 1.0 product, which positioned them extremely well.
 And they pulled it off again, recently releasing their EJB 2.0
 beta server far sooner than any other vendor. History, it
 seems, has repeated itself, and other vendors are playing
 catch-up.

I think those of us who have been using the EJB2.0 support in Orion to
develop our beans for the last several months can see the error in that
statement :-)  WebLogic doesn't even have support yet for
container-managed relationships.  Geez.

I sent TheServerSide a little note urging them to issue a correction.
It's more likely to happen if they get many more comments.

Jeff Schnitzer
[EMAIL PROTECTED]






Re: Internal Orion requests vs External Requests?

2000-10-25 Thread Joe Walnes

How I've tackled it is by setting a request scope attribute in the filter. 
Before the filter is applied, a check is performed to see if this attribute 
has been set or not.. if it has then the request is an internal request.

In doFilter()

// Check if filter has been marked as applied
if ( request.getAttribute( "filterapplied" ) != null ) {
 // Been done already - jump to next filter
 getFilterConfig().getNext().doFilter( request, response );
}
else {
 // Hasn't been applied yet, mark it as applied and do
 request.setAttribute( "filterapplied", Boolean.TRUE );
 //  do filter stuff
}

-Joe Walnes

At 10:27 25/10/2000, you wrote:
I'm implementing a clickstream analysis application, and I've run into a
problem.

Using servlet filter to intercept requests and add to the streams, I
intercept all of the Orion internal requests as well! (ee jsp:include
requests)

Is there anyway to tell from looking at a request object or it's headers,
whether the request came from Orion as an include, or from an external user?

Cheers,
Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
Sent: Wednesday, October 25, 2000 5:52 PM
To: Orion-Interest
Subject: TheServerSide forgot Orion


The latest newsletter from TheServerSide.com includes this little
snippet, included in a discussion of "What makes an application server
succeed":

  * Being compliant with the latest specs. Again, BEA has
  shined here. They were 6 months ahead of the pack with
  their EJB 1.0 product, which positioned them extremely well.
  And they pulled it off again, recently releasing their EJB 2.0
  beta server far sooner than any other vendor. History, it
  seems, has repeated itself, and other vendors are playing
  catch-up.

I think those of us who have been using the EJB2.0 support in Orion to
develop our beans for the last several months can see the error in that
statement :-)  WebLogic doesn't even have support yet for
container-managed relationships.  Geez.

I sent TheServerSide a little note urging them to issue a correction.
It's more likely to happen if they get many more comments.

Jeff Schnitzer
[EMAIL PROTECTED]





Internal Orion requests vs External Requests?

2000-10-25 Thread Mike Cannon-Brookes

I'm implementing a clickstream analysis application, and I've run into a
problem.

Using servlet filter to intercept requests and add to the streams, I
intercept all of the Orion internal requests as well! (ee jsp:include
requests)

Is there anyway to tell from looking at a request object or it's headers,
whether the request came from Orion as an include, or from an external user?

Cheers,
Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
Sent: Wednesday, October 25, 2000 5:52 PM
To: Orion-Interest
Subject: TheServerSide forgot Orion


The latest newsletter from TheServerSide.com includes this little
snippet, included in a discussion of "What makes an application server
succeed":

 * Being compliant with the latest specs. Again, BEA has
 shined here. They were 6 months ahead of the pack with
 their EJB 1.0 product, which positioned them extremely well.
 And they pulled it off again, recently releasing their EJB 2.0
 beta server far sooner than any other vendor. History, it
 seems, has repeated itself, and other vendors are playing
 catch-up.

I think those of us who have been using the EJB2.0 support in Orion to
develop our beans for the last several months can see the error in that
statement :-)  WebLogic doesn't even have support yet for
container-managed relationships.  Geez.

I sent TheServerSide a little note urging them to issue a correction.
It's more likely to happen if they get many more comments.

Jeff Schnitzer
[EMAIL PROTECTED]






Starting thread when Orion starts

2000-10-25 Thread Aleksi Kallio

I have a thread that needs to be running when Orion is up. How to implement it so that 
it automatically starts when Orion is started (ie. how Orion informs its bootup)?






RE: Starting thread when Orion starts

2000-10-25 Thread Patrik Andersson
Title: RE: Starting thread when Orion starts





 servlet
  servlet-namecom.acme.servlet.init.InitializationServlet/servlet-name
  display-nameThe Snajjd Initialization Servlet./display-name
  servlet-classcom.acme.servlet.init.InitializationServlet/servlet-class
  load-on-startup1/load-on-startup
 /servlet


-Original Message-
From: Aleksi Kallio [mailto:[EMAIL PROTECTED]]
Sent: den 25 oktober 2000 12:57
To: Orion-Interest
Subject: Starting thread when Orion starts



I have a thread that needs to be running when Orion is up. How to implement it so that it automatically starts when Orion is started (ie. how Orion informs its bootup)?





RE: Installing cocoon with Orion

2000-10-25 Thread Russ White

I have been putting the Cocoon jar files in the web-app/web-inf/lib directory
with success.
This allows me to have web apps with different versions of Cocoon for
comparison.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Robert
 Nicholson
 Sent: Wednesday, October 25, 2000 12:32 AM
 To: Orion-Interest
 Subject: Installing cocoon with Orion


 Can I install the jars into the orion root or the /lib directory?

 Do I have to explicitly set the classpath myself?

 ---
 Robert Nicholson
 Email: [EMAIL PROTECTED]
 AOL  : rydmerlin








RE: Starting thread when Orion starts

2000-10-25 Thread J.T. Wenting

You can create a servlet that starts the thread in its init(), then set the
servlet to be initialised on server startup.

Jeroen T. Wenting
[EMAIL PROTECTED]

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

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Aleksi Kallio
 Sent: Wednesday, October 25, 2000 12:57
 To: Orion-Interest
 Subject: Starting thread when Orion starts


 I have a thread that needs to be running when Orion is up. How to
 implement it so that it automatically starts when Orion is
 started (ie. how Orion informs its bootup)?








Anyone using Forte + JPDA + Orion

2000-10-25 Thread Lars Heller

I'm using Forte for Java 2.0 beta Internet Edition and I'm trying to
debug code running under orion. I started orion with
java -jar -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,address=7070,suspend=n orion.jar
and was able to attach to its vm with forte. but when setting
breakpoints, it doesn't work always. Especially when recompiling it
seems to me, that you have to restart orion and attach again.

Any experiences here?

Thanks,
Lars




Re: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Daniel C. DiCesare

Hope this helps:

 data-source 
  name="NAME"
  class="com.evermind.sql.ConnectionDataSource"
  location="jdbc/JNDI NAME"
  pooled-location="jdbc/DefaultPooledDS"
  xa-location="jdbc/xa/DefaultXADS"
  ejb-location="jdbc/DefaultEJBDS"
  url="jdbc:odbc:Your Data Microsoft Source Name"
  connection-driver="sun.jdbc.odbc.JdbcOdbcDriver"
  username="Your Database User Name"
  password="Database User Name Password"

/





Orion as NT4 Service

2000-10-25 Thread Todd Renner

Hi,

We've setup orion (1.2.9) to be an NT service as specified
at orionsupport.com.   But whenever we log off the machine
the server stops with no errors.   I recall some discussion on
this awhile ago, but all I could find in the archives pertained
to Unix.We've tried several different scenarios, diff. users,
reboot and not logging in etc. but with no success.   Anybody
have some suggestions as to what to try?   Were using sunjdk1.3,
hotspot server, nt40.Thanks.



Todd Renner
[EMAIL PROTECTED]





Re: EJB classpath problem

2000-10-25 Thread wim veninga



Hi Laurent
Where is your rapids-util.jar file
located. I would suggest that you put this in
your_orion_dir/lib.
I had the same kind of situation with
cloudscape (database) and orion. I have a couple of
objects that need to be stored in
cloudscape but cloudscape couldn't find it. But i had the classes in one
of my ejb-jars. So when i put the classes in orion/lib everything
worked fine. I think that orions class
loader doesn't make the classes in ejb-jar available
to the rest of the system.
Greetings Wim Veninga.
Laurent Cornelis wrote:

Hello,
I deploy a J2EE application (called
rapids) with Orion, here is my directory
structure after deployment :
orion/applications/rapids -> Contains
EJBs jar
orion/applications/rapids/rapids-web
-> Contains the Web app
orion/applications/rapids/rapids-web/WEB-INF/lib/rapids-util.jar
-> A jar
file my web application and my EJB
need
Somewhere in my web applications, a
call to WebFacade (One of my EJBs) is
done. In this call WebFacade must
use a class from rapids-util.jar (class
ubiquity.rapids.ejb.util.HomeFactory)
but here is the exception I catch :
snip>
com.evermind.server.rmi.OrionRemoteException:
Transaction was rolled back:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:311)
at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)
Nested exception is:
java.lang.NoClassDefFoundError: ubiquity/rapids/ejb/util/HomeFactory
at ubiquity.rapids.ejb.webfacade.WebFacadeBean.getPublicSatellites(WebFacadeBean.java:153)
at WebFacade_StatelessSessionBeanWrapper9.getPublicSatellites(WebFacade_StatelessSessionBeanWrapper9.java:281)
at /pri/choosesatellite.jsp._jspService(/pri/choosesatellite.jsp.java:75)(JSP
page line 28)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at ubiquity.rapids.servlet.RapidsServlet.doPost(RapidsServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)

/snip>

How can I tell to the EJBs where is
rapids-util.jar ? Please help !!!
Thanks
Laurent





RE: Anyone using Forte + JPDA + Orion

2000-10-25 Thread Rob Lapensee

Lars,

Here is the script we use to startup orion for JPDA access from netbeans,

PATH=$PATH://c/desktop/java/delfour_working/build/jpda/bin
export PATH
java -Dd4n=orion -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=
dt_
socket,server=y,suspend=y,address=5000 -DinitialProperties=file://localhost/
c:/
desktop/java/delfour_working/build/config/InitialProperties.txt -DpropertyRe
ade
r=com.delfour.lib.properties.D4StandardPropertyReader
com.evermind.server.Appli
cationServer

and if I take out all of the stuff specific to us...

java -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,se
rver=y,suspend=y,address=5000
com.evermind.server.ApplicationServer

note that we use suspend=y

also we use netbeans (www.netbeans.org)  which is close but maybe not
exactly the same as Forte (same original source code).

Also, if the .class files were compiled with netbeans it works ok, if they
were compiled with jdk1.2.2_005 (NT) then they will not allow you to put a
watch point on a variable (you will not be able to see it's contents).

Hope this helps

Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lars Heller
Sent: Wednesday, October 25, 2000 8:03 AM
To: Orion-Interest
Subject: Anyone using Forte + JPDA + Orion

I'm using Forte for Java 2.0 beta Internet Edition and I'm trying to
debug code running under orion. I started orion with
java -jar -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,address=7070,suspend=n orion.jar
and was able to attach to its vm with forte. but when setting
breakpoints, it doesn't work always. Especially when recompiling it
seems to me, that you have to restart orion and attach again.

Any experiences here?

Thanks,
Lars





RE: Orion in production

2000-10-25 Thread Juan Lorandi (Chile)

I would also like to note Pramati (http://www.pramati.com). Their support is
EXCELLENT...
and they're by no means a HUGE company...


On Today, Kyle Cordes ([EMAIL PROTECTED]) wrote:
  often the ones asked, and so on. That just isn't the case in any vendor
 that
  I have bought software from.  I feel bad for you that your not getting
  responses, but I doubt you'll get much better support with the $15K per
 cpu
  WebLogic or any other vendor. Good luck though.
 
 On the other hand, if you call up Orion with a multiple of $15K at your
 disposal, you could probably arrange a very satisfactory support
 contract
 
 (Just guessing, maybe someone at Orion will state whether support
contracts
 are available.)
 
 Kyle Cordes
 www.kylecordes.com

I've approached them about support contracts, but they're looking
for external providers, which isn't likely to be all that successful
if you ask me, but we'll see.

I'd love to pay them for support, but they won't take it.

Gary





RE: Orion doesn't interpret Javascript correctly

2000-10-25 Thread Drew Kidder

Yes, the quotes are right.  You'll notice that the double quotes surround a 
URL argument for the javascript variable (which starts with a leading /), 
and that whole thing is enclosed in single quotes as the argument to the 
onmouseover call.  I believe what you're saying is that I should escape the 
inner set of quotes to make them part of the string, right?

I think the problem with this is that javascript doesn't allow embedded 
quotes of the same type. Meaning, if you have doubles on the outside, you 
have to have singles on the inside, and vice versa.  After reading Joe's 
response posted here about how Orion rewrites stuff during parsing, I came 
to the conclusion that Orion basically forces the outer quotes to be double 
quotes, and the inner quotes to be single in order for javascript to be 
interpreted right by the browser.

Once I re-ordered my quotes, everything was working fine.  IMO, this is the 
more logical way to do it anyway, but I s'pose if Tomcat and JRun allow it 
to be done the other way, Orion should too.  I'll lodge a bug report, and 
we'll go from there.

anyhoo, to make a long story short, the problem in my code is fixed now, 
and it is operating as it should.  Thanks for all the responses!


At 09:05 PM 10/24/2000 -0500, you wrote:
I don't have this problem. Are you sure your doing the quotes right?

It should be something like a href=/"linke/" whereas it seems you have
"/kdkdk/" which wouldn't work.


  -Original Message-
  From: Drew Kidder [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 24, 2000 8:20 AM
  To: Orion-Interest
  Subject: Orion doesn't interpret Javascript correctly
 
 
  All,
 
  I have a fully functional webapp that runs perfectly under
  Tomcat (albeit a
  little slow). The main menu bar consists of rollovers that
  utilize the
  onmouseover and onmouseout routines of Javascript.  For
  example, one of the
  tags looks like this:
 
  a href="/news/"
  onmouseout='csne_button.src="/images/lv1-off_04.gif"'
  onmouseover='csne_button.src="/images/lv1-on_04.gif"'
img src="/images/lv1-off_04.gif" alt="" border=0 height=18
  name=csne_button width=117
  /a
 
  which, of course basically changes the image when the mouse
  pointer crosses
  it.  Anyway, any time I try to view the pages in any browser that are
  served by Orion, I get tons of javascript errors, complaining
  about various
  aspects of the onmouseout and onmouseover calls, most notably
  of which
  seems to be a replacement of the single quote delimiters (')
  with double
  quotes, such as
 
  a href="/news/"
  onmouseout="csne_button.src="/images/lv1-off_04.gif""
  onmouseover="csne_button.src="/images/lv1-on_04.gif""
img src="/images/lv1-off_04.gif" alt="" border=0 height=18
  name=csne_button width=117
  /a
 
  which is obviously wrong, and which was obtained by examining
  the source of
  the returned page. It looks like Orion is not keeping the
  single-quote
  delimiters properly. Is anyone else having this problem?
  Better yet, is
  there some solution?
 
  --
  Andrew Kidder
  L3 SW/Support Engineer, IBU
  Tivoli Systems
 
  512-436-4544
  [EMAIL PROTECTED]
  http://www.tivoli.com
 
 


--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com






cant load JavaMail provider

2000-10-25 Thread Christian Sell

Hello,

I am having problems accessing a JavaMail POP3 provider. I always get a
NoSuchProviderException, even though the pop3.jar is in my classpath (I can
Class.forName() it), and I have placed the javamail.providers any place that
is mentioned in the docs (inside the jar in META-INF, outside anywhere
else).

session.getProviders() always returns the default providers (IMAP, SMTP) as
expected, but not the pop3 one.

has anyone done this successfully?

TIA,
Christian






RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Juan Lorandi (Chile)

Last week I bailed out of SprintA 2000, because variable length fields don't
grow...

Bugzilla #127

Say, you have an Object/Serializable field in a CMP bean...
It's mapped to either a nvarchar(S), or a varbinary(S)
Whenever the serializable version of the object is bigger than S (look
above) SprintA fails miserably

However, I have not successfully confirmed that it's a SprintA problem, but
I surely can make varbinarys grow
using ADO, so must be a bug in the german product (SprintA 2000)

HTH (before it's too late),


Rifle


-Original Message-
From: Kurt Hoyt [mailto:[EMAIL PROTECTED]]
Sent: Miércoles, 25 de Octubre de 2000 10:06
To: Orion-Interest
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.


I hate to be the bearer of bad news, but you'll have to spring for a type 4
JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
set up the datasource xml file to handle this? I can't seem to find anything
on this in the email lists on in the docs. The only drivers I have are the
ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
not paying for a Type IV driver at the outrageous prices I've been presented
with from BEA and the like. Has anyone done this before or can point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me






RE: get reference to UserTransaction fails

2000-10-25 Thread Juan Lorandi (Chile)

a) yes, I do call Entity Beans directly... no programatic security there
(yet, but can be acomplished especially with CMP, which is what I work with)
yes I also place some BL within Session Beans with a facade pattern...

b) Yes, you may use session beans not only as in a facade pattern, but also
in a Activity-Owner pattern:

Stateful SB  - Stateless SB - Entity Beans

TransactionRoot  -  Facade/BL   - Persistence

in this pattern, you have an object which its purpose is transaction
demarcation

remember that transaction demarcation is best done at tier boundaries


My 2c,

JP


-Original Message-
From: Greg Matthews [mailto:[EMAIL PROTECTED]]
Sent: Martes, 24 de Octubre de 2000 21:08
To: Orion-Interest
Subject: Re: get reference to UserTransaction fails



i was trying to do the same thing, and it sort of makes
sense that you can't control a transaction (UserTransaction)
from outside orion (i.e. the ejb container).

it does raise the question however about how you would
ever maintain any decent level of control over transactions
if entity beans were involved unless you *always*:

1. set the trans-attribute of every entity bean to Mandatory
2. used stateless session beans as a facade to controlling
   entity beans.

i've been using stateless session beans for a while and trying
to come up to speed with entity beans. there's probably
something stupid i'm doing but i've been unable to find
a solid way to control database transaction boundaries
unless i use the above pattern (slsb call entity beans).

a) does anyone call entity beans directly from a JSP?
or do you call stateless server beans which wrap entity beans?

b) is it possible to control database transaction boundaries
without wrapping EJB methods calls in a UserTransaction.begin()
and UserTransaction.commit() ?

thanks,
greg


- Original Message -
From: "Juan Lorandi (Chile)" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 3:49 AM
Subject: RE: get reference to UserTransaction fails


 Are your trying to retrieve something from "java:comp" DIRECTLY from code
 not running on Orion?

 I have looked (very quickly) at the specs, and I don't think that's
 allowed(seems pretty unsafe to me)
 Perhaps you can build a session bean that preforms the lookup, then passes
 the reference to the client

 flamebait
 But I think it's a bad idea anyway... it's kinda like "one and a half"
layer
 programming...
 /flamebait

 My 2c,

 JP

 -Original Message-
 From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
 Sent: Martes, 24 de Octubre de 2000 7:10
 To: Orion-Interest
 Subject: get reference to UserTransaction fails


 Hello,

 i'm using transactions within servlets, sessionbeans
 with no problems.

 now i'm trying this from an ordinary app-client but it
 caught an exception:
"java:comp/UserTransaction not found"

 what goes wrong?

 thanks a lot
   klaus


  import javax.naming.*;
  import javax.transaction.*;
  ...
  TransactionManager tm =
(TransactionManager)new
 InitialContext().lookup("java:comp/UserTransaction");

 --
 Klaus Thiele - Personal  Informatik AG
 mailto:[EMAIL PROTECTED]

  "There's got to be more to life than compile-and-go."







ORION running under Solaris Environment

2000-10-25 Thread David Sierra Fernandez


I want to build my development department with Orion under Sun
Solaris. I want advise about:

* How it should be implemented: one server with Orion inside it and
terminals running that instance of Orion or Orion installed in all of the
workstations 

* What are the hardware requirements in both alternatives(
workstations and server

I'd prefer if you are concret, I say, especific machines like Ultra 1,2
... workstations like Sparc 20,... and memory requirements...

TIA.

-
David Sierra Fern ndez
Valladolid (SPAIN)
--

 -- Sierr@ --





AW: Interbase datasource??

2000-10-25 Thread Jens Stutte

Hi,
 
i have no datasource for interbase, since i am using only bean managed
persistence, but i can tell you some things. The current JDBC driver for
Interbase (Interclient) does not support Interbases "dialect 3". This means:
you can connect to "dialect 3" databases, but some features will not be
availiable. The most important are:
 
LONG INTEGER (64 Bit) database fields does not work. The mapping of a java
long to a 32Bit INTEGER or a DOUBLE PRECISION or even a textfield works.
For date/time values you should use a TIMESTAMP field in Interbase, which
maps perfectly to a java timestamp with the "old" JDBC driver. The other
date/time types do not work.
 
All the rest seems to work fine (blobs, etc.) and the performance seems very
good (though i did not test really huge databases by now). In the
documentation of IB6 (the PDF files, dont remember where is the link) there
is a "Getting Started", which describes these migration issues from IB4/5 to
6.
 
Regards,
 
Jens Stutte
 

-Ursprungliche Nachricht-
Von: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 23. Oktober 2000 21:41
An: Orion-Interest
Betreff: Interbase datasource??


Does anyone happen to have an Interbase 6 datasource that I can get ahold
of? The old manuals I have for IB4 don't have anything about the types and
what they map to in Java. I want to start playing around with entity beans,
but until I get a mapping I don't think I can do this.
 
Thanks.
 





RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt

Fortunately, my application only puts strings into nvarchar fields, but I'll
have us check to see if that's a problem. Thanks for the head's up.

Kurt in Atlanta

-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 11:09 AM
To: Orion-Interest
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.


Last week I bailed out of SprintA 2000, because variable 
length fields don't
grow...

Bugzilla #127

Say, you have an Object/Serializable field in a CMP bean...
It's mapped to either a nvarchar(S), or a varbinary(S)
Whenever the serializable version of the object is bigger than S (look
above) SprintA fails miserably

However, I have not successfully confirmed that it's a SprintA 
problem, but
I surely can make varbinarys grow
using ADO, so must be a bug in the german product (SprintA 2000)

HTH (before it's too late),


Rifle


-Original Message-
From: Kurt Hoyt [mailto:[EMAIL PROTECTED]]
Sent: Miércoles, 25 de Octubre de 2000 10:06
To: Orion-Interest
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.


I hate to be the bearer of bad news, but you'll have to spring 
for a type 4
JDBC driver. We bought the one from Inet Software called 
"Sprinta 2000". The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and 
getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in 
five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and 
Win2K. How do I
set up the datasource xml file to handle this? I can't seem to 
find anything
on this in the email lists on in the docs. The only drivers I 
have are the
ODBC bridges (The invisible hidden MS one and the standard Sun 
one) and I'm
not paying for a Type IV driver at the outrageous prices I've 
been presented
with from BEA and the like. Has anyone done this before or can 
point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM 
Sigh. What can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me







HELP! orion + Linux + native threads

2000-10-25 Thread Richard E. Sansom

Attached is a simple servlet that uses the request and response input and
output streams to read a text based message and simply echo the message back to
the requestor.  This thing runs fine when I stress it under Forte (hit it a
billion times, looking for performance and memory problems) but under Orion
(1.3.8, but I also tried it under the 1.4.0 version), I run out of native
threads just under 1000 requests into my test (I expect we're bumping up
against the 1024 magic number).

Am I doing something wrong or is it a known problem?  Again, the Forte servlet
runner, which is no performance leader, didn't have any problems at all running
under the same O/S (Redhat 7.0 - I know...) and JDK (Sun 1.3.0).

Please help, I spent the better part of all night trying to figure this one
out.

Thanks.

-Rich

--- "Juan Lorandi (Chile)" [EMAIL PROTECTED] wrote:
 Last week I bailed out of SprintA 2000, because variable length fields don't
 grow...
 
 Bugzilla #127
 
 Say, you have an Object/Serializable field in a CMP bean...
 It's mapped to either a nvarchar(S), or a varbinary(S)
 Whenever the serializable version of the object is bigger than S (look
 above) SprintA fails miserably
 
 However, I have not successfully confirmed that it's a SprintA problem, but
 I surely can make varbinarys grow
 using ADO, so must be a bug in the german product (SprintA 2000)
 
 HTH (before it's too late),
 
 
 Rifle
 
 
 -Original Message-
 From: Kurt Hoyt [mailto:[EMAIL PROTECTED]]
 Sent: Miércoles, 25 de Octubre de 2000 10:06
 To: Orion-Interest
 Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.
 
 
 I hate to be the bearer of bad news, but you'll have to spring for a type 4
 JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The
 price was reasonable and it performs comparably with the best of them.
 That's how we got Orion and SQL Server 7 and Win2K to work together.
 
 Kurt in Atlanta
 
 -Original Message-
 From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 24, 2000 9:16 PM
 To: Orion-Interest
 Subject: Ok. I feel dumb. Data Sources and MS SQL.
 
 
 Hiya,
 
 Feeling real stupid here. I'm examining data sources and getting totally
 confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
 Sigh.
 
 Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
 set up the datasource xml file to handle this? I can't seem to find anything
 on this in the email lists on in the docs. The only drivers I have are the
 ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
 not paying for a Type IV driver at the outrageous prices I've been presented
 with from BEA and the like. Has anyone done this before or can point me in
 the right direction?
 
 A tired developer who's feeling very old and dim...
 
 Kimberley Scott
 Senior Web Developer
 Peakhour Pty Ltd
 http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What can
 I say?
 http://peakhour.com.au - corporate site
 http://www.geocities.com/kimmie_scott -me
 
 
 


=

Richard E. Sansom
[EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/
 TestServlet.java


Can't call an EJB from Within another EJB

2000-10-25 Thread J Davis

We have gotten our Orion server(1.3.8) to work with EJBs on a singular
level(i.e. we can call EJB A, B or C and it works fine.)  But If one of our
EJB's tries to call another(i.e. A calls B)  A throws a naming exception
that it can't find the EJB reference when doing a jndi lookup.  Is there a
dependency tag or something within one of the XML files that denotes EJB
dependencies on one another?  I'm sure this is something simple, but it is
getting annoying.







Re: Starting thread when Orion starts

2000-10-25 Thread Christian Sell

you can only set the servlet to be loaded/initialized upon _application_
startup (web.xml). If server startup is where you want to go, you will have
to specify that the app is preloaded as well (the latter is server-specific)

-Original Message-
From: J.T. Wenting [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Mittwoch, 25. Oktober 2000 17:07
Subject: RE: Starting thread when Orion starts


You can create a servlet that starts the thread in its init(), then set the
servlet to be initialised on server startup.

Jeroen T. Wenting
[EMAIL PROTECTED]

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

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Aleksi Kallio
 Sent: Wednesday, October 25, 2000 12:57
 To: Orion-Interest
 Subject: Starting thread when Orion starts


 I have a thread that needs to be running when Orion is up. How to
 implement it so that it automatically starts when Orion is
 started (ie. how Orion informs its bootup)?










Re: ORION running under Solaris Environment

2000-10-25 Thread Ismael Blesa Part

Hi David,

You can do whatever you want, the hardware requiriments are not very big, and
on a development environment normally you won't have a lot of  users. You
could have the more powerful machine like a main server when all the
developments could be tested.

Another possibility is that you could have your development on Windows or
Linux and your test server on Solaris.

David Sierra Fernandez wrote:

 I want to build my development department with Orion under Sun
 Solaris. I want advise about:

 * How it should be implemented: one server with Orion inside it and
 terminals running that instance of Orion or Orion installed in all of the
 workstations 

 * What are the hardware requirements in both alternatives(
 workstations and server

 I'd prefer if you are concret, I say, especific machines like Ultra 1,2
 ... workstations like Sparc 20,... and memory requirements...

 TIA.

 -
 David Sierra Fern ndez
 Valladolid (SPAIN)
 --

  -- Sierr@ --





Re: HELP! orion + Linux + native threads

2000-10-25 Thread Richard E. Sansom

Sorry for including that other stuff at the end of my original message, by the
way...

Here's some more information: no problems under jakarta-tomcat (3.1) either, so
it's beginning to look more and more like an Orion problem of some kind.  I
would really appreciate a word from the Orion guys on this one.

Thanks, again.

-Rich

--- "Richard E. Sansom" [EMAIL PROTECTED] wrote:
 Attached is a simple servlet that uses the request and response input and
 output streams to read a text based message and simply echo the message back
 to
 the requestor.  This thing runs fine when I stress it under Forte (hit it a
 billion times, looking for performance and memory problems) but under Orion
 (1.3.8, but I also tried it under the 1.4.0 version), I run out of native
 threads just under 1000 requests into my test (I expect we're bumping up
 against the 1024 magic number).

 Am I doing something wrong or is it a known problem?  Again, the Forte
 servlet
 runner, which is no performance leader, didn't have any problems at all
 running
 under the same O/S (Redhat 7.0 - I know...) and JDK (Sun 1.3.0).

 Please help, I spent the better part of all night trying to figure this one
 out.

 Thanks.

 -Rich

 --- "Juan Lorandi (Chile)" [EMAIL PROTECTED] wrote:
  Last week I bailed out of SprintA 2000, because variable length fields
 don't
  grow...
 
  Bugzilla #127
 
  Say, you have an Object/Serializable field in a CMP bean...
  It's mapped to either a nvarchar(S), or a varbinary(S)
  Whenever the serializable version of the object is bigger than S (look
  above) SprintA fails miserably
 
  However, I have not successfully confirmed that it's a SprintA problem, but
  I surely can make varbinarys grow
  using ADO, so must be a bug in the german product (SprintA 2000)
 
  HTH (before it's too late),
 
 
  Rifle
 
 
  -Original Message-
  From: Kurt Hoyt [mailto:[EMAIL PROTECTED]]
  Sent: Miércoles, 25 de Octubre de 2000 10:06
  To: Orion-Interest
  Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.
 
 
  I hate to be the bearer of bad news, but you'll have to spring for a type 4
  JDBC driver. We bought the one from Inet Software called "Sprinta 2000".
 The
  price was reasonable and it performs comparably with the best of them.
  That's how we got Orion and SQL Server 7 and Win2K to work together.
 
  Kurt in Atlanta
 
  -Original Message-
  From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 24, 2000 9:16 PM
  To: Orion-Interest
  Subject: Ok. I feel dumb. Data Sources and MS SQL.
 
 
  Hiya,
 
  Feeling real stupid here. I'm examining data sources and getting totally
  confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
  Sigh.
 
  Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
  set up the datasource xml file to handle this? I can't seem to find
 anything
  on this in the email lists on in the docs. The only drivers I have are the
  ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
  not paying for a Type IV driver at the outrageous prices I've been
 presented
  with from BEA and the like. Has anyone done this before or can point me in
  the right direction?
 
  A tired developer who's feeling very old and dim...
 
  Kimberley Scott
  Senior Web Developer
  Peakhour Pty Ltd
  http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What
 can
  I say?
  http://peakhour.com.au - corporate site
  http://www.geocities.com/kimmie_scott -me
 
 
 


 
 Richard E. Sansom
 [EMAIL PROTECTED]


 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/

 ATTACHMENT part 2 application/x-unknown name=TestServlet.java




Richard E. Sansom
[EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Dan DiCesare

Has MS removed the ODBC-JDBC bridge in Win 2K?


From: Kurt Hoyt [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.
Date: Wed, 25 Oct 2000 06:06:13 -0700

I hate to be the bearer of bad news, but you'll have to spring for a type 4
JDBC driver. We bought the one from Inet Software called "Sprinta 2000". 
The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
set up the datasource xml file to handle this? I can't seem to find 
anything
on this in the email lists on in the docs. The only drivers I have are the
ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
not paying for a Type IV driver at the outrageous prices I've been 
presented
with from BEA and the like. Has anyone done this before or can point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What 
can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me




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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Dan DiCesare

Has MS removed the ODBC-JDBC bridge in Win 2K?


From: Kurt Hoyt [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.
Date: Wed, 25 Oct 2000 06:06:13 -0700

I hate to be the bearer of bad news, but you'll have to spring for a type 4
JDBC driver. We bought the one from Inet Software called "Sprinta 2000". 
The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
set up the datasource xml file to handle this? I can't seem to find 
anything
on this in the email lists on in the docs. The only drivers I have are the
ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
not paying for a Type IV driver at the outrageous prices I've been 
presented
with from BEA and the like. Has anyone done this before or can point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What 
can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me




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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





RE: Interbase datasource??

2000-10-25 Thread Duffey, Kevin

Question for you..when I create a database there is something that has a
drop-down that says Dialect..and its always selected on 3. Doesn't that mean
it supports it? I recall reading that IB6 supports D3 now, so I thought that
it did. I have build 308, but I know there is a newer build..maybe that one
supports it?

Anyways, so it seems like the datasource should look like so:


?xml version="1.0"?
!DOCTYPE database-schema PUBLIC "-//Evermind//- Database schema"
"http://www.orionserver.com/dtds/database-schemas.dtd"

database-schema name="Interbase" not-null="not null" null=""
primary-key="primary key"
type-mapping type="java.lang.String" name="varchar (255)" /
type-mapping type="int" name="int" /
type-mapping type="long" name="int" /
type-mapping type="float" name="float" /
type-mapping type="double" name="double" /
type-mapping type="byte" name="byte" /
type-mapping type="char" name="char" /
type-mapping type="short" name="short" /
type-mapping type="boolean" name="boolean" /
type-mapping type="java.util.Date" name="timestamp" /

disallowed-field name="password" /
disallowed-field name="username" /
disallowed-field name="date" /
/database-schema

Does that seem like it would work? I am not sure about the int, long, float,
double, byte, char, short and boolean. I thought someone posted a schema
before that they were using, and I can't seem to find it anywhere in my
archives of emails. Its pissing me off because I can't even mess around with
entity beans because of this.

Incidentally, do you know how I would get Orion to use this schema? I see
some datasources.xml file in the /config dir. Can each web-app be mapped to
a different datasource if need be?

Thanks again.



 -Original Message-
 From: Jens Stutte [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 25, 2000 9:01 AM
 To: Orion-Interest
 Subject: AW: Interbase datasource??
 
 
 Hi,
  
 i have no datasource for interbase, since i am using only bean managed
 persistence, but i can tell you some things. The current JDBC 
 driver for
 Interbase (Interclient) does not support Interbases "dialect 
 3". This means:
 you can connect to "dialect 3" databases, but some features 
 will not be
 availiable. The most important are:
  
 LONG INTEGER (64 Bit) database fields does not work. The 
 mapping of a java
 long to a 32Bit INTEGER or a DOUBLE PRECISION or even a 
 textfield works.
 For date/time values you should use a TIMESTAMP field in 
 Interbase, which
 maps perfectly to a java timestamp with the "old" JDBC 
 driver. The other
 date/time types do not work.
  
 All the rest seems to work fine (blobs, etc.) and the 
 performance seems very
 good (though i did not test really huge databases by now). In the
 documentation of IB6 (the PDF files, dont remember where is 
 the link) there
 is a "Getting Started", which describes these migration 
 issues from IB4/5 to
 6.
  
 Regards,
  
 Jens Stutte
  
 
 -Ursprungliche Nachricht-
 Von: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
 Gesendet am: Montag, 23. Oktober 2000 21:41
 An: Orion-Interest
 Betreff: Interbase datasource??
 
 
 Does anyone happen to have an Interbase 6 datasource that I 
 can get ahold
 of? The old manuals I have for IB4 don't have anything about 
 the types and
 what they map to in Java. I want to start playing around with 
 entity beans,
 but until I get a mapping I don't think I can do this.
  
 Thanks.
  
 




Re: Can't call an EJB from Within another EJB

2000-10-25 Thread Sven van 't Veer



J Davis wrote:
 
 We have gotten our Orion server(1.3.8) to work with EJBs on a singular
 level(i.e. we can call EJB A, B or C and it works fine.)  But If one of our
 EJB's tries to call another(i.e. A calls B)  A throws a naming exception
 that it can't find the EJB reference when doing a jndi lookup.  Is there a
 dependency tag or something within one of the XML files that denotes EJB
 dependencies on one another?  I'm sure this is something simple, but it is
 getting annoying.

Had the same problem..:
in ejb-jar.xml, you should add the dependencies. For one of my session
beans I have:
  ejb-ref
ejb-ref-nameLogin/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type
homeLoginHome/home
remoteLogin/remote
ejb-linkLogin/ejb-link
  /ejb-ref


sven

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




RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt

Don't care what MS did, but it is a part of the JDK distribution, yes. But,
it's slow, slow, slow and doesn't support a lot of the advanced features
Orion needs.

Kurt in Atlanta

-Original Message-
From: Dan DiCesare [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 2:00 PM
To: Orion-Interest
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.


Has MS removed the ODBC-JDBC bridge in Win 2K?


From: Kurt Hoyt [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.
Date: Wed, 25 Oct 2000 06:06:13 -0700

I hate to be the bearer of bad news, but you'll have to 
spring for a type 4
JDBC driver. We bought the one from Inet Software called 
"Sprinta 2000". 
The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and 
getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in 
five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and 
Win2K. How do I
set up the datasource xml file to handle this? I can't seem to find 
anything
on this in the email lists on in the docs. The only drivers I 
have are the
ODBC bridges (The invisible hidden MS one and the standard 
Sun one) and I'm
not paying for a Type IV driver at the outrageous prices I've been 
presented
with from BEA and the like. Has anyone done this before or 
can point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM 
Sigh. What 
can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me




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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





Re: Orion in production

2000-10-25 Thread Kyle Cordes

  On the other hand, if you call up Orion with a multiple of $15K at your
  disposal, you could probably arrange a very satisfactory support
  contract

 I've approached them about support contracts, but they're looking
 for external providers, which isn't likely to be all that successful
 if you ask me, but we'll see.
 
 I'd love to pay them for support, but they won't take it.



h... wheels are turning...







RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread J Davis

I checked it out on our machines and the Data source below works like a
champ for me.  I am using Win2K Advanced server and SQLServer 7.  Just make
sure your ODBC dirver is setup correctly.

Later...

Greg

-Original Message-
From: Kurt Hoyt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 7:06 AM
To: Orion-Interest
Subject: RE: Ok. I feel dumb. Data Sources and MS SQL.


I hate to be the bearer of bad news, but you'll have to spring for a type 4
JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The
price was reasonable and it performs comparably with the best of them.
That's how we got Orion and SQL Server 7 and Win2K to work together.

Kurt in Atlanta

-Original Message-
From: Kimberley Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 9:16 PM
To: Orion-Interest
Subject: Ok. I feel dumb. Data Sources and MS SQL.


Hiya,

Feeling real stupid here. I'm examining data sources and getting totally
confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
Sigh.

Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do I
set up the datasource xml file to handle this? I can't seem to find anything
on this in the email lists on in the docs. The only drivers I have are the
ODBC bridges (The invisible hidden MS one and the standard Sun one) and I'm
not paying for a Type IV driver at the outrageous prices I've been presented
with from BEA and the like. Has anyone done this before or can point me in
the right direction?

A tired developer who's feeling very old and dim...

Kimberley Scott
Senior Web Developer
Peakhour Pty Ltd
http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What can
I say?
http://peakhour.com.au - corporate site
http://www.geocities.com/kimmie_scott -me








Clustering Advice, Software or Hardware

2000-10-25 Thread Neal Kaiser

We are soon going to develop a J2EE app using Orion and I want it to have 2
webservers for failsafe and load balancing.  In the past I've used load
balancing routers, like the Web Server Director.  Has anyone had good
experience with clustering in a production environment? What are the pros
and cons of hardware vs software clustering?

Thanks, Neal





RE: Interbase datasource??

2000-10-25 Thread Michael Rimov

At 11:11 AM 10/25/2000 -0700, you wrote:
Question for you..when I create a database there is something that has a
drop-down that says Dialect..and its always selected on 3. Doesn't that mean
it supports it? I recall reading that IB6 supports D3 now, so I thought that
it did. I have build 308, but I know there is a newer build..maybe that one
supports it?

Well, I can't help you on the rest of the message.  (I haven't gotten 
around to getting it all set up yet grin  )  I can help you on 
this.  Although IB6 has a Dialect 3, the Interclient JDBC drivers only 
support Dialect 1 still.  [This will change for Interclient 2.0].  So you 
have to use Dialect one for databases when running JDBC drivers still.

HTH!
 -Mike






calling native code from ejb

2000-10-25 Thread Luis M Bernardo



hello,

I have no experience calling native code from java applications but I
managed to write my first stateless seesion bean that uses a java class
that calls native methods. when use a client to invoke a method in the
bean I get the following error:


C:\orionjava
-Djava.library.path=u:\bernardo\javaqt\unlic\com\thi\quanttools -j
ar orion.jar
Orion/1.3.8 initialized
#
# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
outsi
de the VM.
# Program counter=0x10001c48
#
#
# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
outsi
de the VM.
# Program counter=0x10001c48
#


can someone suggest what the problem is. can I call native methods from
ejbs?

thanks.








Re: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Greg Matthews


we use a driver from http://www.inetsoftware.de/ for sql server.

there's an evaluation version if you want to give it a go

- Original Message -
From: "Kimberley Scott" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 11:15 AM
Subject: Ok. I feel dumb. Data Sources and MS SQL.


 Hiya,

 Feeling real stupid here. I'm examining data sources and getting totally
 confused. Maybe I'm just burnt out. Haven't had a holiday in five years.
 Sigh.

 Back to business. We're *forced* to use Microsoft SQL 7 and Win2K. How do
I
 set up the datasource xml file to handle this? I can't seem to find
anything
 on this in the email lists on in the docs. The only drivers I have are the
 ODBC bridges (The invisible hidden MS one and the standard Sun one) and
I'm
 not paying for a Type IV driver at the outrageous prices I've been
presented
 with from BEA and the like. Has anyone done this before or can point me in
 the right direction?

 A tired developer who's feeling very old and dim...

 Kimberley Scott
 Senior Web Developer
 Peakhour Pty Ltd
 http://smartoffice.com.au - just built. needs work. ASP/COM Sigh. What
can
 I say?
 http://peakhour.com.au - corporate site
 http://www.geocities.com/kimmie_scott -me









RE: Orion as NT4 Service

2000-10-25 Thread Duffey, Kevin

We are using JNT, a free service runner for java applications that properly
handles the log-off command. I forget the url, but if you do a search at
excite or something, I am sure you will find it. We were using
run_as_service, or srvany, neither of which properly worked.


 -Original Message-
 From: Todd Renner [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 25, 2000 6:48 AM
 To: Orion-Interest
 Subject: Orion as NT4 Service
 
 
 Hi,
 
 We've setup orion (1.2.9) to be an NT service as specified
 at orionsupport.com.   But whenever we log off the machine
 the server stops with no errors.   I recall some discussion on
 this awhile ago, but all I could find in the archives pertained
 to Unix.We've tried several different scenarios, diff. users,
 reboot and not logging in etc. but with no success.   Anybody
 have some suggestions as to what to try?   Were using sunjdk1.3,
 hotspot server, nt40.Thanks.
 
 
 
 Todd Renner
 [EMAIL PROTECTED]
 




No Subject

2000-10-25 Thread faisal farooqui

Please un-subscribe me from this mailing list.
Thanks.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.