RE: help...servlet claspath

2000-11-19 Thread Alex S

I did something like this, because I had my own classes I would create
that were used by Servlets, but not exclusively.  All I did was specify
the path in my system CLASSPATH environment variable.  As long as that was
specified in the environment that Orion started in, it seemed to work just
fine.

-Alex


On Fri, 17 Nov 2000 16:07:22 +0100, J.T. Wenting wrote:

 I think he means the classpath not for servlets but for external resources
 like beans.
 The default place for this is /orion/lib and web-app/WEB-INF/classes, but
 is it possible to set other locations and if so, how to do it?
 
 Jeroen T. Wenting
 [EMAIL PROTECTED]
 
 Murphy was wrong, things that can't go wrong will anyway
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Sven van 't
  Veer
  Sent: Friday, November 17, 2000 14:29
  To: Orion-Interest
  Subject: Re: help...servlet claspath
 
 
 
 
  Edmund Cheung wrote:
  
   Hi,
  
   In weblogic, I defined the servlet classpath in the weblogic
  properties file
   as follow;
  
   weblogic.httpd.servlet.classpath=D:/weblogic/myserver/servletclasses
  
  weblogic.httpd.register.UserManagerController=servlet.UserManagerC
  ontroller
  
   In my jsp, I call thsi servlet name
   form method="post" action="/UserManagerController"
  
   In Orion,  I defined the following in web.xml but where should
  I define the
   classpath for servlet ?
  
   servlet
 servlet-nameUserManagerController/servlet-name
 descriptionUser manager controller/description
 servlet-classservlet.UserManagerController/servlet-class
  ..
   /servlet
  
   Thanks  reagrds,
  
   Edmund
  Actually you don't have to do anything in Orion. Just putting the
  classfile for the servlen in
  orion/applications/your_app/your_app-web/WEB-INF/classes
  makes the servlet available to Orion by calling:
  http://localhost/servlet/YourServlet
 
  sven
 
  --
  ==
  
  Sven E. van 't Veer
  http://www.cachoeiro.net
  Java Developer
  [EMAIL PROTECTED]
  ==
  
 
 
 






webdav

2000-11-19 Thread Joe Peer

hi!

i just wondered if there are any plans in supporting the WebDav protocol -
or would you recommend using apache as frontend and orion as backend in that
case?

thanks
joe peer





___
Tired of slow Internet? Get @Home Broadband Internet
http://www.home.com/xinbox/signup.html





Re: OFF TOPIC: Jdbc Driver for MS SQL server?

2000-11-19 Thread MacGill

G'Day

I have used a few and am currently evaluating jturbo and am considering
purchasing it
www.jturbo.com

I had problems with opta2000 and orion, on the driver side.

Hope that helps

Fiona


Joe Peer wrote:

 Hi everybody!

 sorry for this off topic message, but i know that this list is used by some
 very experiences J2EE devs and so i couldn't resist to ask a question:

 my problem is that i am forced to use ms sql server for a project and now I
 am looking for a good driver available for MS SQL Server 7

 by "good" I mean:
 - good performance
 - good stability (no or little bugs)
 - good api compliance (jdbc 2.0+ preferred)

 I am currently evaluating i-net SPRINTA(tm) 2000 Driver Version 3.04
 but before i pay the $999 i would like to hear some comments from people
 (maybe some people use other drivers they could recommend)

 any hint would be highly appreciated!
 thanks,
 joe peer

 ___
 Tired of slow Internet? Get @Home Broadband Internet
 http://www.home.com/xinbox/signup.html





Why's www.orionserver.com down so often?

2000-11-19 Thread Gerald Gutierrez


I frequent the Orion web site daily looking for information. And 
frequently, it's down. The computer itself is not down, because I can ping 
it and I can scan it (see below), but the web server (which I assume is the 
Orion server) is, many times, not running. Is this representative of the 
up-time I can expect if I go into production with this application server?


The scan below, 9am PST on 2000-11-19.



Starting nmap V. 2.53 by [EMAIL PROTECTED] ( www.insecure.org/nmap/ )
Interesting ports on  (195.84.237.197):
(The 1508 ports scanned but not shown below are in state: closed)
Port   State   Service
7/tcp  filteredecho
21/tcp openftp
22/tcp filteredssh
23/tcp filteredtelnet
68/tcp filteredbootpc
98/tcp openlinuxconf
110/tcpopenpop-3
113/tcpopenauth
137/tcpfilterednetbios-ns
138/tcpfilterednetbios-dgm
139/tcpfilterednetbios-ssn
143/tcpopenimap2
520/tcpfilteredefs
1080/tcp   filteredsocks
3306/tcp   openmysql

TCP Sequence Prediction: Class=random positive increments
  Difficulty=3518968 (Good luck!)
Remote operating system guess: Linux 2.1.122 - 2.2.14





Common servlets in multiple WAR modules

2000-11-19 Thread Gerald Gutierrez


I have multiple WAR modules that both use a common servlet. I noticed that 
the ATM example duplicates its taglib JAR files in the atm-wap and atm-web 
modules. Should I be duplicating the Java class files for the servlet in 
the different WAR modules as well?





WAR contexts in application.xml and default-web-site.xml

2000-11-19 Thread Gerald Gutierrez


What is the difference between the war-module context paths (the URL paths) 
that are specified in application.xml (context-root="...") and 
default-web-site.xml (root="...")? If I've already specified it in the 
J2EE-standard way, must I do it again in default-web-site.xml?

Assuming that I must, I'm also confused by what the actual context root 
will be after I've defined it both ways. In the ATM example, 
application.xml has "/atm" for all three of its atm-web, atm-wap and 
atm-doc war modules. BUT the instructions say that the atm-web module 
should be bound to Orion using

web-app application="atm" name="atm-web" root="/atm" /

and the atm-wap module bound using

web-app application="atm" name="atm-wap" root="/atmwap" /

So does this mean that Orion just ignores the values in application.xml and 
uses the ones in default-web-site.xml?







HELP. Strange Database Connecton error.

2000-11-19 Thread listhub

OK list i need help.  

This is kind of subtle so please read the whole message before responding.  This
certainly points to something I do not understand about Orion data-source
configuration.

I am getting an error from Oracle upon table creation.  Here is the text of the
error back from Orion:

Starting Orion
Auto-deploying addressbook (New server version detected)...
Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL error:
Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(ERR=12505)(ERROR_STACK=(ERROR=(CODE
=12505)(EMFI=4
Warning: Error creating table: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(ERR=12505)(ERROR_STACK=(ERROR=(CODE
=12505)(EMFI=4
done.
Orion/1.3.8 initialized

Looking up ERR=12505, Oracle tells me this is a problem with SID resolution.

tnsnames.ora looks fine, indeed the entry was created by Net8 Easy Config.  In
addition the following JDBC code:

 
public class JT {
public static void main(String[] args){
String url = "jdbc:oracle:thin:@zaragoza:1521:oradbb";
try {
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();;
Connection conn = DriverManager.getConnection(url, "jdev", "deal");
Statement stmt = conn.createStatement();
stmt.execute("create table duff (first varchar(6), 
next varchar(5))"); 
}
catch (SQLException ex) {
System.out.println("SQL Exception.");
ex.printStackTrace();
}
catch (Exception ex) {
System.out.println("Just a plain bummer.");
ex.printStackTrace();
}
}
}

creates a table just fine using the same SID and tnsnames.ora entry.

To make this all more confusing, I am trying to connect to Oracle on a dual
boot Linux/NT system. The Linux SID is oradba.  The NT SID is oradbb. 
Naturally I am only trying to connect to the NT Oracle when NT is booted and
visa versa.  The Linux side works fine, it is the NT entry that gives the
error.  Both Oracle installations are 8.1.5.  The only difference is that on the
NT side the user is given DBA privledges and is creating tables in the system
rollback segment whereas on the Linux side there is a separate "development"
rollback segment.  I have been posting this to the Oracle list (with no
answers forthcoming) until I wrote the JDBC code snippet I post above.  The
fact that this code creates tables where Orion does not tends to make me think
it is a Orion config issue.  Here are the entries from my Orion config files.  I
understand that this is not the optimum place for the default-data-source
attribute tag but that is a separate thread.

ORION_HOME/config/server.xml (the default-data-source tag is toggled between
the Linux SID and the NT SID:


?xml version="1.0"?
!DOCTYPE application-server PUBLIC "Orion Application Server Config"
"http://www.orionserver.com/dtds/application-server.dtd"

application-server
application-directory="../applications"
deployment-directory="../application-deployments"

rmi-config path="./rmi.xml" /
!-- JMS-server config link, uncomment to activate the JMS service --
!-- jms-config path="./jms.xml" / --
principals path="./principals.xml" /
log
file path="../log/server.log" /
/log

global-application name="default" path="application.xml" /

global-web-app-config path="global-web-application.xml" /
web-site path="./default-web-site.xml" /

!-- Compiler, activate this to specify an alternative compiler such
as jikes for EJB/JSP compiling. --
!-- compiler executable="jikes" classpath="/myjdkdir/jre/lib/rt.jar"
/ --

application name="orion-primer" 
path="/home/jna/Java/EJB_learn/orion-primer/rel/orion-primer.ear" /
 
!-- CMP Applications on NT --
application name="addressbook"
path="/home/jna/Java/EJB_learn/addressbook/build/addressbook.ear"
default-data-source="jdbc/AndanteOracleNT" /


/application-server

ORION_HOME/config/data-sources.xml:


?xml version="1.0"?
!DOCTYPE data-sources PUBLIC "Orion data-sources"
"http://www.orionserver.com/dtds/data-sources.dtd"

data-sources

!--
An example/default DataSource that uses an ordinary
JDBC-driver (in this case hsql) to create the connections. 
This tag creates all the needed kinds
of data-sources, transactional, pooled and EJB-aware sources.
The source generally used in application code is the "EJB"
one - it provides transactional safety and connection pooling.
--

data-source
class="com.evermind.sql.DriverManagerDataSource"
name="AndanteOracleLinux"
  

Re: ORION and VAJ?

2000-11-19 Thread Christian Sell

 containers, Orion, Jboss, Dynamo, is either very limited or impossible.
At
 this point I have dropped back to the old editor/makefile/external
debugger
 method of development using emacs/ant/and one of a number of external
 debuggers, none of which are that much better then System.out.println().

Are you referring to JPDA-enabled debuggers when you mention "external
debuggers"? I think JPDA-debugging (connecting via sockets) is great. It
saves me from having to import or install the application into my IDE, and I
dont see any convenience missing. Netbeans works great with this





RE: JNDI Properties for Orion and EJB?

2000-11-19 Thread Duffey, Kevin

That I understand. What I Don't get is why its needed? If I set up a cluster
of front-end jsp/servlet, and a cluster of ejb servers, because they are all
using Orion, I want my front-end servlets to access the middle-tier ejbs.
For this..do I need JNDI properties to find the EJBs? Or..as I think I
understood from some others..because they are all running Orion, this is not
needed, and I only have to do a Context context = new InitialContext();
xxx.lookup("..."); and so on like all the examples I see? I am not talking
about a client outside the scope of a web-app, that I understand you need
the jndi properties. I mean..inside my web-app, but not running on the same
server (or the same cluster), will I have to use jndi properties or not?

Thanks.


 -Original Message-
 From: Tim Endres [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 16, 2000 1:41 PM
 To: Orion-Interest
 Subject: Re: JNDI Properties for Orion and EJB?
 
 
  Hi there,
  
  I read in my EJB book that CTM's require vendor specific 
 JDNI properties. I
  thought EJB was platform/vendor independent? What are these 
 JNDI properties
  for? More importantly..when/why are they used? I see in the 
 example EJB's
  with Orion that they all have a jndi.properties file, yet I 
 am not quite
  sure how to understand them.
 
 The JNDI properties is what helps make your code EJB independent.
 
 The file specifies the information specific to access your 
 EJB container's
 namespace. By putting this information (factory class, 
 principal (user),
 credentials (password)) in the properties file, you avoid 
 hard-coding it.
 
 tim.
 




Re: RP: JMS messages to autostarted clients

2000-11-19 Thread Cory Adams

How are you autostarting your bean?  Is it operating as a daemon within
Orion or is it a Servlet?

Sorry I could not help with your post

Thanks,

Cory

At 12:54 AM 11/15/00 -0500, Vidur Dhanda wrote:
Hello,

I didn't hear from anyone on this and have posted this as a bug against
1.4.4. -- Bug 188.  I'm really interested in hearing others' opinions on
this subject.

Vidur

-
Hello,

I just installed 1.4.3.  The good news is that my previous problems with

JMS subscribers, when running as auto-started clients, not getting
messages delivered is resolved.  However, it appears that the
auto-started client's message handler (onMessage()) is invoked within
the transaction context of the publishing EJB call.  Is this expected
behavior?  I would think that the message handlers would be invoked
outside of the transaction. If this is expected behavior, how can I
design around it?

Here's a stacktrace that shows the calls (the non-reentrant exception, I

believe, is an artifact of the problem) The flow is that the EntityBean
(datawatchItemBean), in its postCreate publishes a message and an
auto-started client (DataWatchEngine) subscribes to these messages.

I'm not an expert on JMS (barely getting started with messaging) and
would appreciate all help.

Thanks,
Vidur

com.evermind.server.rmi.OrionRemoteException: Recursive call to
non-reentrant be
an
at com.evermind.server.ejb.AbstractEJBObject.startCall(JAX)
at
DataWatchItem_EntityBeanWrapper18.getDataWatchEntry(DataWatchItem_Ent
ityBeanWrapper18.java:1014)
at
com.epistemic.km.server.DataWatchEngine$NotificationHandler.onNotify(
DataWatchEngine.java:195)
at
com.epistemic.km.server.ServerNotificationListener$MessageListenerImp
l.onMessage(ServerNotificationListener.java:30)
at com.evermind.server.jms.ct.lr(JAX)
at com.evermind.server.jms.cu.lr(JAX)
at com.evermind.server.jms.EvermindTopicConnection.l8(JAX)
at com.evermind.server.jms.JMSServer.lq(JAX)
at com.evermind.server.jms.ch.k9(JAX)
at com.evermind.server.jms.cu.l5(JAX)
at com.evermind.server.jms.cv.publish(JAX)
at com.evermind.server.jms.cv.publish(JAX)
at com.epistemic.km.server.Notifier.publish(Notifier.java:87)
at
com.epistemic.km.server.Notifier.notifyCreate(Notifier.java:101)
at
com.epistemic.km.server.DataWatchItemBean.ejbPostCreate(DataWatchItem
Bean.java:69)
at
DataWatchItemHome_EntityHomeWrapper51.create(DataWatchItemHome_Entity
HomeWrapper51.java:506)
at
com.epistemic.km.server.DataWatchServiceBean.addWatch(DataWatchServic
eBean.java:110)
at
DataWatchService_StatelessSessionBeanWrapper8.addWatch(DataWatchServi
ce_StatelessSessionBeanWrapper8.java:138)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.bf.do(JAX)
at com.evermind.util.f.run(JAX)








New article: Running Orion on FreeBSD

2000-11-19 Thread Joe Walnes

Justen Stepka has kindly written this how-to about running Orion on FreeBSD.

http://www.orionsupport.com/articles/freebsd.html

-Joe Walnes





ORMI provide DGC?

2000-11-19 Thread Andrej Gabara
Title: ORMI provide DGC?






Does Orion's implementation of RMI (since it is not based on IIOP) provide
distributed garbage collection? If not, how are remote objects cleaned up
if a client terminates (without causing a SocketException in the connection
thread)?


Thank's
Andrej



 Andrej Gabara [EMAIL PROTECTED] (408) 543-4452
 Kintana, Inc. http://www.kintana.com (408) 752-8460 FAX






Re: ORION and VAJ?

2000-11-19 Thread listhub

Thanks for the comment Christan.  In the past week I have found bugseeker. 
Nice frount end to the JPDA API.  This may just be the last part of what I was
looking for.

Thanks for all the comments.
john

On 17-Nov-00 Christian Sell wrote:
 containers, Orion, Jboss, Dynamo, is either very limited or impossible.
 At
 this point I have dropped back to the old editor/makefile/external
 debugger
 method of development using emacs/ant/and one of a number of external
 debuggers, none of which are that much better then System.out.println().
 
 Are you referring to JPDA-enabled debuggers when you mention "external
 debuggers"? I think JPDA-debugging (connecting via sockets) is great. It
 saves me from having to import or install the application into my IDE, and I
 dont see any convenience missing. Netbeans works great with this
 

--
E-Mail: [EMAIL PROTECTED]
Date: 19-Nov-00
Time: 18:03:18

This message was sent by XFMail
--




RE: Why's www.orionserver.com down so often?

2000-11-19 Thread listhub

And I also frequently see that messages to this list get returned with a
"server unreachable" error.

john
On 19-Nov-00 Gerald Gutierrez wrote:
 
 I frequent the Orion web site daily looking for information. And 
 frequently, it's down. The computer itself is not down, because I can ping 
 it and I can scan it (see below), but the web server (which I assume is the 
 Orion server) is, many times, not running. Is this representative of the 
 up-time I can expect if I go into production with this application server?
 
 
 The scan below, 9am PST on 2000-11-19.
 
 
 
 Starting nmap V. 2.53 by [EMAIL PROTECTED] ( www.insecure.org/nmap/ )
 Interesting ports on  (195.84.237.197):
 (The 1508 ports scanned but not shown below are in state: closed)
 Port   State   Service
 7/tcp  filteredecho
 21/tcp openftp
 22/tcp filteredssh
 23/tcp filteredtelnet
 68/tcp filteredbootpc
 98/tcp openlinuxconf
 110/tcpopenpop-3
 113/tcpopenauth
 137/tcpfilterednetbios-ns
 138/tcpfilterednetbios-dgm
 139/tcpfilterednetbios-ssn
 143/tcpopenimap2
 520/tcpfilteredefs
 1080/tcp   filteredsocks
 3306/tcp   openmysql
 
 TCP Sequence Prediction: Class=random positive increments
   Difficulty=3518968 (Good luck!)
 Remote operating system guess: Linux 2.1.122 - 2.2.14
 

--
E-Mail: [EMAIL PROTECTED]
Date: 19-Nov-00
Time: 18:01:24

This message was sent by XFMail
--




autoupdate errors

2000-11-19 Thread Saphari.com - www.saphari.com

i have been trying to autoupdate orion for sometime now
and have been unsuccessful.  i am using 1.4.0 and trying
to get to 1.4.4.  i use the java -jar autoupdate.jar to
update.  the only thing that happens is the says:
"Sending fileinfo to server ", but no files get
updated.  did something change?  is anyone else having
the same trouble?  where can i find a zip file of 1.4.4?

artie




Re: orion server works with jdk 1.3???

2000-11-19 Thread Santosh Kumar

Sorry for a very late reply,

Kemp seems to have a very lengthy, painful solution while the actual
workaround is just too simple. Somebody mentioned that the problem is in the
registry. Yes! He got it right. Just type REGEDIT and modify the current
version
as shown in the attachement. Look at the attachment picture i have sent.

Just replace CurrentVersion to 1.3 (If not 1.3)

Regards,
Santosh.

- Original Message -
From: Kemp Randy-W18971 [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, November 14, 2000 8:08 PM
Subject: RE: orion server works with jdk 1.3???


I ran into the same problem with other Java software and reinstalling JDK1.3
resolved everything.

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 3:50 AM
To: Orion-Interest
Subject: Re: orion server works with jdk 1.3???


At 09:16 14.11.00 , you wrote:
hi,

I used to work with orion server with jdk 1.2.2. Recently I installed jdk
1.3 and uninstalled jdk 1.2.2. Now I am not able to start orion server. I
get the error message saying that could not find version number 1.3 for
jre in program files/java soft/jre.

any idea?

has nothing to do with orion. it's something with your registry being
screwed up by installing/uninstalling, typical M$ problem. I've had that a
ages ago but don't remember the solution :-(.

robert

thanks in advance.

krishna
_
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.



(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de




 versionNumNotFound.gif


How do I get the RoleManager?

2000-11-19 Thread Tim Endres

I can not get the RoleManager. I have tried to use:

   RoleManager roleMgr = (RoleManager)
  (new InitialContext()).lookup( "java:comp/RoleManager" );

as I have seen others mention on the mailing list. No matter
what I try, I get only the NameNotFoundException. What is the
trick to getting the RoleManager?

I am using my own UserManager (extends AbstractUserManager),
if that makes a difference. The UserManager appears to be
working fine.

TIA,
tim.