List errors

2001-10-23 Thread Jeff Schnitzer

Does anyone else get You do not have permission to send to this
recipient. When attempting to send mail to this list?

Of course, if you're reading this, then it's allowing me to send *some*
traffic...

Jeff




[ANNOUNCE] Fast Track to MVC / JSP Framework Public Workshop

2001-10-23 Thread Vic Cekvenich

!- - commercial
*Master Struts in three Days! *

The date is fast approaching.


Join our workshop and discover how the MVC/J2EE platform provides a 
number of benefits for organizations developing intranet and Internet 
applications. MVC designs require that you separate the presentation 
tier from the data access tier and your application be the 3rd tier.

For more on MVC click on:

http://java.sun.com/j2ee/blueprints/introduction/summary/index.html


This is the first MVC and JSP public training class. The framework we 
will be learning is open standard Struts. For more on Struts and related 
technologies, click on:

http://jakarta.apache.org


You will master Struts in three days in Dallas ( 
http://www.wyndham.com/Anatole), starting Dec. 2nd. This class is for 
trainers who will teach this class in the future, but a limited number 
of students are also permitted.

Trainers will be able to establish themselves as leaders in the 
upcoming technology. Students will upgrade their skills and become more 
marketable as well as learn proper development techniques.

For more information, including a list of topics and details on 
registration, please click on:

http://www.basebean.com


What Will be Covered:

*  DB Connection /Warm-up with JDBC and RowSet
   
*  Test Framework and RDBMS, Install Struts
   
*  Retrieving Data from SQL to Struts

*  OO Based Development and Extension

*  Drill Down from Screen-to-Screen
   
*  Data Entry Crud, Update, Insert and Delete

*  Master Detail Processing

*  Security Based on DB Roles

*  Portal Tiles (build real portal applications w/ layout for
headers and footers)

*  Menu - Build a Struts Menu for Navigation

*  Deployment


You will  discover why flexibility is enhanced by using MVC/J2EE 
architecture in conjunction with a SQL database. This is the first and 
only public MVC/JSP class of its kind. We will learn to utilize applied 
technology toward solving business problems.

Tomcat is used for development, then we deploy to OrionServer.

/ Open standards are an alternative to MS .NET./









setting up data-source: no cmt-dataSource/ejb-datasource

2001-10-23 Thread Alexey Alexapolsky




Hello 
guys,I've installed Orion to my system and trying to run 
hello-world app. It's using a simple CMP bean. I need to connect it to ODBC 
datasource. How do I create a datasource in data-sources.xml for existintg ODBC 
datasource ?This is what I have in data-sources.xml , but my Orion screen returns"Auto-deploying 
User-ejb.jar (orion-ejb-jar.xml had been updated since the previous 
deployment)... Error compiling 
file:/C:/j2ee/orion/applications/User/User-ejb.jar: jdbc/RegForm did not 
contain a cmt-dataSource/ejb-datasource"

Thanks in 
advance,Alexdata-source 
class="com.evermind.sql.DriverManagerDataSource" 
name="RegForm" xa-location="jdbc/xa/RegForm" 
ejb-location="jdbc/ejb/RegForm" location="jdbc/RegForm" 
connection-driver="sun.jdbc.odbc.JdbcOdbcDriver" username="" 
password="" url="jdbc:odbc://localhost/RegForm" 
inactivity-timeout="30"/

data-source 
class="com.evermind.sql.ConnectionDataSource" 
location="jdbc/RegForm"nameRegForm/namedescription 
RegForm SQL 
source./descriptionurljdbc:odbc:RegForm/urlconnection-driversun.jdbc.odbc.JdbcOdbcDriver/connection-driverusername/usernamepassword/password/data-source


Shutdown server

2001-10-23 Thread Ales MILAN



Hi, I have problem with shutdown my Orion 
server.
When I executeshutdowncommand then 
Orion server writeto the console these messages:

Orion Pooled 
jdbc:interbase://localhost/d:/databases/cocacola.gdb: Cache timeout, closing 
connection (Pool size: 0)jdbc/InterBaseDS: Cache timeout, closing connection 
(Pool size: 0)
Shutting down...

java.lang.NumberFormatException: 
at 
java.lang.Integer.parseInt(Integer.java:414) 
at 
java.lang.Integer.parseInt(Integer.java:463) 
at com.evermind._cm.run(.:143) at 
java.lang.Thread.run(Thread.java:484)

and wait and wait and wait.

Doesanybody knowwhat is 
it?

Thank's for for help.

Ales MILAN


RE: Can't get 2nd web module's servlet-map to register

2001-10-23 Thread Curt Smith

An interesting requirement of J2EE is that external clients
need to run in current working directory where there's
a subdirectory and file of: META-INF/application-client.xml

This file has familiar syntax of declaring the beans you'll
bind to, resources and env vars.  You'll need to declare your
resource there.

good luck,

curt


 Hi All,
   I have created my own DBPool on Orion. I have a startUp class also
 to bind the DBPool object using JNDI. But when I start the orion
 server the
 following is the error I've got :

 javax.naming.NamingException: META-INF/application-client.xml resource not
 found
  (see J2EE spec, application-client chapter for requirements and format of
 the f
 ile)
 at
 com.evermind.server.ApplicationClientInitialContextFactory.getInitial
 Context(Unknown Source)
 at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
 68)
 at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
 )
 at javax.naming.InitialContext.init(InitialContext.java:222)
 at javax.naming.InitialContext.init(InitialContext.java:198)

   And the code in my startup class to initialize the DBPool is:

 try{
   Hashtable env = new Hashtable();
   env.put(Context.INITIAL_CONTEXT_FACTORY,);
   env.put(Context.PROVIDER_URL,ormi://localhost);
   Context ctx = new InitialContext(env);
   //My DBPool
   DBPool nPool = new DBPool();
   ctx.bind(DBPool,nPool);
 } catch (Exception e){
   e.printStackTrace();
 }

   Any suggestion?

 Thanks in advance
 Derek

 __
 This transmission and the information it contains including any
 attachment, is confidential and may be subject to legal
 privilege. If you are not the intended recipient, you must not
 peruse, use, disseminate, disclose or copy this transmission. If
 you have received this transmission (or any copy) in error,
 please notify us immediately by reply e-mail to
 [EMAIL PROTECTED] Please delete the original
 transmission(including any attachment) and its contents and
 destroy or return to us any hard copy.

 Please note that any electronically transmitted material that
 purports to commit Sun Hung Kai  Co. Ltd., or any of its
 subsidiaries or associates, to any obligation or in any other way
 whatsoever, unless subsequently confirmed by  fax or letter
 signed (in either case) by our duly authorized officer(s) may not
 be relied on. Material transmitted to you should also be checked
 by reference to the hard copy of the material printed directly by us.







RE: Can't get 2nd web module's servlet-map to register

2001-10-23 Thread Prashant Gaikwad

Derek,
  Why aren't you using DB pool feature provided by orion instead of
creating a new pool.
cheers
-Original Message-
From: Derek Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:01 AM
To: Orion-Interest
Subject: RE: Can't get 2nd web module's servlet-map to register


Hi All,
I have created my own DBPool on Orion. I have a startUp class also
to bind the DBPool object using JNDI. But when I start the orion server the
following is the error I've got :

javax.naming.NamingException: META-INF/application-client.xml resource not
found
 (see J2EE spec, application-client chapter for requirements and format of
the f
ile)
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(Unknown Source)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
68)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246
)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.init(InitialContext.java:198)

And the code in my startup class to initialize the DBPool is:

try{
  Hashtable env = new Hashtable();
  env.put(Context.INITIAL_CONTEXT_FACTORY,);
  env.put(Context.PROVIDER_URL,ormi://localhost);
  Context ctx = new InitialContext(env);
//My DBPool
  DBPool nPool = new DBPool();
  ctx.bind(DBPool,nPool);
} catch (Exception e){
  e.printStackTrace();
}

Any suggestion? 

Thanks in advance
Derek

__
This transmission and the information it contains including any attachment,
is confidential and may be subject to legal privilege. If you are not the
intended recipient, you must not peruse, use, disseminate, disclose or copy
this transmission. If you have received this transmission (or any copy) in
error, please notify us immediately by reply e-mail to
[EMAIL PROTECTED] Please delete the original transmission(including any
attachment) and its contents and destroy or return to us any hard copy. 

Please note that any electronically transmitted material that purports to
commit Sun Hung Kai  Co. Ltd., or any of its subsidiaries or associates, to
any obligation or in any other way whatsoever, unless subsequently confirmed
by  fax or letter signed (in either case) by our duly authorized officer(s)
may not be relied on. Material transmitted to you should also be checked by
reference to the hard copy of the material printed directly by us. 






Re: List errors

2001-10-23 Thread Michael Simons

Jeff Schnitzer wrote:

 Does anyone else get You do not have permission to send to this
 recipient. When attempting to send mail to this list?
 
 Of course, if you're reading this, then it's allowing me to send *some*
 traffic...
 
 Jeff
 

No, but I only can reply to list entries. Any mail that I sent to Orion-Interest 
didn't appear.

michael

-- 
Dipl.-Math. (fh) Michael Simons
UNIOPT AG // unique logistic optimization
Maximilianstr. 29; D-93047 Regensburg
phone: ++49(0)941/59578-0
http://www.uniopt.net/





Orion and in JVM class access security violation !

2001-10-23 Thread Bruno Baloi

Hia gentle gents !!


I've been trying something off the wire, and I am trying to poke around
for some expertise.

I have written this piece of code that uses JINI. It is essentially a
litle server that publishes a proxy. Now, this thing works like a charm
on its own, and of its own volition.

I wanted to take the same piece of code and inserted into Orion, thus
having Orion as the server that serves up this proxy to the world.

When in Orion the thing croaks spitting out a
java.security.AccessControl(java.security.SecurityPermission) exception.



This obviously has to do with not being allowed to access certain of the
classes that do the dirty deeds. I did construct a policy file that
indicates 
java.security.AllPermission as a main policy.

As I said the thing work like a charm when runing stand alone, but it
croaks only when I loaded it up in Orion. 

SO my question to you is: Is there anything specific that needs to be
set in the policy file ??? that would allow the loading of classes other
than the Orion ones ??? Is there a limitation with the RMI component



Alternatively I tried to use the -secure startup option. Everything went
to hell and did not come back. It could not even load up my packages !!!


My plea for help extends to asking any one of you if you have an idea
about Orion's security implementation. How does the -secure option
work ???



Bruno R. Baloi
Lead Software Architect
PlateSpin In.







EJB help for a beginner

2001-10-23 Thread Sujith Menon S



Hi Everybody,

 I am a beginner in Orion and am trying to 
deploy the example EJB.Follwoing the steps as given , I get the 
following error.

While running the CartClient and Product Client i get the 
follwoing error

Product Client
Exception in thread "main" java.lang.SecurityException: 
Invalid username/password for ejbsamples 
(admin) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._np(Unknown 
Source) at 
com.evermind._ce._np(Compiled 
Code) at 
com.evermind.server.rmi.RMIContext.lookup(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder._np(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder.getEJBHome(Unknown 
Source) at 
com.evermind._ck._ho(Compiled 
Code) at 
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(Compiled 
Code) at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) 
at 
javax.naming.InitialContext.init(InitialContext.java:226) 
at 
javax.naming.InitialContext.init(InitialContext.java:182) 
at ProductClient.main(ProductClient.java:18)



Cart Client
Exception in thread "main" java.lang.SecurityException: 
Invalid username/password for ejbsamples 
(admin) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._mu(Unknown 
Source) at 
com.evermind._cd._np(Unknown 
Source) at 
com.evermind._ce._np(Compiled 
Code) at 
com.evermind.server.rmi.RMIContext.lookup(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder._np(Unknown 
Source) at 
com.evermind.server.administration.LazyResourceFinder.getEJBHome(Unknown 
Source) at 
com.evermind._ck._ho(Compiled 
Code) at 
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(Compiled 
Code) at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) 
at 
javax.naming.InitialContext.init(InitialContext.java:226) 
at 
javax.naming.InitialContext.init(InitialContext.java:182) 
at CartClient.main(CartClient.java:17)
When i continue and restart the server i get the 
following. 
Auto-deploying product (No previous deployment found)... Error 
compiling C:\Sujith\Techy\Orion\orion\demo\ejb\product: No default 
cmt-datasource and no source specifiedAuto-deploying usermanager (No 
previous deployment found)... Error compiling 
C:\Sujith\Techy\Orion\orion\demo\ejb\usermanager: No default cmt-datasource 
and nosource specifiedError instantiating application 'ejbsamples' at 
file:/C:/Sujith/Techy/Orion/orion/demo/ejb/: Error initializing userManager 
'com.evermind.ejb.EJBUserManager': NamingException: com.evermind.ejb.EJBUser 
not foundWarning: Error reading transaction-log file 
(/C:/Sujith/Techy/Orion/orion/persistence/transaction.state) for recovery: 
premature end of fileForced or abrubt (crash etc) server shutdown detected, 
starting recovery process...Recovery completed, 0 connections committed 
and 0 rolled back...Orion/1.5.2 initialized

Wud be grateful if you cud help me.. 
 
Thanks in Advance,

Sujith


security-constraint

2001-10-23 Thread Carlos Macías

Hi everybody.
I´ve a big problem:
Somebody know how i can modify and manage the security-constraint (in
web.xml) using the orion API?
Thank you all.

_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp





jaas and usermanager

2001-10-23 Thread The elephantwalker

Group,

Is anybody interested in a usermanager that uses jaas plugin's? This way we
could just use the jaas properties files to control what kind-of login
service is allowedand if jaas is used out of the box, NTLogin (or os
login), Kerberos, SmartCard could be used.

regards,

the elephantwalker
www.elephantwalker.com






RE: security-constraint

2001-10-23 Thread The elephantwalker

Carlos,

You can change these bits in the orion-web.xml. Also, there should be no
need to change the security constraints, since the web.xml uses roles, and
orion-web.xml uses groups.

Why the difference?

Well Karl and Magnus were smart enough to recognize that web modules and ejb
modules would be written once, and deployed under many different enterprise
applications. But each of these modules would have their own role names for
security-constraints. The hard bit is how to re-use these components without
rewritting the web.xml.

Groups saved the day. So the usermanager (or the jndi access to the
roleManager) uses Groups to control access. Normally this is transparant to
the developer, since most groups have the same name as the role's in your
web.xml or ejb-jar.xml. But when you don't have the same names, you can use
group/role mapping in your orion-web.xml file to tell orion which roles in
the web.xml file map to which groups used by the usermanager.

roleManager has some great methods for managing your groups, as do the
usermanager's. Use these methods to mangle your groups and users.

I hope this helps.

regards,

the elephantwalker
www.elephantwalker.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Macías
Sent: Tuesday, October 23, 2001 10:59 AM
To: Orion-Interest
Subject: security-constraint


Hi everybody.
I´ve a big problem:
Somebody know how i can modify and manage the security-constraint (in
web.xml) using the orion API?
Thank you all.

_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp






Re: orion DB2

2001-10-23 Thread El Jeffo

 Does orion really work with DB2 as a datasource? I'm still having
I suppose... but I haven't done much ejb/cmp with it, mostly servlets
and prepared statements.

 trouble with this. The DB won't accept the prepared SQL-statements for
 the finder-queries genereated by orion.
I had trouble with the create statements it generates.  For example
create table foo (bar int null)  // to say that bar can be null
should be
create table foo (bar int default null)

but of course, if I create the table myself, the cmp for something
like the counter works fine.  I bet perhaps some other finder stuff
it's executing has similar syntax incompatibilities.

 Did you have similar probelem? Which JDBC-driver did you use?

I'm using the one for solaris in
/opt/IBMdb2/V7.1/java12

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

data-sources
data-source
class=com.evermind.sql.DriverManagerDataSource
name=db
location=jdbc/DBCoreDS
xa-location=jdbc/DBXADS
ejb-location=jdbc/DBDS
connection-driver=COM.ibm.db2.jdbc.app.DB2Driver
username=db2inst1
password=foobar
url=jdbc:db2:dbname inactivity-timeout=30

  description
  This datasource is the main connector to the DB2 backend
database
  /description
/data-source
/data-sources




RE: Library placement

2001-10-23 Thread Doug Graesser

Perry

I had problems until I upgaded to jakarta-struts-1.0-b3.

I put the struts.jar file in WEB-INF/lib as you have stated.
I also have all of the servlet classes in  WEB-INF/classes,
and no reference to these in the orion/lib paths.

Doug Graesser



-Original Message-
From: Perry Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 12:06 PM
To: Orion-Interest
Subject: Library placement


What is the correct placement of supporting libraries for an application 
  within Orion?  We are running into continual class loader issues no 
matter where we place them.

We have tried:

- The approved J2EE blueprints location which is WEB-INF/lib.  This 
works fine in Tomcat, however, I get a ClassNotFound exception a Struts 
class (the Struts ActionHome class).

- Orion directed path which is a lib directory at the base of the .ear 
file.  This I tried based on messages from the Orion mailing list and 
the Elephantwalker support site.  My libraries were document in the 
orion-application.xml configuration file in the library tag.  This 
causes intermittant class loader issues.  The first form which is 
derived from a Struts ActionForm comes up fine but the next form throws 
a ClassNotFound exception.  In addition, Struts tags (ie. the ErrorTag) 
is not found when the page that has that tag is accessed.

- Placing libraries on the classpath for Orion server startup.  Again, 
problems with ClassNotFound exceptions.

I grant you, all of this issues seem to resolve around the Struts 
framework.  Is anyone aware of a problem revolving around Struts and 
Orion specially dealing with classloader issues?  On the Struts site, 
the only issues it documents have to deal with an old version of Orion 
(1.0.3) I think.

BTW, I have these problems using 1.5.2 and 1.5.3 on Solaris 2.8, Linux 
RH 7.1, Windows NT 4.0sp6, and Windows 2000.  So I know that it is not 
an OS-specific problem.

At this point, I am at a loss... Thoughts, ideas???

-- 
Perry Hoekstra
E-Commerce Architect
Talent Software Services
[EMAIL PROTECTED]





RE: Shutdown server

2001-10-23 Thread Alistair



unsubscribe


RE: orion DB2

2001-10-23 Thread Josh P. Motto

I am also having great difficulty using the orion-generated finders
(findByXXX) with DB2... and I create the tables myself through the DB2 SQL
tool on NT.  I have not found a solution, hopefully we can discover the
problem here!

Josh Motto

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of El Jeffo
Sent: Tuesday, October 23, 2001 12:12 PM
To: Orion-Interest
Subject: Re: orion  DB2


 Does orion really work with DB2 as a datasource? I'm still having
I suppose... but I haven't done much ejb/cmp with it, mostly servlets
and prepared statements.

 trouble with this. The DB won't accept the prepared SQL-statements for
 the finder-queries genereated by orion.
I had trouble with the create statements it generates.  For example
create table foo (bar int null)  // to say that bar can be null
should be
create table foo (bar int default null)

but of course, if I create the table myself, the cmp for something
like the counter works fine.  I bet perhaps some other finder stuff
it's executing has similar syntax incompatibilities.

 Did you have similar probelem? Which JDBC-driver did you use?

I'm using the one for solaris in
/opt/IBMdb2/V7.1/java12

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

data-sources
data-source
class=com.evermind.sql.DriverManagerDataSource
name=db
location=jdbc/DBCoreDS
xa-location=jdbc/DBXADS
ejb-location=jdbc/DBDS
connection-driver=COM.ibm.db2.jdbc.app.DB2Driver
username=db2inst1
password=foobar
url=jdbc:db2:dbname inactivity-timeout=30

  description
  This datasource is the main connector to the DB2 backend
database
  /description
/data-source
/data-sources


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Does jsp:plugin work for Netscape in Orion 1.5.2?

2001-10-23 Thread Troy Eric Echols

I have a jsp page that uses the jsp:plugin tag for some applets I wrote.  In my
jsp page, I pass applet parameters using 

jsp:params
jsp:param ... jsp:param
...
jsp:params

For some reason when I access the page from Netscape or Mozilla, the params
don't show up in the generated HTML.  Neither does the name attribute on the
jsp:plugin tag.  However, when I use IE it works fine.  Is this a bug that is
fixed in an experimental release?

BTW, I also noticed that the plugin example shipped with the server doesn't
work.

begin:vcard 
n:Echols;Troy
tel;fax:(630) 979-6124
tel;work:(630) 979-6325
x-mozilla-html:FALSE
url:http://ihgpweb.ih.lucent.com/~troius
org:Lucent Technologies
version:2.1
email;internet:[EMAIL PROTECTED]
title:Distinguished Member of Technical Staff
adr;quoted-printable:;;Room 6N-310=0D=0A2000 North Naperville Road;Naperville;IL;60566;US
fn:Troy Eric Echols
end:vcard



RE: jaas and usermanager

2001-10-23 Thread Vipul Mehta


Yes i am interested in using that. I have used the Encryption of
password with the Usermanager.

regards,
vipul
-Original Message-
From: The elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 11:27 AM
To: Orion-Interest
Subject: jaas and usermanager


Group,

Is anybody interested in a usermanager that uses jaas plugin's? This way
we
could just use the jaas properties files to control what kind-of login
service is allowedand if jaas is used out of the box, NTLogin (or os
login), Kerberos, SmartCard could be used.

regards,

the elephantwalker
www.elephantwalker.com







RE: jaas and usermanager

2001-10-23 Thread Tucker, James

I know for my company, we are headed in the direction of JAAS with WebLogic
and were hoping to have the same thing in place for Orion.  We wouldn't use
vastly different login services (like smartcard, etc.), but it would allow
us to use a common code base for each app server port.

_ 
James Tucker
Senior Software Engineer
Viewlocity
Dallas, TX
[EMAIL PROTECTED]


-Original Message-
From: The elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 1:27 PM
To: Orion-Interest
Subject: jaas and usermanager


Group,

Is anybody interested in a usermanager that uses jaas plugin's? This way we
could just use the jaas properties files to control what kind-of login
service is allowedand if jaas is used out of the box, NTLogin (or os
login), Kerberos, SmartCard could be used.

regards,

the elephantwalker
www.elephantwalker.com






MAC Address (Physical Address)

2001-10-23 Thread Sarathy Mattaparti

Hi,
Does anyone know how to get the MAC Address (Physical Address) of a 
Client ?..

Thanks in advance..

Sarathy..



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





servlet load-on-startup and orion shutdown

2001-10-23 Thread Romen Law

ello,

If I use the load-on-startup in web.xml under my startup servlet, orion will
correctly start it up automatically. What I found strange was that when this
is done I cannot shutdown orion any more by using admin.jar or ctrl-C. If I
comment out the load-on-startup line, everything will be fine.

I am using orion 1.5.2 + JDK 1.3.0 + W2K

Has anyone encountered this?

cheers
romen




what the? ejbStore gets called last???

2001-10-23 Thread Greg Matthews




dear all,

having not used EntityBeans in my last projects, 
but stateless session beans only, i'm hoping someone has a good answer to my 
question.

basically, it seems like ejbStore is being deferred 
to the end of the transaction.

if i request a series of operations like 
this.

1. loadX
2. store (which changes X)
3. loadX

then what really happens is

1. loadX
2. loadX == this gets the old 
copy of X, not the new one since Orion deferred my call to ejbStore
3. store.

this post below by someone indicates that jboss 
provided a flag so that the database access occurs in the order that your code 
executes -- as opposed to when the container determines it should 
run.

does orion have an equivalent flag? (and yes, i've 
had a look through www.orionserver.com 
and couldn't find it).

http://www.mail-archive.com/ejb-container-group2@objectweb.org/msg00011.html

thanks,
greg.


Fw: what the? ejbStore gets called last???

2001-10-23 Thread Greg Matthews




further to this last message, there's information 
on
http://developer.java.sun.com/developer/technicalArticles/ebeans/sevenrules/
about the same issue, i.e. ejbStore being deferred. 
it seems to berule number 
seven.

again, how do you get around the problem where a 
subsequent load of data through a findBy... method is getting the old copy of 
data, because the container has cleverly decided to defer calling 
ejbStore???

greg


- Original Message - 
From: Greg 
Matthews 
To: Orion-Interest 
Sent: Wednesday, October 24, 2001 10:11 AM
Subject: what the? ejbStore gets called last???





[announce] PortalStudio 2.0 with Interaction Management

2001-10-23 Thread announce




MONGOOSETECHNOLOGY 
ANNOUNCES PORTALSTUDIO 2.0 WITH INTERACTION MANAGEMENT 
J2EE-based 
portal platform now includes 
RealCommunities 2.0 collaboration applications and Interaction Management Web 
services
Houston, October 22, 
2001 - Mongoose Technology, Inc., the company that set the benchmark 
for Portal Lifecycle Management and the first company to deliver a complete 
J2EE-based portal design, assembly, deployment, and management solution, today 
announced Mongoose PortalStudio 2.0. The product, which provides an integrated 
development environment and portal platform, now includes Mongoose 
RealCommunities applications and Interaction Management web services for online 
collaboration. Using Mongoose PortalStudio and Mongoose RealCommunities, 
companies can incorporate Interaction Management into their portals and Web 
sites to increase employee productivity, enhance partner effectiveness, and 
build customer loyalty. 
Delphi Group has defined Interaction 
Management: "Interaction management refers to web applications used to cultivate 
relationships among portal constituents. These person-to-person web services 
facilitate group formation, enhance team collaboration, and empower knowledge 
exchange between employees, customers, partners, and suppliers. Interaction 
Management helps organizations capture and retain intellectual capital, reduce 
employee turnover, increase team productivity, and build customer loyalty." 

"Interaction Management is a critical 
component of any portal strategy, and necessary for effectively nurturing online 
community and user relationships," says Nathaniel Palmer, Chief Analyst at 
Delphi Group. "In PortalStudio, Mongoose provides the first comprehensive set of 
web services for interaction management, within a application framework 
specifically designed for deploying and managing portal components."
"We provide enterprise applications to 
the health care industry and international retailers" said Brian Fox, Vice 
President of MySoftwarePartner. "Our customers must provide timely and accurate 
information to consumers and to government agencies. We are using Mongoose 
PortalStudio to provide more useful information by aggregating our systems with 
other corporate applications in the Enterprise Portal. We are incorporating 
RealCommunities collaboration applications to improve customer support and to 
reduce the cost of gathering and reporting consumer data. "
PortalStudio with 
Interaction Management
RealCommunities collaboration 
applications are modular WebComponents of the PortalStudio platform that can be 
embedded into any Web site or portal. They are supported by RealCommunities Web 
Services that provide open API's to gather, store, and act upon person and 
activity related data. 
"Interaction Management is the set of 
person-to-person web services that support online relationships and 
transactions," says Mr. Palmer. The RealCommunities Web Services are based on 
the Mongoose 12 Principles of Collaboration, and include Identity, Groups, 
Reputation, Environment and Communication. 
RealCommunities WebComponents provide 
structured interactions to support group goals. These collaboration capabilities 
can be incorporated into new or existing portals and Web sites. RealCommunities 
WebComponents include:

  
  

Expertise  
  Skills Directory - This application facilitates the search for a 
  person or a group with the expertise, skills, service capability, or 
  reputation matching the user's needs.
  

Engagement  
  Feedback - After identifying an appropriate individual or group, the 
  application allows the user to negotiate an agreement for a consultative 
  or service relationship with the provider and subsequently to rate the 
  quality and usefulness of the provider's services.
  

Messages  Chat 
  - These WebComponents provide Message Boards, Chat, and Instant 
  Messaging
  

Question  
  Answer - This post-a-question and get-an-answer mechanism can be a 
  public or private dialog and is used for self-help and support 
  applications.
  

File Sharing  
  Collaboration - Users can access content from WebDAV (Web-based 
  distributed authoring and versioning) clients and DAV-enabled software 
  packages such as Mongoose PortalStudio, Microsoft® Office XP, Microsoft® 
  Web Folders, Adobe Acrobat®, and Macromedia Dreamweaver®. Thus a Word® 
  user can directly open documents that are stored in PortalStudio-based 
  portals.
  

Review  
  Recommend - This facility enables community members to provide 
  opinions and ratings, look at what others are saying, and view a composite 
  score of any participant or document.
  

Rewards  
  Incentives - Reward employees, partners, or customers who participate 
  in desired online activities. The application can be configured to promote 
  loyalty by 

Transactions and OTS

2001-10-23 Thread Adam Cassar

Has anyone every successfully integrated orion with a 3rd party OTS, or
have any idea on how to go about it?




RE: what the? ejbStore gets called last???

2001-10-23 Thread Curt Smith



1. loadX

  2. loadX == this gets the 
  old copy of X, not the new one since Orion deferred my call to 
  ejbStore
  3. store.
  
Speaking of out of sequence ejbStore()'s, I have a question 
regarding thrown checked exceptions
from ejbStore/ejbLoad in my BMP 
system??

And if I throw a subclass of RuntimeException, which causes a 
trans roll back, will the only
indication of such to my business method be a 
RemoteException?

My style of rowversion and stale update detection is giving 
me fits.

I'm suspecting that defering stale row update to a 
triggerwon't work. I'm believing 
that
I'll have to detect recordVersion miss-match in my business method 
from bean state
andpassed in valueobject values VSletting the db 
trigger detect stale updates?

Thanks,

curt


RE: Orion Questions

2001-10-23 Thread Edward de Jongh
Title: RE: Orion Questions









Thanks Alex.



-Original Message-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]

Sent: 23 October 2001 18:00
To: Orion-Interest
Subject: RE: Orion Questions





Look in
the Orion/config directory. There is a file called application.xml.
This is the GLOBAL application configuration. In that file, there is tag
for configuring external libraries, the library
path= Using a semicolon append to it the relative
location of the TopLink .jar or class files.











Since
this is the global application.xml ALL applications under orion will have
access to toplink from now on. If you only want one application to have
access, you need to modify the orion-application.xml for THAT application
alone.











Hope
this helps.

















-AP_





-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Edward de Jongh
Sent: Monday, October 22, 2001
8:26 PM
To: Orion-Interest
Subject: RE: Orion Questions

Hi all, this is my first posting. My problem is that
while I've deployed all the examples without any problems, I have not been able
to successfully deploy any of my own beans. I keep getting the following:

Error in application notification: Error loading
package at file:/C:/orion/applications/notification/ejbs.jar, Error
loading class 'za.co.discovery.no

tification.persistence.NotificationInfoBean':
java.lang.NoClassDefFoundError: TOPLink/Public/Sessions/Session 
Auto-deploying client.jar (Previous
deployment not found)... Error instantiating application 'notification' at file:/C:/orion/applications/notificatio

n.ear: Error auto-deploying application-client at
client.jar: No location specified and no suitable instance of the type
'za.co.discovery.notification

.persistence.NotificationInfoRemote' found for the
ejb-ref ejb/NotificationInfoHome 
Warning: Error reading
transaction-log file (/C:/orion/persistence/transaction.state) for recovery:
premature end of file

Forced or abrubt (crash etc) server shutdown detected,
starting recovery process... 
Recovery completed, 0 connections
committed and 0 rolled back... 
Orion/1.5.2 initialized


I've checked that these classes are there and
available. This is not the first app server I've worked with and I've gone
through the deployment step by step. I'm sure I'm missing something very
obvious, could someone perhaps help here please.

Thanks in advance and btw Great App Server, long live
the BEA-KILLER 

ed 

-Original Message- 
From: The elephantwalker [mailto:[EMAIL PROTECTED]] 
Sent: 22 October 2001 22:42

To: Orion-Interest 
Subject: RE: Orion Questions


Ed, 

1. No...but that's just because they haven't submitted
it. Oracle has 
submitted oc4j, which is orion
1.5.0...and this is certified. 
2. Orion is about six times faster
than most containers, and three times 
faster than weblogicfrom my
personal experience. You can also check out 
Oracle's stats on oc4j at
www.oracle.com, which reflects my own personal 
experience. 
3. There is no difference between
the developer version and the commercial 
version except that there is a
Licensed to  in the server log in the 
commercial version. 

Regards, 

the elephantwalker 
www.elephantwalker.com




-Original Message- 
From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]]On
Behalf Of Ed Brown 
Sent: Monday, October 22, 2001 1:19
PM 
To: Orion-Interest 
Subject: Orion Questions






1. Is the app server J2EE certified? 
2. Is there a comparison of
performance of this app server against others? 
3. Is the commericial version the
same as the developer's version, or is the 
commercial version beefed
up in some way? 



Ed Brown 



_

This mail sent via toadmail.com,
web e-mail @ ToadNet - want to go fast? 
http://www.toadmail.com 










Application Client

2001-10-23 Thread Edward de Jongh
Title: Application Client





Hi could someone please point me in the right direction re installing a client. I have already deployed a session bean, which I would now like to test from my testClient. Should the client be deployed/built by ant at the same time? If you know of any tutorials please send me the relevant URL's.

Tia


Ed :)









jdbc performance Orion vs. WL

2001-10-23 Thread Savotchkin Egor

Hi all,
decided to find out who is the fastest when working with DB using jdbc. I 
wrote a simple servlet that does the following:
1) acquires connection from the App. Server's JNDI tree and selects 7000 records from 
an Oracle table.
2) acquires connection using DriverManager (OracleDriver) and selects 7000 records 
from the same table.

The results are
1) WL ~4000 ms vs. Orion ~7000 ms
2) WL ~4000 ms vs. Orion ~6600 ms

I agree that WL outperforms Orion because it is using its own DB Driver. But why even 
standard OracleDriver on Orion is working ~3 sec slower than on Weblogic 6.1?

May be it is possible to tune Orion so that it could outperform WL when using jdbc?

Egor Savotchkin

try {

System.out.println(
*);
System.out.println(Init ctx ... );
start();
Context ctx = new InitialContext();
end();
System.out.println(Getting DS ...);
start();
DataSource ds = (DataSource) ctx.lookup(JNDI_NAME);
end();
System.out.println(getting connection ...);
start();
Connection conn = ds.getConnection();
end();
System.out.println(Connection :  + conn.getClass());
System.out.println(creating statement ...);
start();
Statement st = conn.createStatement();
end();
String query = SELECT * from logs;
DatabaseMetaData dbmd = conn.getMetaData();
System.out.println(executing :  + query);
start();
ResultSet rs = st.executeQuery(query);
end();
System.out.println(ResultSet :  + rs.getClass());
int i = 0;
System.out.println(rs);
start();
while (rs.next()) {
i++;
}
end();
rs.close();
st.close();
conn.close();
conn = null;
System.out.println(i =  + i);
System.out.println();

System.out.println(getting connection ...);
start();
Class.forName(oracle.jdbc.driver.OracleDriver);
conn = DriverManager.getConnection(
url, xxx, xxx);
end();
System.out.println(Connection :  + conn.getClass());
System.out.println(creating statement ...);
start();
st = conn.createStatement();
end();
System.out.println(executing query :  + query);
start();
rs = st.executeQuery(query);
end();
System.out.println(ResultSet :  + rs.getClass());
i = 0;
System.out.println(rs);
start();
while (rs.next()) {
i++;
}
end();
} catch (Exception ex) {
System.out.println(Exception :  + ex);
}