Re: Exceptions when trying to deploy with local interfaces

2002-02-15 Thread Paul Danckaert






I've been looking at that for a bit this afternoon.. if you look at the generated files, everything else is fine around that. If you modify them you can actually wrap them with a try/catch, and they will then compile and deploy fine.



I string'ed some of the class files to see what methods are around, and found that there is a another method, getLocalContextInstance.. if you replace the getContextInstance with getLocalContextInstance in the generated java files, it will also compile and deploy fine. I don't know what the exact differences are between the two, but everything seems to work fine with either aproach. Atleast for my code.



With that change, I've got my Local entity beans happily deployed and running on the server. I've been using MVC Soft's persistence manager with Local emulation, so its nice to be able to disable the local emulation and use the straight orion local interface support now. It looks like orion doesn't yet support EJB QL, so I'm still using MVC's PM for my CMP beans. If you need full EJB 2.0 CMP support now, you should give it a shot. (http://www.mvcsoft.com/), though it doesn't do MDB's, etc... its just for CMP.



paul





On Fri, 2002-02-15 at 15:42, Tom Waterhouse wrote:

I am getting the following exceptions when trying to deploy. My entity EJBs have local interfaces, and each one has the same error. This is the only error that I receive on deployment:







RuleLocalHome_EntityHomeWrapper59.java:182: Exception java.rmi.RemoteException m



ust be caught, or it must be declared in the throws clause of this method.



EvermindEntityContext finderContext = this.getContextInstance(thread);^







I started with WebLogic and the existing code deployed just fine.Since I am using local interfaces I am surprised to see an error that includes RemoteException.







Tom Waterhouse



Software Engineer



Sabrix, Inc.



503-924-4876



[EMAIL PROTECTED]



 







RE: Servlet reload problem

2002-01-29 Thread Paul van Beukering

restart orion

-Original Message-
From: Tommi Penttilä [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 29 januari 2002 12:20
To: Orion-Interest
Subject: Servlet reload problem 



My servlet-classes won't reload. After I recompile changed servlet and
http-GET
it via orion's (1.5.3) web-interface, orionconsole reports that Servlet was
initialized, but I get the same result on browser than before compiling. 

I did put orion-web-app/@development=true on the web-app-config, but that
doesn't help. How do I unload old servlet-classes from memory?

Is there anything like Tomcat's context/@reloadable -attribute in Orion?
It's
extremely annoying to reboot orion every time a servlet class changes.

Or maybe I'm just missing something obvious? Any pointers greatly
appreciated.








RE: Job Scheduler pattern

2002-01-25 Thread Paul Knepper

Joseph,

Very cool.  How do you stop a client-module that auto-started and then
restart it?  

Say you deployed the app (which also has ejb and web modules) and later
wanted to add another task to the scheduler.  Can you start and stop the
java client module, so that it would reload the properties file, without
affecting the web module?  I might have users logged in to the website and I
wouldn't want to redeploy everthing and messup any current sessions.

Thanks,
Paul

-Original Message-
From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 4:04 AM
To: Orion-Interest
Subject: Re: Job Scheduler pattern


The www.orionsupport.com site has a sample scheduler that can easily be
converted to do something like this.

On Fri, 25 Jan 2002, Justin Crosbie wrote:

 Hi,
 
 I'm not sure if I've asked this before, or if I should be asking on a
 general EJB list.
 
 I'd like to implement a job scheduler in J2EE. This would shcedule the
 execution of EJB methods at a specified time in the future. It would have
to
 be persistent, and jobsd would be rescheduled upon appserver restart.
 
 Is it as simple as using the Timer and TimerTask in java.util to implement
 an app that is started with the client-module tag?
 
 Does it matter as far as Orion goes whether I use a java.util.Timer as a
 daemon or not?
 
 What can I do if the app, or the Timer object dies at any stage?
 
 I've had problems where after some time something goes wrong I get a
strange
 Remote Exception, and the only solution is to restart the VM. What might
 cause this?
 
 Any opinions on this? How do I make this solution robust is what I am
 asking.
 
 Thanks for any help,
 Justin
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





Re: Serious bug in Oracle transactions and Orion (On Vacation)

2001-11-15 Thread Paul Guilmette

I will be on vacation from 11/15/2001 returning on 12/03/2001. If you
have any question call Steve Huang at 727-572-7723 Ext 2210.




Re: Cached Row Set (On Vacation)

2001-10-12 Thread Paul Guilmette

I will be on vacation from 10/15/2001 returning on 10/22/2001. If you have any 
question call Steve Huang at 727-572-7723 Ext 2210.




dAHHH ... BLOODY CLOB!

2001-09-14 Thread Paul Medcraft


have you ensured that the write to the clob is in the same transaction as
the select for update statement that gets the handle to the clob? you can do
this programatically in the saveInfo() method, or preferably, in the
deployment descriptor. i think the clob handle is set to null if rollback or
commit is called between the select for update and the write to the clob.

i know i had this problem (or a similar one) and solved it, just can't
remember how. suppose that's what documentation is for!

paul

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




UNSUSCRIBE

2001-09-07 Thread Paul Maurer


UNSUBSCRIBE






RE: Orion and Sax/JDom

2001-09-05 Thread Paul Knepper
Title: Message



Works 
fine for me. I just dropped jdom.jar in the orion/lib 
directory.

  -Original Message-From: Michael Laccetti 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 04, 
  2001 12:10 PMTo: Orion-InterestSubject: RE: Orion and 
  Sax/JDom
  I 
  did a fresh install, downloaded the latest zip and installed it. I've 
  tried downloading the latest version of xerces and replacing the version with 
  1.5.2 with that. Again, still getting the SAX2 not found 
  exception. Is there a specific order to setin the 
  classpath?
  

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of The 
elephantwalkerSent: Tuesday, September 04, 2001 
12:04To: Orion-InterestSubject: RE: Orion and 
Sax/JDom
Michael,

We 
use jdom b7 and orion 1.5.2 all of the timewith no problems.We use 
jdom with crimson, which is the default parser with jdom and orion version 
1.5.2.Orion 1.4.6 used an old version of xerces. Did you use 
autoupdate.jar to install 1.5.2 or did you use a fresh install? 
Autoupdate.jar is a little unreliable, so I would do a fresh 
install.

regards,

the elephantwalker


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Michael 
  LaccettiSent: Tuesday, September 04, 2001 8:33 AMTo: 
  Orion-InterestSubject: Orion and Sax/JDom
  I've recently installed Orion 1.5.2 on a linux test machine, and 
  installed our app on it. It worked fine under 1.4.6, but for some 
  reason, when I dump it under 1.5.2 I keep getting a SAX2 exception: 
  SAX2 driver class not found. Has anybody seen this before, and 
  better yet, fixed it? I've tried everything that I can think 
  of. I even grabbed the latest version of JDom and installed 
  that. Please help!
  
  -Michael LaccettiDeveloper, Eldan 
  Software[EMAIL PROTECTED]
  


RE: ormi tunnel via http

2001-08-28 Thread Paul T. Little

Hi Alex and thanks for your suggestions.  However still no joy getting
rmi-tunnelling to work on my box.

Try just using your http host:port as Context.PROVIDER_URL value.

Perhaps I misunderstand:  Trying
ctxParm.put(Context.PROVIDER_URL,http://127.0.0.1:2000/odin;) ;
results in javax.naming.NamingException: Invalid provider URL.

Your application's bean name for ctx.lookup() should look like
java:comp/env/ejb/YourBeanName.
You need to have META-INF/application-client.xml somewhere on your
classpath also.

When I am using ormi://127.0.0.1:2002/odin my junit tests run correctly with
or without META-INF/application-client.xml.

A post by Nate Cole says ''hint:  use a new Hashtable instance to provide to
the InitialContext() constructor, *not* system properties.  When I passed in
System.getProperties(), the setting wouldn't get passed in. Using this
approach, I didn't need application-client.xml at
all

Paul T. Little wrote:

 Hi, I'm not able to get rmi-http tunnelling to work and would appreciate
 some help.  Hopefully it's my own silly mistake.

 The server's http host/port is 127.0.0.1:2000.  The rmi host/port is
127.0.0.1:2002.
 The application name is odin.
 I'm using orion1.5.2 on windows NT 4 SP6 with Jdk 1.3.

 The regular method works every time: ormi://127.0.0.1:2002/odin

 The tunnel method is:  http:ormi://127.0.0.1:2000/

 I assume but can't verify that the tunnelling URL should use the http port
 and not the rmi port.  I've tried it both ways and neither works.

 I've determined that /servlet/rmi is getting called but no data is sent
back.

 I spied on the connection and my client sent this:

 POST /servlet/rmi HTTP/1.0
 Content-Length: 99

 The client class waits forever (well, at least 1.5 hours while I worked
out)
 in vain for a response.

 After I stopped the server the client reports this exception,
 which is consistent with not getting any data back from the servlet:

 [junit] javax.naming.NamingException: Lookup error:
java.io.IOException: Did not receive valiTTP headers; nested exception is:
 [junit] javax.naming.NamingException: Lookup error:
java.io.IOException: Did not receive valiTTP headers; nested exception is:
 [junit] java.io.IOException: Did not receive valid HTTP headers
 [junit] java.io.IOException: Did not receive valid HTTP headers
 [junit] at com.evermind.server.rmi.RMIContext.lookup(Unknown
Source)
 [junit] at
javax.naming.InitialContext.lookup(InitialContext.java:350)


 I also tried the following html post just to see what would happen:

 html
 head
 titleTest RMI-HTTP Tunnel/title
 /head
 body bgcolor=#FF
 form method=POST action=/servlet/rmi
 input type=submit name=submit value=Test
 /form
 /body
 /html

 The response at least confirms that the servlet mapping is set up:

 Invalid protocol verification, illegal ORMI request or request performed
with an incompatible version of this protocol

 The global-application.log reports good news:
 8/27/01 4:21 PM defaultWebApp:
com.evermind.server.rmi.RMIHttpTunnelServlet: init

 conf/global-web-appliation.xml has the servlet registration

 servlet
 servlet-nameRMIHttpTunnelServlet/servlet-name

servlet-classcom.evermind.server.rmi.RMIHttpTunnelServlet/servlet-class
 /servlet
 servlet-mapping
 servlet-nameRMIHttpTunnelServlet/servlet-name
 url-pattern/servlet/rmi/url-pattern
 /servlet-mapping

 Here's some client code I'm using:

 Hashtable ctxParm = new Hashtable() ;


ctxParm.put(Context.INITIAL_CONTEXT_FACTORY,com.evermind.server.rmi.RMIInit
ialContextFactory) ;

 // the administrator is defined in conf/principals.xml
 ctxParm.put(Context.SECURITY_PRINCIPAL, user);
 ctxParm.put(Context.SECURITY_CREDENTIALS, password);

 // the application name is defined in conf/server.xml
 // application name=odin path=../deploy/odin.ear /
 String applicationName = odin ;

 boolean rmiHttpTunnel = true ;

 if (rmiHttpTunnel) {
 // the servlet is defined in conf/global-web-application.xml
 ctxParm.put(http.tunnel.path,/servlet/rmi) ;
 // the http host  port is defined in conf/default-web-site.xml
 ctxParm.put(Context.PROVIDER_URL,http:ormi://127.0.0.1:2000/ +
applicationName) ;
 } else {
 // the rmi host  port is defined in conf/rmi.xml
 ctxParm.put(Context.PROVIDER_URL,ormi://127.0.0.1:2002/ +
applicationName) ;
 }

 ctx = new InitialContext(ctxParm);

 I'm unable to figure out if the servlet needs any init parameters.
 I'm also unsure if the client code needs to set additional context
variables.

 Thanks for your time and any help you can provide.

 Sincerely,

 Paul
 [EMAIL PROTECTED]





RE: Strange jsp-error.

2001-08-23 Thread Bobby Paul
Title: RE: Strange jsp-error.





pls check your e-mails as i am being cc'd in on all of your comms.
Bobby Paul.
Senior Consultant.
1st IT People.
0207 940 3900.
[EMAIL PROTECTED]


-Original Message-
From: Magnus Rydin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 3:22 PM
To: Orion-Interest
Subject: SV: Strange jsp-error.



Hi.
Try to remove the files from your persistence dir for the web-app and see if
that solves it.
WR


-Ursprungligt meddelande-
Fran: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]For Michiel Meeuwissen
Skickat: den 17 augusti 2001 15:43
Till: Orion-Interest
Amne: Strange jsp-error.




Hello,


Does anybody know what the following error means?


Error creating jsp-page instance: java.lang.VerifyError: (class:
__jspPage0_mmbase_edit_change_node_jsp, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
nse;)V)
Register 31 contains wrong type


(using Orion 1.5.2)


It does not occur in all jsp-pages, but I've no idea what's happening,
neither how to solve it.


 Michiel




--
Michiel Meeuwissen - NOS internet
Mediacentrum kamer 203 - tel. +31 (0)35 6773065
http://www.mmbase.org
http://www.purl.org/NET/mihxil/






How to unsubscribe

2001-08-22 Thread Paul Sprague




Thank you for subscribing to the orion mailing list. 
A message has now 
been sent to the address you subscribed. If you want to unsubscribe, simply send 
a mail to [EMAIL PROTECTED] 
with the following command in the body of your email message:
unsubscribe
Or from another 
account, besides the email account you subscribed to:
unsubscribe 
your email address


RE: Clustering..

2001-07-17 Thread Paul Knepper
Title: RE: Clustering..



I 
haven't check with the latest version, but I store a handle to a sfsb. 
When I failover it is invalid on the other server. Is this a 
bug?

-Paul

  -Original Message-From: Kesav Kumar 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 3:32 
  PMTo: Orion-InterestSubject: RE: 
  Clustering..
  Clustering in orion is only for sessions. EJB clustering 
  is not yet provided. 
  The clustering mechanism in orion is based on 
  JMS(Topic/Subscriber). When every you keep information in session by 
  using setSessionAttribute(String name, Object object) the session information 
  is copied to all other clusters. 
  All objects in the seesion must be serializable inorder to 
  provide clustering. Once clustering is enabled if switch requests 
  between islands you will have session information valid.
  Unfortuantely this mechanism is little expensive in terms of 
  memory since session information is kept in memory of all islands. So 
  adding one more machine or island into the cluster group doesn't reduce your 
  memory requirements rather it increase your memory requirements.
  This mechanism have one drawback: If you keep an object 
  in session and later some place you get the reference of the object and modify 
  the object the modifications won't get reflect across islands:
  Example:  
  UserInfo info = new UserInfo() // Some kind of 
  object...  info.user_name = "oldName"; 
   session.setAttribute("UserInfo", info) // At this point the info is 
  replicated to all cluster islands 
  //Later at any place of your code 
   UserInfo info = 
  session.getAttribute("UserInfo"); 
   info.user_name = 
  "newName"; //This change won't replicated 
  //In some other program 
   UserInfo info = 
  session.getAttribute("UserInfo"); 
   System.out.println(info.user_name) // If the request comes to the 
  same cluster where the modification occures you will get the "NewName" if the 
  request goes to another cluster you will get "oldname"
  Work Around: If you do any kind of modifications to your 
  session objects put the objects again into session using 
  setSessionAttribute. Keep one thing in mind that when ever you call this 
  setSessionAttribute method the session info is going to replicate across 
  different islands.
  I think this is too much to put down. If some one finds 
  boaring just ignore this mail. 
  This is the same problem which I faced and lead me to write my 
  own session management. 
  Kesav Kumar Kolla Voquette Inc 
  650 356 3740(W) 510 889 
  6840(R) Voquette...Delivering Sound Information 
  
  -Original Message- From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Duffey, Kevin Sent: Monday, July 16, 2001 
  12:39 PM To: Orion-Interest Subject: Clustering.. 
  Hi all, 
  I know how to cluster Orion..after all, its pretty easy. What 
  I want to know from someone who knows..is if in the 
  1.5.2 version all the bugs (if there were actually 
  any) are worked out. Does Orion cluster with no problems? Does 
  session fail-over and application context fail-over work 
  without a hitch (providing all objects in the session 
  and/or context are serializable)? If you have two 
  machines in an island, and the session begins on one..does it automatically "copy" any session info to the other box for you? If you 
  shut that box off, and all requests go to the 2nd box, 
  does the session still exist with all objects still in 
  memory? 
  I take it each and every request on a clustered box requires 
  the session to be duplicated exactly as is to the 
  other machine? If this is the case, at what "rate" 
  does Orion copy out the session and anything else to another server in the island (or to each and every server in the island)? How 
  does this affect performance as compared to using just 
  a single box without clustering..is it 2 to 3 times 
  slower because of not only copying its session to one 
  or more boxes, but also having to deal with "merging" other boxes context/session information into its own? Or does a cluster 
  simply create the objects and session stuff on each 
  box as its generated (thus..its not some background 
  thread that copies session info when it has time to other boxes)? 
  Is it equally good at clustering on the EJB tier (so 
  scalability on the EJB tier or the front-end WEB tier 
  is equally as easy)? 
  Thanks. 


Strange problem getting applet to work...

2001-07-16 Thread Paul Sprague

Hi,
I've been trying to get an applet up and running. The applet uses some
EJB's to do its work. This applet was make for Weblogic 5.1 and I'm trying
to move it to Orion 1.5.2.

The current layout of the applet is as follow:

salary-web/ (this is the root of the war I'm guessing)
- salary/
-- applet/
--- META-INF/
 application-client.xml
--- salary/
--- ams-ejb.jar (this is the jar holding the EJBs, these are referenced in
the application-client.xml bellow)
--- crimson.jar
--- ejb.jar
--- fast2.jar
--- jaas.jar
--- jaxp.jar
--- jdbc.jar
--- jndi.jar
--- jta.jar
--- orion.jar
--- parser.jar
--- salary-ejb.jar (this is another EJB which is also referenced in the
application-client.xml)
--- xerces.jar
 ui/
- UserApplet.class (plus other class files)
-- html/
--- applet.html

application-client.xml (Contains the 3 references to the EJBs this applet
uses )
-
application-client
   ejb-ref
  ejb-ref-nameSalary/ejb-ref-name
  ejb-ref-typeSession/ejb-ref-type
  homesalary.ejb.SalaryHome/home
  remotesalary.ejb.Salary/remote
   /ejb-ref
   ejb-ref
  ejb-ref-nameUserManager/ejb-ref-name
  ejb-ref-typeSession/ejb-ref-type
  homeams.ejb.usermanager.UserManagerHome/home
  remoteams.ejb.usermanager.UserManager/remote
   /ejb-ref
   ejb-ref
  ejb-ref-nameDivisionManager/ejb-ref-name
  ejb-ref-typeSession/ejb-ref-type
  homeams.ejb.divisionmanager.DivisionManagerHome/home
  remoteams.ejb.divisionmanager.DivisionManager/remote
   /ejb-ref
/application-client


applet.html
---
OBJECT classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
WIDTH = 780 HEIGHT = 580
codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Vers
ion=1,3,0,0
PARAM NAME=CODE  VALUE=salary.ui.UserApplet 
PARAM NAME=CODEBASE  VALUE=/salary/applet/ 
PARAM NAME=InitialContextFactory
VALUE=com.evermind.server.rmi.RMIInitialContextFactory
PARAM NAME=ProviderURL   VALUE=ormi://xxx.xxx.xxx.xxx
PARAM NAME=type
VALUE=application/x-java-applet;version=1.3
PARAM NAME=scriptableVALUE=false
PARAM NAME=cache_archive
VALUE=ams-ejb.jar,orion.jar,jndi.jar,ejb.jar,jaas.jar,xerces.jar,salary-ejb
.jar,fast2.jar,jaxp.jar,crimson.jar,jta.jar,jdbc.jar 
PARAM NAME=cache_option  VALUE=Plugin 
/OBJECT

Current problem, is that I can't seem to get the initial context. However I
just noticed something rather odd.
When I first hit the applet it just hangs. So i put the trace level to 5 in
the java console and this is what I get:

InitialContext:com.evermind.server.rmi.RMIInitialContextFactory
ProviderURL:ormi://xxx.xxx.xxx.xxx
Context.INITIAL_CONTEXT_FACTORY = java.naming.factory.initial
Context.PROVIDER_URL = java.naming.provider.url
Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
Opening
http://xxx.xxx.xxx.xxx/salary/applet/com/evermind/server/administration/Appl
icationServerAdminstrator.class
Connecting
http://xxx.xxx.xxx.xxx/salary/applet/com/evermind/server/administration/Appl
icationServerAdminstrator.class with no proxy
Opening
http://xxx.xxx.xxx.xxx/salary/applet/com/sun/jndi/url/java/javaURLContextFac
tory.class
Connecting
http://xxx.xxx.xxx.xxx/salary/applet/com/sun/jndi/url/java/javaURLContextFac
tory.class with no proxy

What I find strang is that the class
com.sun.jndi.url.java.javaURLContextFactory.class doesn't exist. I've looked
in all the jar files, and through the java runtime jar file. I've search for
it on javasoft.com as well. I get nothing. If I can't find this class should
I be getting a class not found error? According to the console the class was
opened? Very strange.

If you see anything wrong with this setup or a reason for the applet hanging
please let me know.

Thanks
Paul


 smime.p7s


RE: Running Orion as a service..??

2001-07-16 Thread Paul Knepper

We use http://www.kcmultimedia.com/javaserv/

The one catch was shutting down orion.  I solved it by spawning a new java
proc and calling admin.jar  -shutdown, everything worked fine.

If you need more info, ie. source, let me know.

Paul

-Original Message-
From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:26 PM
To: Orion-Interest
Subject: Running Orion as a service..??


Hi all,

This is an old question..I have asked it before. But the last few times I
saw this on the list, the products recommended to me didn't work well. I
forget which one, but one did work..partly. The service started fine, but
when you tried to shut it down, it would just hang. I also know of the
log-off problem and this one worked. What I am asking now..especially
since Oracle OC4J is basically Orion, is there a DEFINITE solution to
running Orion (and java for that matter) as a service that WORKS on WinNT
and Win2K (pro and server)?

Another thing..why does Orion not have its own service capability? I know it
needs to run on many platforms, but I would think it possible to create a
subfolder in the distribution for windows, linux, etc (or..even better to
keep the main distribution small, a separate add-on service
installer/deinstaller).

So, if someone could hook me up with a good link or two to service runners
that actually work with Win2K, and can run java programs, that would be
great. Ideally I would like the ability to see the output window show up in
a given Terminal session incase I have to Terminal in to a Win2K Server box
and start, stop or restart the service. But this is not mandatory.


Thanks.




UN-SUBSCRIBE

2001-07-03 Thread Paul Higginson






returning an interface

2001-06-29 Thread Paul Knepper



Has anyone ever 
returned an interface from an EJB?

I get the following 
error:
com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing 
object: MyInterfaceImpl


Here is my Remote 
Interface:
public interface 
Test extends EJBObject{ public IMyInterface 
getInterface() throws 
RemoteException;}

Here is the 
implmentation of the method:
 
public IMyInterface getInterface() 
throws RemoteException 
{ return new 
MyInterfaceImpl(); }

Thanks,
Paul


Re: Oracle deal

2001-06-08 Thread Paul Kofon

I knew all along that this would happen, I just wasn't sure which one of the 
big companies it would be. As far as I was concerned (and I definitely am 
wrong sometimes) the guys at Orion thought: Hey we've got a good product, 
everyone who lives on the J2EE planet knows that  already. Have a deal with 
one of the big guys and sell them this wonderful technology that has been 
tested thoroughly for free by those very enthusiastic Java geeks!
Now this is the scary part: Make Orion unusable by providing partial 
implementations for the new stuff in J2EE while providing little or no 
support. And since everyone knows Orion has been packaged under another 
brand name by some big guy with plenty of resources, they can go to him! 
That way, we at Ironflare are making money, the big guy is making money and 
everyone is using Orion!
Well, it probably didn't happen like that, but what gave me concern the most 
was the fact that the guys at Orion suddenly became unreachable at a time 
and then later came out with a story that they had to reorganise and create 
a real company - Ironflare. I guess this company was created for the sole 
purpose of dealing with those big guys who, as it turned out, were 
interested in licensing or purchasing Orion.
Well, that said, I bear Ironflare no grudge, on the contrary, I'm proud of 
them and think very highly of them! They're free to do whatever they choose 
to do and that includes making money and having strange or capitalistic 
bed fellows like
Or(ion)acle. However, I can't help but wonder which version Oracle got - 
1.4.5, 1.5.2 or 2.0!

Paul

PS I must add that I'm happy because one of our clients had insisted on 
using Oracle 9iAS. The project is meant to commence in July. I and the guys 
at my company had our fears since we knew Oracle wasn't the best J2EE 
platform. But now they've got Orion.


From: Reid Hartenbower [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Oracle deal
Date: Thu, 7 Jun 2001 11:36:23 -0700

This is my fear as well, and why I am surprised by the generally favorable
reactions to this deal.
What will it mean for Orion, and specifically the licensing. Will 
everything
still be free, or will Oracle turn Orion into another WebLogic?
It feels a little like Microsoft just absorbed my favorite development
environment.

- Original Message -
From: Keith Kwiatek [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 11:15 AM
Subject: Re: Oracle deal


  I hope this orion + oracle deal is the same as the borland jbuilder +
oracle
  jdeveloper deal. Oracle licensed Jbuilder technology, but Borland  
was
  still free to take Jbuilder in any direction they wanted, AND oracle was
  free to take Jdeveloper in any direction they wanted. The end result 
is
  that Jdeveloper is way behind the curve because Oracle always buys
  technology for which they do not have the ability to maintain. 
MEANWHILE,
  Jbuilder is doing great and getting better and better
 
  I guess the question is Just what kinda  deal did Ironflare work out 
with
  Oracle? Did Ironflare get wrapped into a straight-jacket for a few short
  term buck$ ?
 
  Keith
 
 
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, June 06, 2001 5:29 PM
  Subject: Re: Oracle deal
 
 
  
   What I am interested in is what are the future implications for Orion?
   We are about to purchase a license for Orion, but if development on
Orion
   isn't going to be the main focus, where does that leave customers?
  
  
   Julian Doherty
   Information Systems Analyst
   Education Review Office
  
  
  
  
   Phillip Ross
   [EMAIL PROTECTED] To:
  Orion-Interest [EMAIL PROTECTED]
   Sent by:  cc:
   owner-orion-interest@orionSubject: Re:
  Oracle deal
   server.com
  
  
   06/07/01 08:07 AM
   Please respond to
   Orion-Interest
  
  
  
  
  
  
   I've been told Oracle's oc4j is orion 1.5.0.  And I've also been told
that
   it's
   confidental as to how/when/if ironflare will continue to push newer
builds
   of
   orion to Oracle or what.
  
   - Phillip
  
   --- Bryan Young [EMAIL PROTECTED] wrote:
I just read about Orion being used as the base code for their 9i app
   server.
Does anyone know the specifics of the deal?  Specifically I wanted 
to
   know
what version of Orion they are using, and if there would be any
benefit
   to
future versions of Orion.
   
  
  
   __
   Do You Yahoo!?
   Get personalized email addresses from Yahoo! Mail - only $35
   a year!  http://personal.mail.yahoo.com

Re: NT Security Integration?

2001-06-08 Thread Paul Kofon

HI Ray,
Please could you say more about authentication with Active Directory 
(Windows 2000). I need some hints 'cause I would like to implement that sort 
of thing.

Regards,

Paul


From: Ray Harrison [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: NT Security Integration?
Date: Fri, 8 Jun 2001 11:03:04 -0700 (PDT)

Not NT per se - but I use JNDI/LDAP (or active directory) on Windows 2000 
Server as my
authentication system. No problems at all. Basically I've got a JNDI ldap 
utils class which is
pretty stright forward - then a simple user manager that sits on that - 
plugged it into
orion-application.xml and it works just fine.

--- Gordon Reynolds (Cyonara) [EMAIL PROTECTED] wrote:
  No, but I hope someone has. I can tell you this much, it'll require 2
  things: first writing
  native code to access the NT authentication system (I've seen an article 
on
  this sometime
  in the last year in one of my many Java magazines), then writing your 
own
  UserManager
  to access the native code.
 
  Regards,
 
  Gordon.
 
  - Original Message -
  From: Joe Fair [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, June 07, 2001 10:17 AM
  Subject: NT Security Integration?
 
 
   Has anyone has integrated Orion user security with NT
   login security?  It sounds like the sort of thing that
   is either really easy or really tough.
   Any leads?
   Thanks,
   Joe
  
   __
   Do You Yahoo!?
   Get personalized email addresses from Yahoo! Mail - only $35
   a year!  http://personal.mail.yahoo.com/
  
  
 
 


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


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





How to update Orion behind a firewall

2001-06-01 Thread Paul Kofon

Hi,

I've been trying to update my copy of Orion from 1.4.5 to 1.5.1 without any 
luck. Problem is that I'm behind a firewall (Microsoft Proxy Server 2.0) 
that requires authentication so I guess I somehow need to include my 
username and password as part of the autoupdate command line. Is this 
possible? Has anyone done this before. Thanks.

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





Re: Re: IIS, Orion, virtual host

2001-04-27 Thread paul

Dear Jeff Hubbach,

Thanks for your advice. 

01-4-27 0:00:00 You had said£º
Paul,

I'm sorry to say that I have no experience with IIS and configuration issues therein. 
I do know thorugh experience and education that each IP has it's own set of ports. 
That's why I gave my advice below. If you are trying to do something similar to 
Oliver (run Orion on a different IP but same port as IIS), then I would recommend 
trying my suggestion below. If you think you have IIS configured to only listen to 
one IP, then start it up and try accessing the second IP on the same port. If the IIS 
web site comes up, then it is configured to listen to ALL IPs on the box. I would 
read the documentation on IIS at this point. From what little I know of IIS, there 
are some pretty big security holes in it, which I guess if you keep up with the 
patches can be dealt with...

Sorry I could't give you more hands-on experience.

Jeff Hubbach.

On Fri, 27 Apr 2001 9:59:41 +0800
paul [EMAIL PROTECTED] wrote:

Dear Jeff Hubbach,

Can you send some detail info about IIS set?

01-4-25 12:54:00 You had said£º
Each IP has it's own ports. Therefore, you could have Apache listening on port
80 of IP A, IIS listening on port 80 of IP B, and Orion listening on port 80 of
IP C. It sounds like you don't have IIS configured to listen to only one of the
IPs, so it's binding to both. If you browse to the IP that you want to run
Orion on, does it bring up the IIS site? just curious...

Jeff Hubbach.

Ron van Pol wrote:

 Seems to me that there can run only one process on a particular port. Once
 IIS is already running on port 80 Orion will be unable to bind to that port
 since it is already in use by IIS. Same goes if you start orion before IIS.
IP Then IIS, will not be able to start since Orion already has port 80 in use.

 Ron

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
  Sent: Wednesday, April 25, 2001 9:51 AM
  To: Orion-Interest
  Subject: IIS, Orion, virtual host
 
 
  Hi,
 
  For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
  x.x.x.21. (modification in the connection setting and the hosts file)
  I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
  Is is because the port are the same that I can't start both of them at the
  same time (they complain that the address is in use).
 
  Or is it possible and I don't know how to do it ???
 
  Thanks,
 
  olivier
 
 
 
 

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com

Sincerely,

paul
[EMAIL PROTECTED]



Sincerely,

paul
[EMAIL PROTECTED]






Re: Re: IIS, Orion, virtual host

2001-04-26 Thread paul

Dear Jeff Hubbach,

Can you send some detail info about IIS set?

01-4-25 12:54:00 You had said£º
Each IP has it's own ports. Therefore, you could have Apache listening on port
80 of IP A, IIS listening on port 80 of IP B, and Orion listening on port 80 of
IP C. It sounds like you don't have IIS configured to listen to only one of the
IPs, so it's binding to both. If you browse to the IP that you want to run
Orion on, does it bring up the IIS site? just curious...

Jeff Hubbach.

Ron van Pol wrote:

 Seems to me that there can run only one process on a particular port. Once
 IIS is already running on port 80 Orion will be unable to bind to that port
 since it is already in use by IIS. Same goes if you start orion before IIS.
 Then IIS, will not be able to start since Orion already has port 80 in use.

 Ron

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
  Sent: Wednesday, April 25, 2001 9:51 AM
  To: Orion-Interest
  Subject: IIS, Orion, virtual host
 
 
  Hi,
 
  For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
  x.x.x.21. (modification in the connection setting and the hosts file)
  I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
  Is is because the port are the same that I can't start both of them at the
  same time (they complain that the address is in use).
 
  Or is it possible and I don't know how to do it ???
 
  Thanks,
 
  olivier
 
 
 
 

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com

Sincerely,

paul
[EMAIL PROTECTED]






Re: freetds.org

2001-04-26 Thread Paul Kofon

Hi,

The database driver for MSSQL from freetds.org is, according to the 
documention, work in progress more or less.
I had been looking for a cheap/free driver for MSSQL. When I found it, I 
thought my search was over. But I wrong, since I just couldn't use it. I 
kept getting SQLExceptions (which were to be expected according to the 
documentation because most things are not implemented yet). Finally, I had 
to stop using it.
Currently, I use two drivers and they both work flawlessly for my apps:
one from http://www.inetsoftware.de and the other from 
http://www.j-netdirect.com. Though they cost money.

Regards,

Paul





From: Johan Fredriksson [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: freetds.org
Date: Thu, 26 Apr 2001 17:36:15 +0200

Has anyone got their driver to work with ms sql server 7?

I just get an error message all the time :

java.sql.SQLException: The database driver 
(com.internetcds.jdbc.tds.Driver@ff3a
fe9f) returned refusing to connect to the URL 
jdbc:freetds:sqlserver://192.168.1
.123/
 at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown 
Source
)



Does anyone know what I'm doing wrong?

I'll include my datasource.xml also...:

  data-source
   class=com.evermind.sql.DriverManagerDataSource
   name=MyDataSource
   location=jdbc/BB
   xa-location=jdbc/xa/BBXADS
   ejb-location=jdbc/MyDataSource
   connection-driver=com.internetcds.jdbc.tds.Driver
   pooled-location=jdbc/MyPooledDS
   username=my
   password=password
   url=jdbc:freetds:sqlserver://192.168.1.123/
   max-connect-attempts=3
   max-connections=1
   connection-retry-interval=1
   inactivity-timeout=30

  /


thanks in advance.


Johan



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





RE: IIS, Orion, virtual host

2001-04-25 Thread Paul Medcraft


You can't have two applications on one machine listening on the same port,
although they could both use the same IP. Try setting them both to use x.20
and put orion on a different port.

Paul 

 -Original Message-
 From: olivier [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:30
 To: Orion-Interest
 Subject: RE: IIS, Orion, virtual host
 
 
 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind
 
 
 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host
 
 
 What exactly is the error message? There are a couple of 
 different ones
 pertaining to different config files.
 
 Thanks,
 Ron White
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host
 
 
 Hi,
 
 For some reason, I have set 2 IP addresse to my machine (NT). 
 x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 
 on port 80.
 Is is because the port are the same that I can't start both 
 of them at the
 same time (they complain that the address is in use).
 
 Or is it possible and I don't know how to do it ???
 
 Thanks,
 
 olivier
 
 
 

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




RE: Update to 1.4.8 gives strange table names after deployment ???

2001-04-25 Thread Paul Knepper

In changes.txt line 10 states:
Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/
directory from the orion/ directory for consistency.

Did you move your orion-ejb-jar.xml file?

-Original Message-
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 4:12 AM
To: Orion-Interest
Subject: Update to 1.4.8 gives strange table names after deployment ???


Great to see there is a new version of Orion, my compliments.

I performed the upgrade through autoupdate.jar and redpoyed my applications,
whereby I first removed the applications from the application deployment
dir.

The orion-ejb-jar-xml that Orion generates contains incorrect table names
which were correct in 1.4.7, see below for the first part of the
orion-ejb-jar.xml file. It transforms table=sgsusr to
:table=nl_unwired_sgs_um_User  which isn't correct I suppose.
Can someone please tell me what goes wrong, as I can't access my database
like this ??
BTW: The orion-application contains: autocreate-tables=false.

Eddie

my orion-ejb.jar.xml:
?xml version=1.0?
?xml version=1.0?
!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e4a8a4f467
 enterprise-beans
  entity-deployment table=sgsusr name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User data-source=jdbc/postgresEJBDS
exclusive-write-access=false



--- The above is transformed to:

!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e614c0c4f1
 enterprise-beans
  entity-deployment name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User wrapper=UserHome_EntityHomeWrapper8
table=nl_unwired_sgs_um_User data-source=jdbc/postgresEJBDS





Re: A Swedish Idea

2001-04-20 Thread Paul Kofon

Hi,

I agree with Frank but the truth is that Orion is the "best" J2EE server in 
terms of pricing and performance; that's why we're all here trying to chart 
it's future. If it was easy to find an alternative (one with all of Orion's 
advantages) many of us would have gotten off this mailing list.


Paul



From: "Frank LaRosa" [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: A Swedish Idea
Date: Fri, 20 Apr 2001 00:52:23 -0500

What's the difference? We choose to write J2EE applications because J2EE is
a community standard rather than a proprietary API. If Orion goes under, 
all
it takes is a few new config files to deploy your app on another server.

- Original Message -
From: [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, April 19, 2001 4:17 PM
Subject: Re: A Swedish Idea


 
  God forbids, what if one of them got into car accident, would there 
still
be
  Orion.
 



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





RE: Problem ( solution) with ejbStore() and Oracle CLOBs

2001-04-19 Thread Paul Medcraft


No joy with this but thanks anyway. I haven't noticed any problems with the
original solution (below) in the last couple of weeks.

 -Original Message-
 From: Dan North [mailto:[EMAIL PROTECTED]]
 Sent: 11 April 2001 18:00
 To: Orion-Interest
 Subject: Re: Problem ( solution) with ejbStore() and Oracle CLOBs
 
 
 This is more likely to be to do with isolation level than 
 transactionality 
 (although the two are closely related).  You might try setting:
 
entity-deployment name="YourBean" isolation="repeatable_read"
  ...
/entity-deployment
 
 in your orion-ejb-jar.xml.
 
 Disclaimer: I could well be wrong, I often am!
 
 Regards,
 Dan/tastapod
 
 
 At 15:48 11/04/2001 +0100, you wrote:
 
 Hi,
 
 I have a BMP entity bean that maps to an Oracle table with a 
 CLOB field. I
 can read the CLOB in OK but when trying to write to it I get 
 an 'ORA-01002:
 fetch out of sequence' error.
 
 This error can be caused by a commit being called between 
 retrieving the
 CLOB locator with a SELECT... FOR UPDATE and trying to write 
 to the CLOB's
 output stream.
 
 I solved this for ejbCreate() by setting the create() 
 method's transaction
 attribute to 'Required'. However, I can't give the 
 ejbStore() method a
 transaction attribute as it can only be called by the container.
 
 I have got around this like so:
 
 By default, ejbStore() is called by the container after 
 every call to any
 method in the bean instance, whether or not the bean's state 
 is changed.
 Implementing the public boolean isModified() method stops 
 ejbStore() being
 called every time as the container first checks that true is 
 returned by
 this method. Setting a 'Required', 'Requires New' or 
 'Mandatory' transaction
 attribute for all methods that set the 'modified' boolean to 
 true seems to
 ensure that ejbStore() is now only called inside a transaction.
 
 This seems to solve the problem but I'd like to be sure that 
 my assumptions
 are correct and that this WILL prevent ejbStore() from ever 
 being called
 outside a transaction. Also, is it possible to set a
 transaction attribute for ejbStore()?
 
 Thanks,
 
 Paul
 
 
 
 http://www.iii.co.uk
 Interactive Investor International is a leading UK Internet personal
 finance service that provides individuals with the 
 capability to identify,
 compare, monitor and buy online a number of financial 
 products and services.
 
 Interactive Investor Trading Limited, a subsidiary of 
 Interactive Investor
 International plc, is regulated by the SFA.
 
 --
 Dan North
 VP Development  -  Cadrion Software Ltd  -  +44 (0)20 7440 9550
 
 CONFIDENTIALITY
 This e-mail and any attachments are confidential
 and may also be privileged. If you are not the named recipient,
 please notify the sender immediately and do not disclose the
 contents to another person, use it for any purpose, or store
 or copy the information in any medium
 
 

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




RE: Orion as a service on Windows NT 4

2001-04-19 Thread Paul Knepper

Try http://www.kcmultimedia.com/javaserv/

-Original Message-
From: George Mardale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 5:29 AM
To: Orion-Interest
Subject: Orion as a service on Windows NT 4


Hello everybody!

I want to install Orion as a service on Windows NT 4. Can anyone give me an
idea
how to do it?

Thanks in advance,
George.




RE: Inprise AppServer vs Orion

2001-04-13 Thread Fink, Paul


I'm in the same boat. JBoss didn't work for us, too slow.
JRun is crap. So we are moving to Borland (Inprise).

I used IAS in a project last year that never got deployed. I thought it was
great.
Very fast, Built on a true CORBA foundation, and very, I mean VERY good
support.

I have not yet ported our current system from Orion to BAS (Borland
Application Server),
to get pa performance comparison.
I will be doing that in a couple of weeks. I'll post when I get results.

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 6:24 PM
 To:   Orion-Interest
 Subject:  Inprise AppServer vs Orion
 
 
 Hi all,
 
 I am pushing hard to get Orion included in the last shortlist for our next
 product.
 Only because of the support issues(that everyone here understands),my
 manager is inclined to
 consider something like Inprise Appserver as a better alternative..
 
 Now,could anyone here  give me some figures,opinions ,etc about the
 performance of Inprise Appserver.
 How does it compare with Orion in terms of the key evaluation factors?(i
 understand, we would know which factors are more important for us...still)
 
 We have to have two major applications hosted on the appserver as part of
 the product deployment.
 The first one is not a real 'web' app.
 It has ejbs being accessed by distributed components and mix of some
 database and proprietary back end.
 The second application is a web application with servlet/jsp/corba
 components
 
 We have pretty strict performance requirements for both of these...And the
 first application has to have
 high availability as well...
 
 Any sort of suggestions, pointers,data,exclamations would be of high
 value
 
 Thanks,
 
 Jobin
 
 




Problem ( solution) with ejbStore() and Oracle CLOBs

2001-04-11 Thread Paul Medcraft


Hi,

I have a BMP entity bean that maps to an Oracle table with a CLOB field. I
can read the CLOB in OK but when trying to write to it I get an 'ORA-01002:
fetch out of sequence' error. 

This error can be caused by a commit being called between retrieving the
CLOB locator with a SELECT... FOR UPDATE and trying to write to the CLOB's
output stream. 

I solved this for ejbCreate() by setting the create() method's transaction
attribute to 'Required'. However, I can't give the ejbStore() method a
transaction attribute as it can only be called by the container. 

I have got around this like so: 

By default, ejbStore() is called by the container after every call to any
method in the bean instance, whether or not the bean's state is changed.
Implementing the public boolean isModified() method stops ejbStore() being
called every time as the container first checks that true is returned by
this method. Setting a 'Required', 'Requires New' or 'Mandatory' transaction
attribute for all methods that set the 'modified' boolean to true seems to
ensure that ejbStore() is now only called inside a transaction.

This seems to solve the problem but I'd like to be sure that my assumptions
are correct and that this WILL prevent ejbStore() from ever being called
outside a transaction. Also, is it possible to set a 
transaction attribute for ejbStore()?

Thanks,

Paul



http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




RE: WE NEED NEWS! We need to know Orion is alive well!

2001-04-06 Thread Fink, Paul


Or like a rock band that had one hit single and are never heard from again.

 -Original Message-
 From: Kemp Randy-W18971 [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 1:02 PM
 To:   Orion-Interest
 Subject:  RE: WE NEED NEWS! We need to know Orion is alive  well!
 
 How many people are actually working on Orion, and what is their forte?
 Most likely, it is probably developed and maintain by a small number
 (maybe under six).  Sure, they are successful, and sell, but they could
 sell more.  Think up them as an up and coming rock group.  Add a good
 manager (CEO with a good business plan) and a promoter (a great technical
 writer working the documentation), and suddenly you have U2.
 
 




Re: orion server version 1.4.7

2001-04-03 Thread Paul Kofon

Hi,
You're right, 1.4.7 isn't available at www.orionserver.com. However, you can 
get the upgrade by running the following command from the directory in which 
you installed Orion:
java -jar autoupdate.jar
That's it!

Regards,

Paul


From: Vlad Stinsov [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: orion server version 1.4.7
Date: Tue, 03 Apr 2001 09:21:24 +0300

Hi!
Help me pls.
On site www.orionserver.com I find server version 1.4.5, but in mailing
list we
talk about server version 1.4.7.
When I can find it.
Vlad Stinsov.



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





JBoss verses Orion

2001-03-30 Thread Fink, Paul


I ported our Orion application to JBoss. I love JBoss for
usability, documentation and support. Unfortunately our application is very
performance dependent the JBoss version ran very slow. After playing with
cache setting, etc. It seemed like the communications was the main bottle
neck.
To test this I wrote a simple session bean with one get method that returns
a Long.

The client looped 10,000 times calling the getter. The Orion version was 6
times faster!
Other tests we ran had Orion running 4x faster.

It seems that JBoss certainly is performance limited.

I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3


Paul Fink




RE: [JBoss-user] JBoss verses Orion

2001-03-30 Thread Fink, Paul

 Oh sorry I should have  said.

Jboss 2.1 binary (down loaded March 22)

Orion is 1.3.8

-Original Message-
From: Dan Christopherson
To: 'jBoss'
Cc: 'Orion-Interest'
Sent: 3/30/01 3:21 PM
Subject: Re: [JBoss-user] JBoss verses Orion

What version of JBoss? If 2.1 (beta) the latest binary or a build from
source? If source, what date? Earlier this year there were some
performance problems stomped, but I haven't done any testing for
performance.


On Fri, 30 Mar 2001, Fink, Paul wrote:

 
 I ported our Orion application to JBoss. I love JBoss for
 usability, documentation and support. Unfortunately our application is
very
 performance dependent the JBoss version ran very slow. After playing
with
 cache setting, etc. It seemed like the communications was the main
bottle
 neck.
 To test this I wrote a simple session bean with one get method that
returns
 a Long.
 
 The client looped 10,000 times calling the getter. The Orion version
was 6
 times faster!
 Other tests we ran had Orion running 4x faster.
 
 It seems that JBoss certainly is performance limited.
 
 I'm running on a 900 MHz PIII under Linux with Sun's JDK 1.3
 
 
 Paul Fink
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user
 

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.


---
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




Pointbase

2001-03-14 Thread Fink, Paul

Anybody got a working database-schema file for PointBase?





problems using JDBC 2.0 functions

2001-03-05 Thread Paul Wilcox




Hi all,

I cant seem to use JDBC 2.0 functions on Orion. 
Any time I attempt to use a JDBC 2.0 function (such as ResultSet.isLast(), 
ResultSet.previous(), etc.) I get this error:

java.lang.NullPointerException
	at /ert/Prod_ApplServ.jsp._jspService(/ert/Prod_ApplServ.jsp.java, Compiled Code)
	at com.orionserver.http.OrionHttpJspPage.service(JAX)
	at com.evermind.server.http.HttpApplication.xj(JAX)
	at com.evermind.server.http.JSPServlet.service(JAX)
	at com.evermind.server.http.d3.sw(JAX, Compiled Code)
	at com.evermind.server.http.d3.su(JAX)
	at com.evermind.server.http.ef.s1(JAX, Compiled Code)
	at com.evermind.server.http.ef.do(JAX, Compiled Code)
	at com.evermind.util.f.run(JAX, Compiled Code)

I have gone as far as adding JDBC 3.0 
(jdbc-3_0-pfd-classes.jar), but this did not help.

Any suggestions?

Paul Wilcox


Finding my images

2001-03-02 Thread Paul G. Markovich

Hi,

I have set up a web.xml file in the
default-web-app directory, it reads
as follows:
web-app
servlet
servlet-nameMyApp/servlet-name
servlet-classcom.testing.test/servlet-class
load-on-startup1/load-on-startup
  servlet-mapping
servlet-nameMyApp/servlet-name
   url-pattern*.tnt/url-pattern
  /servlet-mapping
/web-app

I have images that don't show up in the 
servlet and I believe I don't have the
image directory in the right location

If I access the servlet like this
http://localhost/MyApp/GetListing.tnt

When the page is served, my images don't
show up, and they show the following path
http://localhost/MyApp/myimage.gif

Q1) Where should the images be placed to be
found.

Q2) Do I need to do an image mapping someplace??

thanks,

Paul




RE: Accessing Orion-EJB-Server on one machine from Orion-web-serv er on another?

2001-02-28 Thread Paul Knepper

What should the path setting look like?

I have an my-app.ear in the applications directory.  In that ear I have a
my-ejb.jar etc...

I tried just using path="my-ejb.jar" it didn't work.

I tried path="my-app/my-ejb.jar" it didn't work.

In my server.xml on the remote machine my ear app is setup as follows:
web-site path="./my-web-site.xml" /
application name="me" path="../applications/my-app.ear" /

so I also tried on the local machine:
path="me/my-ejb.jar" it didn't work either.

In all cases it seems as if orion just hangs during startup.  I never get
the Orion 1.4.5 initialized output message from my console window.

I'm using Win NT and Win 2k, with JDK 1.3.01 and Hotspot Server.

Any ideas?

Thanks,
Paul

-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 10:06 AM
To: Orion-Interest
Subject: RE: Accessing Orion-EJB-Server on one machine from Orion-web-serv
er on another?


sorry about being elusive

here's a (kinda) how to:
in $orion\config\rmi.xml

server host="the.remote.server.com" password="123" port="23791"
username="admin" /

then in orion-application.xml (in $orion\application-deployments\yourear\)

ejb-module path="myEjbs.jar" remote="true" /
that should be it

JP
 -Original Message-
From: Satish Gupta [mailto:[EMAIL PROTECTED]]
Sent: Martes, 30 de Enero de 2001 14:05
To: [EMAIL PROTECTED]
Subject: RE: Accessing Orion-EJB-Server on one machine from Orion-web-server
on another?



Thanks for your answer. But I'd appreciate it if you could please be a
little more verbose in your reply. A bit of an explanation will help a
newbie like me.

Thanks


yap, server.xml (add a RMI server ref there)

JP

-Original Message-
From: Globetrot Communications [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 29 de Enero de 2001 22:18
To: Orion-Interest
Subject: Accessing Orion-EJB-Server on one machine from Orion-web-server
on another?


What is the best way to configure two installations of
Orion, on different machines, so web-server on one can
access the EJB-Server on the other? Can this be done
through only the configuration files?

Thanks




RE: reference to a bean of another application

2001-02-27 Thread Paul Knepper

I'm having a similar problem but I'm trying to access EJBs on one server
from a servlet on another server.  I found this in the mail archives but
still haven't got it working.

http://www.mail-archive.com/orion-interest@orionserver.com/msg02763.html

-Paul

-Original Message-
From: Jordi Daroca [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 3:27 AM
To: Orion-Interest
Subject: reference to a bean of another application



Can a Bean of one application see a Bean of another application??

When I try to do it, i get the error:

javax.naming.NamingException: Error instantiating web-app JNDI-context:
No locat
ion specified and no suitable instance of the type 'ants.aws.Mediator'
found for
 the ejb-ref Mediator


In the ejb-jar.xml the reference to Mediator is explicited:

session
display-nameEventManager/display-name
ejb-nameEventManager/ejb-name
homeem.EventManagerHome/home
remoteem.EventManager/remote
ejb-classem.EventManagerEJB/ejb-class
session-typeStatefull/session-type
transaction-typeContainer/transaction-type
ejb-ref
ejb-ref-nameMediator/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homeants.aws.MediatorHome/home
remoteants.aws.Mediator/remote
ejb-linkMediator/ejb-link
/ejb-ref
/session

and also in the application-client.xml .

If the modules are packed in only one application there are no
problem.




Re: configuring jdbc with oracle

2001-02-26 Thread Paul Wilcox




Problem solved!! thank you everyone for your 
help. among other things, there was a problem with the URL.

Thanks again,

Paul Wilcox


Servlet Cache - How do I purge it

2001-02-25 Thread Paul G. Markovich

Hi,

I am using servlets in the orion default web app.

My dir:
Orion/defaul-web-app/Web-inf/classes/(and then my files)

I have the output of my compiler set to the same directory.

I start orion like:
java -jar orion.jar

and I stop orion with a ctrl C

I have reloaded my class files and I can't ever get the
new files to load.

I am working on NT4, jdk1.3, orion 1.4.5

Should I start stop differently???

Is there a physical location and file that I can
delete that is storing this information???

Help,

Paul




configuring jdbc with oracle...

2001-02-23 Thread Paul Wilcox





I am having great problems trying to connect to oracle thru 
JDBC on orion. Here is my data-sources file:
//
data-source
class=com.evermind.sql.DriverManagerDataSource
name=Oracle
location=jdbc/DefaultCoreDS
xa-location=jdbc/xa/DefaultXADS
ejb-location=jdbc/DefaultDS
connection-driver=oracle.jdbc.driver.OracleDriver
username=webluser
password=webluser
url=jdbc:oracle:thin:@ultra:1521:dual
inactivity-timeout=30
/
/
and here is the JSP page I am using to test...

///
%@ page import=java.sql.*, javax.sql.DataSource, 
javax.naming.InitialContext %
%  InitialContext ctx = new 
InitialContext(); DataSource ds = 
(DataSource) 
ctx.lookup(jdbc/DefaultDS); 
Connection con = null; Statement stmt = 
null; con = 
ds.getConnection();  
try { 
 
stmt = 
con.createStatement(); 
out.println(statement); 
ResultSet rs = stmt.executeQuery(SELECT * FROM 
dual); 
out.println(query); 
} catch(Exception 
e) 
{ 
out.println(BOOM!!!); 
} 
finally 
{ 
con.close();  }%

the output from my page is: BOOM!!!
The line stmt = con.createStatement(); is blowing 
up, and i cant figure out why. It seems to make the connection alright, but can 
see why createStatement() is expolding?
Any ideas?
Paul Wilcox
[EMAIL PROTECTED]



A HelloWorld war file

2001-02-23 Thread Paul Wheaton

I have a kind of "HelloWorld" EJB here, but I must be screwing something up and am 
going
nuts trying to figure out what.  

I'm trying to stuff everything into a war file and go to
http://localhost/servlet/FarmServlet and see the message. 

Here is everything I have to make this go.  Can anyone tell me what I'm doing wrong?  
Or,
can you tell me that you can get this to work (so I must have something configured
wrong)?  

The problem I'm having is that the orion server seems to deploy everything okay, but 
when
I try to pull up the servlet, it's as if the servlet isn't even there.

Here are the relevant files to creating what I have:

- build.bat

@echo off

echo ** compiling EJB 
javac eieio\*.java

echo ** creating EJB jar 
  
del critters.jar  
jar -cf critters.jar META-INF\ejb-jar.xml eieio\*.class

echo ** compiling servlet 

javac FarmServlet.java

echo ** creating war 
  
del farm.war  
jar -cf farm.war WEB-INF\web.xml FarmServlet.class

echo ** creating ear 
  
del oldmcdonald.ear
jar -cf oldmcdonald.ear META-INF\application.xml critters.jar farm.war

echo ** copying ear to orion 

copy oldmcdonald.ear \orion\applications

echo ** done.


- CowRemote.java

package eieio ;

import javax.ejb.* ;
import java.rmi.* ;

public interface CowRemote extends EJBObject
{
public String getText() throws RemoteException;
}

- CowHome.java

package eieio ;

import javax.ejb.* ;
import java.rmi.* ;

public interface CowHome extends EJBHome
{
public CowRemote create() throws CreateException, RemoteException;
}

- CowBean.java

package eieio ;

import java.util.*;
import javax.ejb.*;

public class CowBean implements SessionBean 
{

public String getText()
{
return "Mooo ...";
}

public void setSessionContext( SessionContext ctx ){}
public void ejbCreate() throws CreateException{}
public void ejbRemove(){}
public void ejbActivate(){}
public void ejbPassivate(){}

}


- ejb-jar.xml

?xml version="1.0"?

!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN'
'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'

ejb-jar
display-nameAnimalBeans/display-name
enterprise-beans
session
ejb-nameCowEJB/ejb-name
homeeieio.CowHome/home
remoteeieio.CowRemote/remote
ejb-classeieio.CowBean/ejb-class
session-typeStateless/session-type
transaction-typeContainer/transaction-type
/session
/enterprise-beans
/ejb-jar


- FarmServlet.java

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.naming.*;
import eieio.* ;

public class FarmServlet extends HttpServlet 
{

public void doGet( HttpServletRequest req , HttpServletResponse resp )
{
try
{
PrintWriter out = resp.getWriter();
try 
{
resp.setContentType("text/html");
InitialContext context = new InitialContext();
CowHome home = (CowHome)context.lookup( "CowEJB" );
CowRemote cow = home.create();
out.println( cow.getText() );
}
catch( Exception e ) 
{
out.println( "damn! " + e );
}
finally
{
out.close();
}
}
catch ( Exception e )
{
System.out.println( "could not get writer! " + e );
}

}
}



- web.xml


web-app

  display-nameOld McDonald's Farm/display-name 
  
  servlet
servlet-nameFarmServlet/servlet-name 
descriptionServlet that calls the CowBean/description 
servlet-classFarmServlet/servlet-class 
  /servlet
  
  ejb-ref
ejb-ref-nameCowEJB/ejb-ref-name 
ejb-ref-typeSession/ejb-ref-type 
homeeieio.CowHome/home 
remoteeieio.CowRemote/remote 
  /ejb-ref
  
  servlet-mapping
servlet-nameFarmServlet/servlet-name 
url-pattern//url-pattern 
  /servlet-mapping
  
/web-app
  



- application.xml

application

  display-nameThe Old McDonald Farm Application/display-name 
  
  module
ejbcritters.jar/ejb 
  /module

  module
web
  web-urifarm.war/web-uri 
  context-root//context-root 
/web
  /module

/application




I think the build.bat file makes it clear where everything goes.  

Any ideas?




__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




RE: Jikes 1.12 compiled code is bad!

2001-02-22 Thread Fink, Paul


I use jikes 1.12 (8/1/2000) under Linux with JDK 1.3.0

works fine.
 -Original Message-
 From: Adam Cassar [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, February 14, 2001 6:21 PM
 To:   Orion-Interest
 Subject:  Re: Jikes 1.12 compiled code is bad!
 
 I am using jikes v1.13 on linux with no problems here
 
 
 On Wed, Feb 14, 2001 at 02:52:14PM -0700, Mike Fontenot wrote:
  I've been developing on Win2K, and deploying on Solaris. Works fine.
  
  I was using Jikes version 1.07 to compile my classes. Just switched to
 Jikes
  version 1.12 and now orion is breaking during startup. If I compile my
  classes with 1.12 and try to start orion, orion itself dies with an
 error
  message related to ArrayOutOfBounds. It never initializes or loads any
 ejbs,
  nothing.
  
  If I go back and recompile everything with 1.07 again, it works fine.
  
  Has anyone see this? I've searched the mail archive regarding this error
 and
  I've found somewhat related messages, but no real answers/solutions.
  
  Thanks in advance,
  Mike
  
  
  
 
 -- 
 
 Adam Cassar
 Technical Development Manager
 ___  
 NetRegistry http://www.netregistry.au.com
 Tel: +61 2 9641 8609 | Fax: +61 2 9699 6088
 PO Box 270 Broadway NSW 2007 Australia




Opening a secured form in a new browser window

2001-02-20 Thread Paul Kofon

Hi,
I've got a page that displays a form for authentication via a servlet. After 
the process of authentication, the request gets forwarded to a data entry 
form.
This data entry form is a JSP page that checks out to make sure it's the 
administrator accessing it. It works fine but I'd like it to be displayed in 
a new window instead of the same one. How can I do this.
Thanks.

Paul

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





archives

2001-02-20 Thread Paul Wheaton

Is there a web site that contains archives of this mailing list so that I don't ask 
stuff
that has already been asked?



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




Displaying image files stored in a database

2001-02-12 Thread Paul Kofon

Hi,
I'm developing an web-based Employee Directory for my company. I've got it 
working all right.
My problem is that I'd like to store the image files in a database 
(presently I'm using Hypersonic) and be able to display them as needed for 
each employee. However, I haven't been able to that. I worked aroud this 
problem by storing the images in the file system and entering a path to the 
required image file as a VARCHAR in the database. Eventhough it solved my 
problem, it is undesireable because I'd have to manually delete each image 
file that's no longer required instead of simply deleting a row in the 
database.
I successfully stored each file as a Java object (in this case "File") but I 
just couldn't think of a way to display it on a web page. I'm sure this is a 
piece of cake for most of you out there but I just can't figure it out. Any 
he.lp would do. Thanks.

Regards,

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





Displaying image files stored in a database

2001-02-12 Thread Paul Kofon

Hi,
I'm developing an web-based Employee Directory for my company using Servlets 
and JSPs. I've got it working all right.
My problem is that I'd like to store the image files in a database 
(presently I'm using Hypersonic) and be able to display them as needed for 
each employee. However, I haven't been able to that. I worked aroud this 
problem by storing the images in the file system and entering a path to the 
required image file as a VARCHAR in the database. Eventhough it solved my 
problem, it is undesireable because I'd have to manually delete each image 
file that's no longer required instead of simply deleting a row in the 
database.
I successfully stored each file as a Java object (in this case "File") but I 
just couldn't think of a way to display it on a web page. I'm sure this is a 
piece of cake for most of you out there but I just can't figure it out. Any 
he.lp would do. Thanks.

Regards,

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





RE: Any news from Orion yet??

2001-02-06 Thread Fink, Paul


So, no good news then, eh?

 -Original Message-
 From: Robert Krueger [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, February 02, 2001 8:11 AM
 To:   Orion-Interest
 Subject:  Re: Any news from Orion yet??
 
 At 11:33 02.02.2001 , you wrote:
 Any news from Orion yet??
 Two weeks and nothing ...
 
 well, the only news is 1.4.5.
 
 
 (-) Robert Krger
 (-) SIGNAL 7 Gesellschaft fr Informationstechnologie mbH
 (-) Brder-Knau-Str. 79 - 64285 Darmstadt,
 (-) Tel: 06151 665401, Fax: 06151 665373
 (-) [EMAIL PROTECTED], www.signal7.de
 




RE: Postgress Performance

2001-01-29 Thread Fink, Paul


Thanks,
  I had tried these with little improvement. After looking at pgbench.c
and reading other comments my conclusion is that postgres is this slow on
doing inserts. The fast means of inserts a lot of data is to use COPY which
is not useful for creating beans.

It looks like my best bet is to ether switch to HSQL or at least
use a combination of Postgres and HSQL.



 -Original Message-
 From: Sach Jobb [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, January 28, 2001 1:42 PM
 To:   Orion-Interest
 Subject:  Re: Postgress Performance
 
 It could be a performance issue with Postgres. By default Postgres uses a
 "paranoid" setting that writes each transaction to disk immediately after
 the transaction is completed. This is done to protect the integrity of the
 database, as at anytime the database could go down and data could be
 lost.
 
 However, when dealing with large numbers of transaction this can severely
 impair performance. So, you can disable it by changing your postmaster
 line to something like this:
 
 postmaster -o -F -D /mypath/to/datadir
 
 You can also get a little speed out of detaching from the tty you started
 it from by using the "-S" switch.
 
 And, of course, in terms of performance when deploying you should really
 tweak the number of backend connections.
 
 Hope that helps.
 
 
 thanks,
 sach
 
 %s/windows/linux/g
 
 
 On Sun, 28 Jan 2001, Paul Fink wrote:
 
  In general Orion and postgres seem to work well together
  but I have a problem with the performance of inserts.
  
  As the size of the table increases the rate at which I can do
  inserts, or bean creates, decreases dramatically.
  
  I have a very simple Alarm entity bean with a single Long 
  as the primary key. Running under Linux on a PIII. When
  I start with an empty table I can create new Alarm beans 
  at a rate of about 40/sec. When the table reaches 10K entries
  the rate is down to 10/sec and continues to drop.
  
   I have the entity bean wrapped by a session bean and I do
  several creates per transaction. The only trick I've found for
  speeding up postgress is the "-o -F" flag which I've done. 
  
  
  
 




Postgress Performance

2001-01-28 Thread Paul Fink



In general Orion and postgres seem to work well 
together
but I have a problem with the performance of 
inserts.

As the size of the table increases the rate at 
which I can do
inserts, or bean creates, decreases 
dramatically.

I have a very simple Alarm entity bean with a 
single Long 
as the primary key. Running under Linux on a PIII. 
When
I start with an empty table I can create new Alarm 
beans 
at a rate of about 40/sec. When the table reaches 
10K entries
the rate is down to 10/sec and continues to 
drop.

I have the entity bean wrapped by a session 
bean and I do
several creates per transaction. The only trick 
I've found for
speeding up postgress is the "-o -F" flag which 
I've done. 




RE: Any news from Orion yet??

2001-01-15 Thread Fink, Paul

Well the best thing about WL is you don't have to worry about support...
There isn't any!!!
No real they have some of the worst support I have ever seen.

 -Original Message-
 From: Santosh Kumar [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, January 15, 2001 12:57 AM
 To:   Orion-Interest
 Subject:  Re: Any news from Orion yet??
 
 Hi kevin,
 As far as i have known WL5.1 or , there is no concept of ear
 files,
 does 6.0 include
 that. Doesn't the J2EE mandate (I am not sure!) the use of EAR =  WAR  +
 JAR
 + CAR(or JAR)?
 To deploy the JPS1.1.1 on Orion, it is a piece of cake, while deploying on
 WLS, i have to
 unpack the EAR files and dis-integrate them which is contrary to the
 essence
 of packaging the ear files,
 Even meddling with the ugly weblogic.properties frustrates one and all. Is
 that true with all WLS users?
 
 Orion is a neat impl of J2EE,  is WLS6.0?
 
 Regards,
 Santosh.
 - Original Message -
 From: Kevin Duffey [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, January 15, 2001 12:07 PM
 Subject: RE: Any news from Orion yet??
 
 
  I am not one to advocate another product, but WL6 looks nice. It is easy
 to
  work with compared to WL5.1. Orion is still the best. JBoss looks very
  interesting as well.
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Neville
   Burnell
   Sent: Sunday, January 14, 2001 2:26 PM
   To: Orion-Interest
   Cc: Orion-Interest
   Subject: FW: Any news from Orion yet??
  
  
   Yes - pls Orion people, publish some news  update Orion ...
  
   We are looking to buy at least 3 licences over the next few weeks if
   everything is ok
  
   Cheers
  
   Neville Burnell
   Business Manager Software
  
   -Original Message-
   From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, 14 January 2001 12:45 PM
   To: Orion-Interest
   Subject: Any news from Orion yet??
  
  
   Hi all,
  
   Has anyone heard from the team lately? I know I saw a post about a
 month
   or
   so ago. Its been about 3 or 4 months since anything has changed on
 their
   site, if not longer and now its getting me worried. I can understand
   them
   trying to organize the company, but did production stop on the app
   server? I
   wish there was some news once every couple of weeks or so from them on
   their
   site letting us know what is happening.
  
   Thanks.
 
 
 
 




create doesn't return my exception

2001-01-08 Thread Paul Knepper

Ever since I updated from Orion 1.2.9 if my ejbCreate fails it always throws
NullPointerException, PrimaryKey was null.  It used to return the exception
that I would throw.  Note this happens in Orion 1.3.8, 1.4.0 and 1.4.4

For example:

public MyPK ejbCreate(...)
throws CreateException
{
MyPK myPrimaryKey = null;

// do the insert
try
{
myPrimaryKey = insertUpdate(...);
}
catch (Exception ex)
{
throw new CreateException("ejbCreate: " + ex.getMessage());
}

return myPrimaryKey;
}

Has anyone else seen this?

Thanks,
Paul Knepper
[EMAIL PROTECTED]





Re: to boldly go where no man has gone before (long)

2000-12-14 Thread Paul Kofon

Simply great Hitesh! I hope that settles it. Now let's get on with the 
business (JSPs, Servlets, EJBs etc.) at hand.

Paul


From: Hitesh Jasani [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: to boldly go where no man has gone before (long)
Date: Thu, 14 Dec 2000 01:51:13 -0500

See comments below 


Hani Suleiman wrote:

  Well
 
  flameproofsuit
  My native language isn't English either, but this IS an English mailing
  list, isn't it? I think it's reasonable that if someone requests help,
  they should at least be able to express their problem coherently. 
They're
 

Yes, absolutely.  They should be able to clearly articulate their issues,
details on their hardware setup, versions of all relevent software (OS, 
system
software, user programs) running on their system (including patch levels,
etc.).  If they haven't detailed all of this in their request, then they 
are
wasting my time since I will have to then query them for this information
piecemeal.

  very unlikely to get help if nobody can understand the problem to start
  with! Mind you, the ejb-interest list really gets 
some.'interestingly
 

In addition, they should be up to date on all of the relevant 
specifications
related to Java2, EJB 1.1  2.0, Servlets, Security, Http, XML, etc.  If 
they
don't have the time to read through these specs and be literate, then I 
don't
have time to answer any of their questions.

  worded' posts and it really does lower the overall quality, IMHO (or at
  least, it's quite an annoyance). Thankfully enough vendors pipe in to
 

I wholeheartedly agree  we should take them out back and flog them 
publicly.




[Flip sarcasm switch to off]

Okay, while I was being sarcastic up above, there is some truth to the fact 
that
when people describe problems on this list it helps if they are literate in
English, explain their hardware/software set up and have some knowledge 
about
the area (EJB, servlets, jsp, etc.) they're having problems.  It seems to 
me
that you've arbitrarily chosen to set the barrier to entry at the level of
English literacy.  Ie. if they're not fluent in English they are an 
annoyance to
you and you don't want to waste your time in answering their questions.  
Well,
what about those who would say that your bar is set too low?  Some people 
would
say that answering a question is not worthwhile unless you've already read 
the
specifications/manuals/sample code/documents multiple times.

Setting a bar that high would make this list more efficient ... but not a 
place
that I would want to frequent.  We're not perfect.  By the grace of God, I 
and
the Internet happened to grow up with English as our primary language.  But
while I struggle to learn a new language, the Internet is soaking up tons 
of new
languages every day.  I can already see the writing on the wall as search 
engine
queries routinely turn up pages in languages other than English.  It won't 
be
long before I may have to be subscribed to a non-English resource and I'll 
then
have to struggle to translate my questions into a language foreign to me.

When that day comes, I hope there are people on the list who are more
understanding than yourself.  The point of this list is that people are 
able to
ask questions and provide responses.  If you don't want to answer any 
questions,
simply ignore those messages.  But don't look down at those who aren't as 
fluent
in English as yourself . unless you yourself wish to be judged.

People on this list have varying levels of fluency in English, Java, EJB, 
http,
etc.  I applaud everyone who is trying to better themselves by expanding 
their
horizons in any and all of these areas.

Life is simple:  Lead and help others, follow and learn or just get out of 
the
way.

Hitesh


   [snip]



_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com





Class-Cast-Exception Error

2000-12-04 Thread Paul Kofon

Hi,

I have a Web application with forms. A servlet updates a database on behalf 
of a JSP. It worked okay until today when some one in my company tried to 
fill and submit one of the forms. He got a class-cast Exception. I was 
amazed because that had never happened. I tried it myself and got the same 
error. I was certain that my application was okay since it had run a couple 
of other times without errors. I stopped Orion and restarted it and the 
error disappeared! Strange I must say.
Is this a known problem with Orion?

Regards,

Paul
_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com





Entity Bean to XML

2000-12-04 Thread Fink, Paul


How can I marshal an entity bean into XML.
I'm trying to use Castor and I can get it to work if I
marshal a dependent object but how can I marshal
the whole entity bean?





Anyone using Orion in production?

2000-11-24 Thread Paul Kofon

Hi,

I'd like to know, is anyone currently using Orion in a production 
environment? The rather high number of issues people report here bothers me 
because I'd like to get serious with a particular EJB server and my opinion 
was that Orion was the right choice because of it's low cost and features.
In addition, I'd like to know if Orion's HTTP server is suitable for 
production work, I really would like to have a unified environment instead 
of having a separate web server for my JSPs and servlets.

Regards,

Paul
_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com





Xerces-J version

2000-10-27 Thread Paul Hammant

Hi,

Does anyone know why OrionServer ships with Xerces version 1.0.3 ?
Apache have this up to version 1.2.1 on their site:

http://xml.apache.org/xerces-j/index.html

-PH





Re: Obtaining an SSL Certificate

2000-10-26 Thread Paul Knepper

Hi,

I've successfully installed a 40-bit Versign Cert.  There was no 128-bit
"Javasoft" Cert available from Verisign.
Does anyone know of a 128-bit Cert that works with Orion.

Thanks,
Paul
[EMAIL PROTECTED]



Re: Obtaining an SSL Certificate


From: Dale Bronk 
Subject: Re: Obtaining an SSL Certificate 
Date: Tue, 29 Aug 2000 05:03:39 -0700 



Did you get a 40-bit or 128-bit cert?  Orion informed me we can use 128-bit
if we get the domestic JSSE from Sun.

Dale





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/.





Code generation error at deployment stage.

2000-10-24 Thread Paul Hammant

Hi,  I have a session bean in a jar that deploys and runs fine in
JBoss.  But when deploying in Orion, I get the following in Orion's
console..

Auto-deploying MyBean-ejb.jar (No previous deployment found)...
MyBean_StatelessSessionBeanWrapper0.java:54: Undefined variable: created

 methodException = EJBUtils.getUserException(e, !created);

(there is a caret ^ under the c of created in the log).

I have no such variable in any of the source, so I guess this is an
internal OrionServer issue...

I am using Orion Server 1.3.8 and JDK 1.3

Regards,

- Paul H





Re: Code generation error at deployment stage.

2000-10-24 Thread Paul Hammant

This is also a bug in Orion Server 1.4.0

- Paul





Choosing a JNDI name for a remote home interface

2000-10-20 Thread Paul Hammant

Hi,

Is it possible to assign a JNDI name to a home interface?  It is
possible with other EJB containers.  e.g. I might want...

"mycompany.RenderFarmHome"

rather than

"java:comp/env/ejb/RenderFarmHome"

This is particularly useful if I have a bean that can be deployed into
JBoss as well as Orion.

TIA,

- Paul H





RE: WinNT 4, SP5/6 and Orion consistently crashing..

2000-10-06 Thread Paul Knepper

We've been running NT4 sp6 and Orion 1.2.9 with jdk 1.2.2 with no problems,
so far...

-Original Message-
From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 10:50 AM
To: Orion-Interest
Subject: RE: WinNT 4, SP5/6 and Orion consistently crashing..


Interesting. I am running Orin on Win2K and JDK 1.3 pretty fine now. Been
1.5 days solid with only a few connection leaks occurring (using our own
connection pool class). Other than that..everything seems fine. I assume SP6
had some bugs in it or something.

 Kevin,
 
 We had regular (once a day) Dr Watsons when using Orion 1.2.9 
 on SP6 and
 JDK1.2.2. We switched to JDK1.3 a couple of weeks ago and the 
 problem has
 gone away.
 
 Regards,
 Rob Hargreaves
 
 
 -Original Message-
 From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
 Sent: 04 October 2000 23:10
 To: Orion-Interest
 Subject: WinNT 4, SP5/6 and Orion consistently crashing..
 
 
 Hi all,
 
 I am not sure why..but it appears that Orion 1.2.9 (and 1.3.7) crashes
 whenever we "remote" into our server to do some work on it. 
 We have NT4 with
 SP5 on one machine, and SP6 on another. I have Orion using 
 run_as_service to
 put it in as a service. Even when I run it as an application, 
 this happens.
 It seems to work fine for a while, then it crashes. I know 
 our code is bad,
 but it seems to me with only 4 people using the thing for 
 testing, it should
 be fine. Has anyone been experiencing problems with Orion 
 crashing on NT
 with SP5 or SP6? Does the remote access do something to the 
 JVM? Its using
 JDK 1.2.2-05 JRE.
 
 On the subject..does anyone know of a Win2K program that will 
 put Java apps
 as services? The run_as_service doesn't appear to work..keeps 
 giving some
 i/o problem.
 
 Thanks.
 




Re:URGENT: HELP: session time out under SSL

2000-10-03 Thread Paul Knepper



Steve,

I'm seeing a similar 
behavior once I've switched to SSL. Session timeout seems to work fine 
non-SSL but times-out in 1-2 minutes with SSL.

Have you come up 
with a solution yet?

Thanks,
Paul


Re: Sybase graphical frontend

2000-09-15 Thread Paul Lawton

We use DBVisualizer from www.ideit.com

A nice little java app for connecting to any jdbc datasource.

Paul

 hi!
 
 Anybody knows a graphical sybase frontend for linux?
 
 []s
 Guiga
 





Re: Looking for Fellow Programmers

2000-09-13 Thread Paul Danckaert
Title: Re: Looking for Fellow Programmers






Hi,

I may have some friends who would be interested in this.  Do you have
any more details I could pass on to them?  

paul




 Original Message 

On 9/13/00, 7:41:10 AM, Neal Kaiser [EMAIL PROTECTED] wrote
regarding Looking for Fellow Programmers:


 Hello,

 First let me apologize in advance if this is not allowed on this
board, but
 let me assure
 you that I am not a head-hunter, just a J2EE programmer who has
received
 more work than he can handle and is looking for help =)

 Anyways ...

 I am looking for experienced programmers that would have some time to
work
 on J2EE based E-Commerce systems.  It would be fun stuff -- online
catalogs,
 forward/reverse auctions, WAP, etc -- and leave lots of room for our
 creative collaboration.  The contracts would probably be for 3
months, with
 the option to extend if everything works out.  It would be helpful,
but not
 necessary, if you are near the Washington DC area.
 I'm specifically looking for programmers familiar with: EJB, JSP,
XML/XSLT,
 WAP, Oracle, JMS, and Orion of course!

 Drop me a note if you are interested/have time!

 Thanks.
 Neal



Re: Help - SSL Usage in Production - is it really possbile?

2000-09-08 Thread Paul Knepper



Karl,

Its been a couple of 
weeks since there was any activity on this thread.

I am now ready to 
get my beta site ready for deployment and need to get 128-bit SSL working with 
Orion. Is this possible?

Thanks,
Paul 
Knepper




Re: Help - SSL Usage in Production - is it really possbile?



  From: Karl Avedal 
  Subject: Re: Help - SSL Usage in Production - is it really possbile? 
  Date: Wed, 23 Aug 2000 10:47:01 -0700 

Hello Mike,

We're currently making sure that Thawte will have an Orion option for the purchase
to make it easier to get a cert (and we'll work with Verisign too).

We are also creating a guide to show how you can get a 128 bit or 40 bit production
license.

Regards,
Karl Avedal

Mike Clark wrote:

 Unfortunately, that cert is no longer available from Thawte.  We're still out of
 business with Orion using a production SSL certificate.

 What gives?

 Mike

 Mattias Arbin wrote:

  I have Orion running with a "real" 40-bit cert from Thawte.
  I guess it does not matter which web-server you say you have. Probably it is
  for statistics. (I chose Java Webserver).
  You will be able to choose from a number of different formats when you
  download the cert.
  Here I chose "PKCS #7 Certificate Chain". Make sure that you save it in a
  file that ends with a new line before importing it to the keystore.
  Good luck.
  /Mattias
 
  - Original Message -
  From: "Mike Fontenot" [EMAIL PROTECTED]
  To: "Orion-Interest" [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Friday, August 18, 2000 10:50 PM
  Subject: Help - SSL Usage in Production - is it really possbile?
 
   orion users,
  
   I've been using the test certificate from Thawte, as both the orion docs.
   and the OrionSupport suggested. That has been working fine. However, I am
   now ready to move to production with our e-commerce system and I have run
   into some major snags that leads me to think NO one is using Orion in a
   production SSL environment.
  
   After going through the Thawte process for getting a server cert, the
  'pick
   your web server' does not list Orion. After talking with Thawte support
  they
   suggested picking 'Apache SSL' as a choice. Ok, that seems fine to me.
   However, they also said I would need to pick the certificate type: x509v3.
  
   Since I've been using the 'SSL Chained CA Cert' for development, I wanted
  to
   try this out with a development cert to be sure it would work. I tried
  this
   using a X509v3 development cert but it will not work. Again, after getting
   back in touch with Thawte support regarding X509v3 not working, I said I
   will need to just use the 'SSL Chained CA Cert'.  They then informed me
  that
   they no longer sell this type of certificate, and that I must go to
  Verisign
   to obtain this type of certificate. Well, my first question to Thawte was
   'If you dont sell this type of certificate, why is it available on your
   developers cert pages?' Answer from Thawte: 'Yeah, I've been meaning to
  talk
   to our developers to take that off the website.'.
  
   Guess how much hair I've lost so far!?  Now I am in the 'process' of
  getting
   a certificate from Verisign. Of course they do not have 'Orion Server'
   listed in their pick list of valid webservers. Since I just started this
   process today I really dont know if they can/cannot support the type of
  SSL
   certificate I will need to work with Orion.
  
   I'll be the first to admit I'm not real familiar with the Java 1.3
  keytool,
   and different certificate meanings. But, if anyone has really obtained a
   valid production level SSL certificate, from any Certificate Authority,
  and
   successfully integrated this with Orion, please let me/us know how this
  was
   accomplished. The only docs I've see are related to development certs, and
   as I stated earlier, I've got this working fine. I now need to graduate to
   real e-commerce transactions. Please dont make me go back to Apache/JRun,
  I
   feel Orion is so much better but this is a real show-stopper. I have
  looked
   through the orion mail archives and it seems all discussions are related
  to
   trying to get the developer certs to work, not production certs.
  
   Thanks in advance,
   Mike
  
   
   Mike Fontenot - Object Systems Architect
   BrandMatrix, Ltd.
   Golden, Colorado
   
  

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



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:

data-source
class="com.evermind.sql.ConnectionDataSource"
name="MsSQL"
location="jdbc/MsSQLCoreDS"
pooled-location="jdbc/MsSQLPooledDS"
xa-location="jdbc/xa/MsSQLXADS"
ejb-location="jdbc/MsSQLDS"
connection-driver="com.inet.tds.TdsDriver"
username="user"
password="user"
url="jdbc:inetdae:[your ip addr]?database=[your dbname]"
inactivity-timeout="30"
/


-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:
  
  
  data-source
   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()) {
  %
  tr
   td%= i++ %/td
   td%= rs.getString(4) %/td
  /tr
  %
  }
  
  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





EJB finder methods.

2000-08-28 Thread Noble Paul

Where do I specify my own finder methods in my entity bean.
_
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.





EJB stub classes and stand-alone remote java client

2000-08-22 Thread Paul Knepper





I've been 
trying to get my standalone java client to access EJBs on a remote machine, but 
with no luck.I've deployed a J2EE 
application with my EJBs in it. But I can't figure out how to generate the 
stub classes.

I can't find 
the Orion tool to generate the stub classes that the client would normally 
reference from the CLASSPATH(as described in "Java 2 Enterprise 
Edition Developer's Guide" page 95). 
How do you generate the stub 
classes that enable the client to communicate with the enterprise bean? 
This is a simple thing to do with the deploytool that comes with Sun's J2EE 
Reference Implementation.During 
deployment you simply select a checkbox labelled "Return client Jar" when 
you deploy the application.

I don't 
understand how the client can resolve the EJB classes if you don't have the 
client stubs to include in your CLASSPATH. 
I keep getting a 
java.lang.ClassNotFoundExceptionexception. 

Also, what else do I need to deploy to my client 
machine, just orion.jar?


Thanks,
Paul 
Knepper
[EMAIL PROTECTED]




RE: EJB stub classes and stand-alone remote java client

2000-08-22 Thread Paul Knepper


The "home" class wasn't found.

I followed the directions from the reply from Torgier Lerker (Thanks
Torgier) and things work fine now. I jar'ed up the home and remote
interfaces and deploy them with my client everything works fine.

Are you saying that I don't even need to do that?

Thanks,
Paul

-Original Message-
From: Frank Eggink [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 12:17 PM
To: 'Paul Knepper'; Orion-Interest
Subject: RE: EJB stub classes and stand-alone remote java client


Hi Paul,

I just dropped an example in the mailing list. For some reason Orion does
not need
you to generate stubs. I do not fully understand how they get away with
that. Wrt. your
ClassNotFoundException, which class can't be found?

It could be a bogus setting in the jndi properties or a bogus
application-client.xml?

Frank

On Tuesday, August 22, 2000 4:37 PM, Paul Knepper
[SMTP:[EMAIL PROTECTED]] wrote:
 I've been trying to get my standalone java client to access EJBs on a
remote
 machine, but with no luck.  I've deployed a J2EE application with my EJBs
in
 it.  But I can't figure out how to generate the stub classes.
  
 I can't find the Orion tool to generate the stub classes that the client
 would normally reference from the CLASSPATH  (as described in "Java 2
 Enterprise Edition Developer's Guide" page 95).  How do you generate the
 stub classes that enable the client to communicate with the enterprise
bean?
 This is a simple thing to do with the deploytool that comes with Sun's
J2EE
 Reference Implementation.  During deployment you simply select a checkbox
 labelled "Return client Jar" when you deploy the application.
  
 I don't understand how the client can resolve the EJB classes if you don't
 have the client stubs to include in your CLASSPATH.  I keep getting a
 java.lang.ClassNotFoundException exception.  
  
 Also, what else do I need to deploy to my client machine, just orion.jar?
  
 Thanks,
 Paul Knepper
  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
  
  
   File: ATT0.html  




Specifying the classpath in Cocoon when running under Orion?

2000-07-01 Thread Paul Lawton

After this recent post:

 in jserv.properties

 wrapper.classpath=C:\jdk1.1.8\lib\classes111.zip --specify the path where
 your classes111.zip is


It shows how to set the classpath for Cocoon running under JServ.  Does
anyone know how to set the classpath for Cocoon when running under Orion?  I
need Cocoon to see my EJB's at runtime.

Paul






Re: Specifying the classpath in Cocoon when running under Orion?

2000-07-01 Thread Paul Lawton

 Paul,

 There are two possibilities to your question:

 The first is giving additional class assess to the EJB's themselves, in
this
 case I added classes111.zip (to allow the EJB's to access Oracle directly)
 to the startup of the Orion server like so:

 export CLASSPATH=orion.jar:/home/jack/oracle/classes111.zip

 and then start Orion by running the class directly like so:

 java com.evermind.server.ApplicationServer

 because if I run it via the "java -jar" it will not see the classpath
 environment variable.
 Perhaps there is a better way to do this?


You are right in it not being ideal but it has certainly helped to point me
in the right direction.

I have set the classpaths to include all the classses needed for my EJB's
and using "java com.evermind.server.ApplicationServer" to start Orion - it
has succesfully allowed me to get Cocoon to recognise my EJB classes.

I think what I need to do now is include the correct paths in the Orion
classpath loader so that java -jar orion.jar will work. Adding the paths to
library path="blah" in server.xml doesn't appear to work - but that's
another problem for another day! Anyone know how to get Orion to recognise
the classpath when using java -jar orion.jar?

Thankyou so much for this info - I can now have a nice productive afternoon
developing my Cocoon producer!  :)

Paul







JSP: sourcejava.lang.InternalError: jzentry == 0

2000-05-30 Thread Paul Lawton

Can anyone explain the following error please?

server.xml contains:
application name="testingpage" path="../demo2/page/" /
default-web-site.xml contains:
web-app application="testingpage" name="webby" root="/pageweb"/

and I have a page index.jsp at
demo2/page/webby/index.jsp   which only contains a line of text "this is a
test page" - no jsp at all.

When I access the index.jsp page at http://localhost/pageweb/ I get the
following error shown below. (accessing .jsp pages from the default web
directory is fine though). I did have some ejb's deployed but have removed
them - and I'm still getting the error.

500 Internal Server Error
Error parsing JSP page /index.jsp

Syntax error in sourcejava.lang.InternalError: jzentry == 0
 at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
 at sun.tools.java.ClassPath.getFiles(ClassPath.java:183)
 at sun.tools.java.Package.exists(Package.java:94)
 at sun.tools.java.Imports.resolve(Imports.java:146)
 at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1075)
 at
sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:133
)
 at sun.tools.javac.Main.compile(Main.java:500)
 at sun.tools.javac.Main.main(Main.java:729)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.evermind.compiler.j2.aof(JAX)
 at com.evermind.compiler.j4.run(JAX)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.evermind.compiler.j3.o9(JAX)
 at com.evermind.compiler.j2.o9(JAX)
 at com.evermind.server.http.dm.qg(JAX)
 at com.evermind.server.http.dm.o9(JAX)
 at com.evermind.server.http.JSPPage.o9(JAX)
 at com.evermind.server.http.HttpApplication.sj(JAX)
 at com.evermind.server.http.HttpApplication.te(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.de.o6(JAX)
 at com.evermind.server.http.de.forward(JAX)
 at com.evermind.server.http.dl.pc(JAX)
 at com.evermind.server.http.dl.pb(JAX)
 at com.evermind.util.e.run(JAX)
error: An error has occurred in the compiler; please file a bug report
(http://java.sun.com/cgi-bin/bugreport.cgi).
1 error

I've tried deploying this on another machine with orion 1.0 rc1  and also
1.0 rc2
Any help would be appreciated.

Paul





Re: sourcejava.lang.InternalError: jzentry == 0

2000-05-30 Thread Paul Lawton

Ok I've sussed how to fix it - but not the reason for it.

I had some .jar files in the WEB-INF/lib directory - after removing
xerces.jar - it works fine.

 Syntax error in sourcejava.lang.InternalError: jzentry == 0
  at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
  at sun.tools.java.ClassPath.getFiles(ClassPath.java:183)
  at sun.tools.java.Package.exists(Package.java:94)
  at sun.tools.java.Imports.resolve(Imports.java:146)
  at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1075)
  at

sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:133
 )
  at sun.tools.javac.Main.compile(Main.java:500)

Paul






unsubscribe

2000-03-14 Thread Paul Gayeski

unsubscribe



Unsubscribe

2000-02-22 Thread Paul Gayeski

Unsubscribe

Thanks, Paul