SV: CMP entity bean deployment compilation errors

2002-04-30 Thread Jesper Rasmussen

I have both local and remote interfaces to my beans, and it works fine.
I got the same error which i traced back to a error in my ejb-jar.xml.
I cant remember which error though. Try to clear the deployment files in
orion/applications and orion/application-deployments.

This is how one entity looks like in my ejb-jar.xml
entity
display-name/display-name
ejb-nameStockItemBean/ejb-name
homebeans.StockItemHome/home
remotebeans.StockItem/remote
local-homebeans.StockItemLocalHome/local-home
localbeans.StockItemLocal/local
ejb-classbeans.StockItemBean/ejb-class
persistence-typeContainer/persistence-type
prim-key-classjava.lang.String/prim-key-class
reentrantFalse/reentrant
cmp-version2.x/cmp-version
abstract-schema-nameStockItemBean/abstract-schema-name
cmp-field
field-namenumber/field-name
/cmp-field
cmp-field
field-namename/field-name
/cmp-field
primkey-fieldnumber/primkey-field
/entity

cheers
JEsper
-Oprindelig meddelelse-
Fra: Scott Gaetjen [mailto:[EMAIL PROTECTED]]
Sendt: 30. april 2002 05:29
Til: Orion-Interest
Emne: Re: CMP entity bean deployment compilation errors


A follow-up to this issue, which I feel is resolved. I tried 1.5.4 and
then
encountered the following compilation errors:

CodeListsEBLocalHome_EntityHomeWrapper10.java:156: Exception
java.rmi.RemoteException must be c
aught, or it must be declared in the throws clause of this method.
EvermindEntityContext finderContext = this.getContextInstance(thread);
Which
I then saw in another message here.

I did some more investigation and found that the inclusion of the
local
and local-home elements as well as the remote and home elements in
my
ejb-jar.xml was causing the original compilation errors. I then
commented
out either the local/local-home or the remote/home and the
deployment/compilation of generated classes worked. Seems you can
possibly
only use one of the pair. This is okay for me as I normally use the
session
bean as a facade pattern , so I should be fine just using the
local/local-home pair.

Scott

Scott Gaetjen wrote:

 I've created a CMP entity bean based on some examples I've seen and am
 encountering some compilation errors on the generated wrapper classes
at
 deployment time. Its seems the getter/setter methods and the remove
 method are not recognized or available in the  generated wrapper
 classes. I've look at various mailing lists and the bug database and
 have not seen any similar problem. I've tried changing the use of Long
 to long primitives and making the fields wholly lower case but have
 not had any luck with that. If anyone has seen these errors before or
 can give me any pointers on possible problem areas I would greatly
 appreciate the help:

 There errors are as such:

 Auto-deploying leaders-ejb.jar (No previous deployment found)...
 CodeListsEBRemote_EntityBeanWrapper2.java:281: Method
__REMOTE__remove()
 not found in class CodeListsEBRemote_EntityBeanWrapper2.
 trail.__REMOTE__remove();
   ^
 CodeListsEBRemote_EntityBeanWrapper2.java:571: Method
 __REMOTE__getName() not found in class
 CodeListsEBRemote_EntityBeanWrapper2.
 return trail.__REMOTE__getName();
   ^

 CodeListsEBRemote_EntityBeanWrapper2.java:809: Method
 __REMOTE__setName(java.lang.String) not found in class

CodeListsEBRemote_EntityBeanWrapper2.trail.__REMOTE__setName(argument0);

^

 Regards,
 Scott

 
 * My bean looks like:

 public abstract class CodeListsEB implements EntityBean
  
 public abstract Long getId() ;
 public abstract void setId(Long id) ;
 public abstract String getName() ;
 public abstract void setName(String name) ;

 
 * My remote is like:

 public interface CodeListsEBRemote extends EJBObject
 ...
 public Long getId() throws RemoteException;
 public void setId(Long id) throws RemoteException;
 public String getName() throws RemoteException;
 public void setName(String name) throws RemoteException;

 
 * My ejb-jar is like:
  entity
 descriptionEntity EJB providing CRUD transactions for
the
 LEADERS CODE_LISTS table/description
 display-nameCodeListsEB/display-name
 ejb-nameCodeListsEB/ejb-name
 homeleader.ejb.entity.CodeListsEBHome/home
 remoteleader.ejb.entity.CodeListsEBRemote/remote

 local-homeleader.ejb.entity.CodeListsEBLocalHome/local-home
 localleader.ejb.entity.CodeListsEBLocal/local
 ejb-classleader.ejb.entity.CodeListsEB/ejb-class
 persistence-typeContainer/persistence-type
 abstract-schema-nameCodeLists/abstract-schema-name
 cmp-version2.x/cmp-version

prim-key

CMP entity bean deployment compilation errors

2002-04-29 Thread Scott Gaetjen

I've created a CMP entity bean based on some examples I've seen and am
encountering some compilation errors on the generated wrapper classes at
deployment time. Its seems the getter/setter methods and the remove
method are not recognized or available in the  generated wrapper
classes. I've look at various mailing lists and the bug database and
have not seen any similar problem. I've tried changing the use of Long
to long primitives and making the fields wholly lower case but have
not had any luck with that. If anyone has seen these errors before or
can give me any pointers on possible problem areas I would greatly
appreciate the help:

There errors are as such:

Auto-deploying leaders-ejb.jar (No previous deployment found)...
CodeListsEBRemote_EntityBeanWrapper2.java:281: Method __REMOTE__remove()
not found in class CodeListsEBRemote_EntityBeanWrapper2.
trail.__REMOTE__remove();
  ^
CodeListsEBRemote_EntityBeanWrapper2.java:571: Method
__REMOTE__getName() not found in class
CodeListsEBRemote_EntityBeanWrapper2.
return trail.__REMOTE__getName();
  ^

CodeListsEBRemote_EntityBeanWrapper2.java:809: Method
__REMOTE__setName(java.lang.String) not found in class
CodeListsEBRemote_EntityBeanWrapper2.trail.__REMOTE__setName(argument0);

   ^

Regards,
Scott


* My bean looks like:


public abstract class CodeListsEB implements EntityBean
 
public abstract Long getId() ;
public abstract void setId(Long id) ;
public abstract String getName() ;
public abstract void setName(String name) ;


* My remote is like:

public interface CodeListsEBRemote extends EJBObject
...
public Long getId() throws RemoteException;
public void setId(Long id) throws RemoteException;
public String getName() throws RemoteException;
public void setName(String name) throws RemoteException;


* My ejb-jar is like:
 entity
descriptionEntity EJB providing CRUD transactions for the
LEADERS CODE_LISTS table/description
display-nameCodeListsEB/display-name
ejb-nameCodeListsEB/ejb-name
homeleader.ejb.entity.CodeListsEBHome/home
remoteleader.ejb.entity.CodeListsEBRemote/remote

local-homeleader.ejb.entity.CodeListsEBLocalHome/local-home
localleader.ejb.entity.CodeListsEBLocal/local
ejb-classleader.ejb.entity.CodeListsEB/ejb-class
persistence-typeContainer/persistence-type
abstract-schema-nameCodeLists/abstract-schema-name
cmp-version2.x/cmp-version
prim-key-classleader.ejb.entity.EntityPK/prim-key-class
reentrantFalse/reentrant

cmp-fieldfield-nameid/field-name/cmp-field
cmp-fieldfield-namename/field-name/cmp-field
...

query
description
/description
query-method
method-namefindByName/method-name
method-params
method-paramjava.lang.String/method-param
/method-params
/query-method
ejb-qlSELECT DISTINCT OBJECT(o) FROM CodeLists AS o
WHERE o.name = ?1/ejb-ql
/query
resource-ref
res-ref-namejdbc/MedicalDS/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
/entity


* My orion-ejb-jar is like:

orion-ejb-jar
enterprise-beans
entity-deployment name=CodeListsEB
location=leaders/CodeListsEB table=CODE_LISTS
data-source=jdbc/MedicalDS
primkey-mapping
cmp-field-mapping
fields
cmp-field-mapping name=id
persistence-name=ID/
/fields
/cmp-field-mapping
/primkey-mapping
cmp-field-mapping name=id persistence-name=ID/
cmp-field-mapping name=name persistence-name=NAME/
...


begin:vcard 
n:Gaetjen;Scott 
tel;cell:703.728.1301
tel;fax:540.882.4233
tel;work:540.882.4233
x-mozilla-html:FALSE
url:http://www.solutionsauthority.com
org:President - Solutions Authority, LLC
adr:;;38607 Millstone Drive;Purcellville;VA;20132;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:540.882.4233 (office) - 703.728.1301 (mobile)
end:vcard



Re: CMP entity bean deployment compilation errors

2002-04-29 Thread Scott Gaetjen

A follow-up to this issue, which I feel is resolved. I tried 1.5.4 and then
encountered the following compilation errors:

CodeListsEBLocalHome_EntityHomeWrapper10.java:156: Exception
java.rmi.RemoteException must be c
aught, or it must be declared in the throws clause of this method.
EvermindEntityContext finderContext = this.getContextInstance(thread); Which
I then saw in another message here.

I did some more investigation and found that the inclusion of the local
and local-home elements as well as the remote and home elements in my
ejb-jar.xml was causing the original compilation errors. I then commented
out either the local/local-home or the remote/home and the
deployment/compilation of generated classes worked. Seems you can possibly
only use one of the pair. This is okay for me as I normally use the session
bean as a facade pattern , so I should be fine just using the
local/local-home pair.

Scott

Scott Gaetjen wrote:

 I've created a CMP entity bean based on some examples I've seen and am
 encountering some compilation errors on the generated wrapper classes at
 deployment time. Its seems the getter/setter methods and the remove
 method are not recognized or available in the  generated wrapper
 classes. I've look at various mailing lists and the bug database and
 have not seen any similar problem. I've tried changing the use of Long
 to long primitives and making the fields wholly lower case but have
 not had any luck with that. If anyone has seen these errors before or
 can give me any pointers on possible problem areas I would greatly
 appreciate the help:

 There errors are as such:

 Auto-deploying leaders-ejb.jar (No previous deployment found)...
 CodeListsEBRemote_EntityBeanWrapper2.java:281: Method __REMOTE__remove()
 not found in class CodeListsEBRemote_EntityBeanWrapper2.
 trail.__REMOTE__remove();
   ^
 CodeListsEBRemote_EntityBeanWrapper2.java:571: Method
 __REMOTE__getName() not found in class
 CodeListsEBRemote_EntityBeanWrapper2.
 return trail.__REMOTE__getName();
   ^

 CodeListsEBRemote_EntityBeanWrapper2.java:809: Method
 __REMOTE__setName(java.lang.String) not found in class
 CodeListsEBRemote_EntityBeanWrapper2.trail.__REMOTE__setName(argument0);

^

 Regards,
 Scott

 
 * My bean looks like:

 public abstract class CodeListsEB implements EntityBean
  
 public abstract Long getId() ;
 public abstract void setId(Long id) ;
 public abstract String getName() ;
 public abstract void setName(String name) ;

 
 * My remote is like:

 public interface CodeListsEBRemote extends EJBObject
 ...
 public Long getId() throws RemoteException;
 public void setId(Long id) throws RemoteException;
 public String getName() throws RemoteException;
 public void setName(String name) throws RemoteException;

 
 * My ejb-jar is like:
  entity
 descriptionEntity EJB providing CRUD transactions for the
 LEADERS CODE_LISTS table/description
 display-nameCodeListsEB/display-name
 ejb-nameCodeListsEB/ejb-name
 homeleader.ejb.entity.CodeListsEBHome/home
 remoteleader.ejb.entity.CodeListsEBRemote/remote

 local-homeleader.ejb.entity.CodeListsEBLocalHome/local-home
 localleader.ejb.entity.CodeListsEBLocal/local
 ejb-classleader.ejb.entity.CodeListsEB/ejb-class
 persistence-typeContainer/persistence-type
 abstract-schema-nameCodeLists/abstract-schema-name
 cmp-version2.x/cmp-version
 prim-key-classleader.ejb.entity.EntityPK/prim-key-class
 reentrantFalse/reentrant

 cmp-fieldfield-nameid/field-name/cmp-field
 cmp-fieldfield-namename/field-name/cmp-field
 ...

 query
 description
 /description
 query-method
 method-namefindByName/method-name
 method-params
 method-paramjava.lang.String/method-param
 /method-params
 /query-method
 ejb-qlSELECT DISTINCT OBJECT(o) FROM CodeLists AS o
 WHERE o.name = ?1/ejb-ql
 /query
 resource-ref
 res-ref-namejdbc/MedicalDS/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
 /entity

 
 * My orion-ejb-jar is like:

 orion-ejb-jar
 enterprise-beans
 entity-deployment name=CodeListsEB
 location=leaders/CodeListsEB table=CODE_LISTS
 data-source=jdbc/MedicalDS
 primkey-mapping
 cmp-field-mapping
 fields
 cmp-field-mapping name=id
 persistence-name=ID/
 /fields
 /cmp-field-mapping
 /primkey-mapping
 cmp

NullPointerException on CMP entity bean deployment

2002-04-27 Thread Scott Gaetjen


I've created a CMP-based entity bean and encounter a NPE exception when
the .EAR is deployed. I've searched high and low and reviewed my XML and
Java, but I cannot determine the problem. Any help or insight anyone can
provide would be appreciated.

The exception I get is as follows:

Auto-deploying leaders-ejb.jar (No previous deployment found)...
java.lang.NullPointerException
at com.evermind.util.ClassUtils.getSourceNotation(ClassUtils.java:280)
at com.evermind.server.ejb.compilation.CMPObjectCompilation.processConta

inerManagedField(CMPObjectCompilation.java:299)
at
com.evermind.server.ejb.compilation.CMPObjectCompilation.processField
s(CMPObjectCompilation.java:242)
at
com.evermind.server.ejb.compilation.PersistenceManagerCompilation.com
pile(PersistenceManagerCompilation.java:53)
at
com.evermind.server.ejb.compilation.EntityBeanCompilation.compile(Ent
ityBeanCompilation.java:324)
at
com.evermind.server.ejb.compilation.Compilation.compile(Compilation.j
ava:215)
at
com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:545)
at
com.evermind.server.Application.postInit(Application.java:429)
at
com.evermind.server.Application.setConfig(Application.java:136)
at
com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1479)
at
com.evermind.server.ApplicationServer.initializeApplications(Applicat
ionServer.java:1436)
at
com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1099)
at
com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:93)
at java.lang.Thread.run(Thread.java:484)
at
com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)

Regards,
Scott


begin:vcard 
n:Gaetjen;Scott 
tel;cell:703.728.1301
tel;fax:540.882.4233
tel;work:540.882.4233
x-mozilla-html:FALSE
url:http://www.solutionsauthority.com
org:President - Solutions Authority, LLC
adr:;;38607 Millstone Drive;Purcellville;VA;20132;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:540.882.4233 (office) - 703.728.1301 (mobile)
end:vcard



RE: Showstopper: Orion deployment crash, NullPointerException

2002-04-17 Thread Greg Davis



Did 
you also remove the related files in the orion/persistence directory. I 
have had problems before when the .cache files don;t match up with the 
persistence ones. Just a thought. I haven't seen the error below 
before though

Later...

Greg

  -Original Message-From: Randahl Fink Isaksen 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, April 17, 2002 7:04 
  AMTo: Orion-InterestSubject: Showstopper: Orion 
  deployment crash, NullPointerException
  
  After introducing a lot of 
  different changes in my EJBs I decided to erase my 
  deployment directory (the folder /orion/application-deployments/rockit) in an attempt to 
  make orion carry out a 
  fresh and complete redeployment. Unfortunately now all I get is 
  this:
  
  Auto-deploying rockit-ejb.jar (No previous deployment found)... java.lang.NullPo
  interException
   
  at com.evermind._eh._dyc(.:109)
   
  at com.evermind._fc._izd(.:198)
   
  at com.evermind._fc._de(.:63)
   
  at com.evermind._fpb._de(.:31)
   
  at 
  com.evermind._eq._aa(.:280)
   at 
  com.evermind._ed._aa(.:270)
   at 
  com.evermind._ai._kmd(.:526)
   at 
  com.evermind._aj._kmd(.:287)
   at 
  com.evermind._aj._vxb(.:119)
   at 
  com.evermind.server.ApplicationServer._sxc(.:1308)
   at 
  com.evermind.server.ApplicationServer._ige(.:1265)
   at 
  com.evermind.server.ApplicationServer._vxb(.:1003)
   
  at com.evermind._cxb.run(.:89)
   
  at java.lang.Thread.run(Thread.java:536)
   
  at com.evermind._bt.run(.:47)
  
  It is kind of hard for me to 
  guess whats going on since the stack trace is 
  obfuscated, so as a long shot I am asking you guys if you have experienced 
  something similar to this?
  
  
  Yours 
  Randahl


Fwd: RE: Showstopper: Orion deployment crash, NullPointerException

2002-04-17 Thread Ray Harrison
 2nd Try...
 Randahl Fink Isaksen [EMAIL PROTECTED] wrote: 
From: "Randahl Fink Isaksen" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Subject: RE: Showstopper: Orion deployment crash, NullPointerExceptionDate: Wed, 17 Apr 2002 21:42:30 +0200Organization: ROCK IT











You are absolutely right – that’s it!

They have my full support for obfuscating their code, but it sure is hard to guess what is wrong, when the stack trace is all garbled… we are lucky to have this mailing list.


Thanks

Randahl.

-Original Message-From: Ray Harrison [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 17:59To: Orion-InterestCc: [EMAIL PROTECTED]Subject: Re: Showstopper: Orion deployment crash, NullPointerException

Randahl, 
I have experienced similar problems with 1.5.4 - is this your particular version? 
If so - 
Check your relationships in your ejb-jar.xml - M-N relationships don't work in 1.5.4, though it will work in the next release and can generate those sorts of errors. 
Also, if you have something like this with your 1-M unidirectional relationships where your collection is referenced in your *second* ejb-relationship-role (as follows) it will also generate thissort of error and you need to reverse the roles to avoid the NPE as a workaround: 
!-- This doesn't work -- 
 relationships ejb-relation ejb-relation-nameMany1s-Many2s/ejb-relation-name ejb-relationship-role ejb-relationship-role-nameMany2-has-many-many1s/ejb-relationship-role-name multiplicityMany/multiplicity relationship-role-source ejb-nameMany2/ejb-name /relationship-role-source /ejb-relationship-role ejb-relationship-role ejb-relationship-role-nameMany1-has-many-many2s/ejb-relationship-role-name multiplicityMany/multiplicity relationship-role-source ejb-nameMany1/ejb-name /relationship-role-source cmr-field cmr-field-namemany2s/cmr-field-name cmr-field-typejava.util.Collection/cmr-field-type /cmr-field /ejb-relationship-role /ejb-relation /relationships 
 
For the above, reverse the ejb-relationship-role entries so that the collection is referenced in the first entry. 
Hope this helps! 
Ray 
 Randahl Fink Isaksen [EMAIL PROTECTED] wrote: 

After introducing a lot of different changes in my EJBs I decided to erase my deployment directory (the folder /orion/application-deployments/rockit) in an attempt to make orion carry out a fresh and complete redeployment. Unfortunately now all I get is this:

Auto-deploying rockit-ejb.jar (No previous deployment found)... java.lang.NullPo
interException
 at com.evermind._eh._dyc(.:109)
 at com.evermind._fc._izd(.:198)
 at com.evermind._fc._de(.:63)
 at com.evermind._fpb._de(.:31)
 at com.evermind._eq._aa(.:280)
 at com.evermind._ed._aa(.:270)
 at com.evermind._ai._kmd(.:526)
 at com.evermind._aj._kmd(.:287)
 at com.evermind._aj._vxb(.:119)
 at com.evermind.server.ApplicationServer._sxc(.:1308)
 at com.evermind.server.ApplicationServer._ige(.:1265)
 at com.evermind.server.ApplicationServer._vxb(.:1003)
 at com.evermind._cxb.run(.:89)
 at java.lang.Thread.run(Thread.java:536)
 at com.evermind._bt.run(.:47)

It is kind of hard for me to guess whats going on since the stack trace is obfuscated, so as a long shot I am asking you guys if you have experienced something similar to this?


Yours Randahl




Do You Yahoo!?Yahoo! Tax Center - online filing with TurboTaxDo You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

StatefulSession Bean Deployment problem

2002-03-12 Thread Daniel Chandran

I am trying to deploy the cart application that comes with the
j2eetutorial  package from Sun (not the one
that comes with Orion) , and get the following error while deploying:

Auto-deploying cart (New server version detected)...
Auto-deploying cart-ejb.jar (No previous deployment found)...
CartHome_StatefulS
essionHomeWrapper1.java:29: class
com.evermind.server.ejb.StatefulSessionContext
 is an abstract class. It can't be instantiated.
StatefulSessionContext context = new StatefulSessionContext();
 ^
CartHome_StatefulSessionHomeWrapper1.java:92: class
com.evermind.server.ejb.Stat
efulSessionContext is an abstract class. It can't be instantiated.
StatefulSessionContext context = new StatefulSessionContext();
 ^

The same ear file deploys without any problem under the j2ee server.

Thanks,
Daniel G. Chandran
Reuters Online Solutions.





Re: StatefulSession Bean Deployment problem

2002-03-12 Thread Ray Harrison

Daniel -
Are you refering to the CartApp.ear from the j2ee tutorial for jdk1.3? If so, what is 
your Orion
version? It deploys (haven't tested the functionality) on 1.5.4. Keep in mind that ear 
file
deployment might be different across app servers if there are app-server specific 
components
contained in it. For instance if there are j2ee-ri specific requirements for this app 
(which I
believe there are), the app may deploy in Orion but you will have to then adjust the 
orion config
accordingly. Also keep in mind that Orion isn't yet j2ee1.3 certified and that 1.5.4 
was the first
release to add the up-to-date functionality of that spec and there are missing pieces 
and bugs
that they are working through at this point. (Just to keep in mind ;-)

Cheers
Ray
--- Daniel Chandran [EMAIL PROTECTED] wrote:
 I am trying to deploy the cart application that comes with the
 j2eetutorial  package from Sun (not the one
 that comes with Orion) , and get the following error while deploying:
 
 Auto-deploying cart (New server version detected)...
 Auto-deploying cart-ejb.jar (No previous deployment found)...
 CartHome_StatefulS
 essionHomeWrapper1.java:29: class
 com.evermind.server.ejb.StatefulSessionContext
  is an abstract class. It can't be instantiated.
 StatefulSessionContext context = new StatefulSessionContext();
  ^
 CartHome_StatefulSessionHomeWrapper1.java:92: class
 com.evermind.server.ejb.Stat
 efulSessionContext is an abstract class. It can't be instantiated.
 StatefulSessionContext context = new StatefulSessionContext();
  ^
 
 The same ear file deploys without any problem under the j2ee server.
 
 Thanks,
 Daniel G. Chandran
 Reuters Online Solutions.
 
 


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/




Re: StatefulSession Bean Deployment problem

2002-03-12 Thread Daniel Chandran


Ray,

Yes it is the CartApp.ear  from the j2ee tutorial.  And I am trying it
under Orion 1.5.4.   I rebuilt  the ear file without
the j2ee-ri specific files.   I set up a  tree similar to the hello-planet
tutorial, and modified the build.xml of
the tutorial to build the  ear.

Were you able to deploy under Orion 1.5.4, and if so what exactly are the
steps you followed.

Thanks,
Daniel



Daniel -
Are you refering to the CartApp.ear from the j2ee tutorial for jdk1.3? If
so, what is your Orion
version? It deploys (haven't tested the functionality) on 1.5.4. Keep in
mind that ear file
deployment might be different across app servers if there are app-server
specific components
contained in it. For instance if there are j2ee-ri specific requirements
for this app (which I
believe there are), the app may deploy in Orion but you will have to then
adjust the orion config
accordingly. Also keep in mind that Orion isn't yet j2ee1.3 certified and
that 1.5.4 was the first
release to add the up-to-date functionality of that spec and there are
missing pieces and bugs
that they are working through at this point. (Just to keep in mind ;-)

Cheers
Ray
--- Daniel Chandran [EMAIL PROTECTED] wrote:
 I am trying to deploy the cart application that comes with the
 j2eetutorial  package from Sun (not the one
 that comes with Orion) , and get the following error while deploying:

 Auto-deploying cart (New server version detected)...
 Auto-deploying cart-ejb.jar (No previous deployment found)...
 CartHome_StatefulS
 essionHomeWrapper1.java:29: class
 com.evermind.server.ejb.StatefulSessionContext
  is an abstract class. It can't be instantiated.
 StatefulSessionContext context = new StatefulSessionContext();
  ^
 CartHome_StatefulSessionHomeWrapper1.java:92: class
 com.evermind.server.ejb.Stat
 efulSessionContext is an abstract class. It can't be instantiated.
 StatefulSessionContext context = new StatefulSessionContext();
  ^

 The same ear file deploys without any problem under the j2ee server.

 Thanks,
 Daniel G. Chandran
 Reuters Online Solutions.




__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/







Re: StatefulSession Bean Deployment problem

2002-03-12 Thread Ray Harrison

Hi Daniel -
Like I said, I didn't look at it to see if it worked (doubt it does) I was just testing
functionality. I just added the ear file information to the server.xml file and tried 
deploying it
- I didn't rebuild it or anything like that (orion will ignore the j2ee-ri stuff) - 
just the basic
quick/dirty deployment.

Cheers
Ray
--- Daniel Chandran [EMAIL PROTECTED] wrote:
 
 Ray,
 
 Yes it is the CartApp.ear  from the j2ee tutorial.  And I am trying it
 under Orion 1.5.4.   I rebuilt  the ear file without
 the j2ee-ri specific files.   I set up a  tree similar to the hello-planet
 tutorial, and modified the build.xml of
 the tutorial to build the  ear.
 
 Were you able to deploy under Orion 1.5.4, and if so what exactly are the
 steps you followed.
 
 Thanks,
 Daniel
 
 
 
 Daniel -
 Are you refering to the CartApp.ear from the j2ee tutorial for jdk1.3? If
 so, what is your Orion
 version? It deploys (haven't tested the functionality) on 1.5.4. Keep in
 mind that ear file
 deployment might be different across app servers if there are app-server
 specific components
 contained in it. For instance if there are j2ee-ri specific requirements
 for this app (which I
 believe there are), the app may deploy in Orion but you will have to then
 adjust the orion config
 accordingly. Also keep in mind that Orion isn't yet j2ee1.3 certified and
 that 1.5.4 was the first
 release to add the up-to-date functionality of that spec and there are
 missing pieces and bugs
 that they are working through at this point. (Just to keep in mind ;-)
 
 Cheers
 Ray
 --- Daniel Chandran [EMAIL PROTECTED] wrote:
  I am trying to deploy the cart application that comes with the
  j2eetutorial  package from Sun (not the one
  that comes with Orion) , and get the following error while deploying:
 
  Auto-deploying cart (New server version detected)...
  Auto-deploying cart-ejb.jar (No previous deployment found)...
  CartHome_StatefulS
  essionHomeWrapper1.java:29: class
  com.evermind.server.ejb.StatefulSessionContext
   is an abstract class. It can't be instantiated.
  StatefulSessionContext context = new StatefulSessionContext();
   ^
  CartHome_StatefulSessionHomeWrapper1.java:92: class
  com.evermind.server.ejb.Stat
  efulSessionContext is an abstract class. It can't be instantiated.
  StatefulSessionContext context = new StatefulSessionContext();
   ^
 
  The same ear file deploys without any problem under the j2ee server.
 
  Thanks,
  Daniel G. Chandran
  Reuters Online Solutions.
 
 
 
 
 __
 Do You Yahoo!?
 Try FREE Yahoo! Mail - the world's greatest free email!
 http://mail.yahoo.com/
 
 
 


__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/




Error creating web deployment directory ?

2002-03-01 Thread Eddie Post

Hellu,
I updated from Orion 152 to 154

If I start Orion I get the following error when Orion tries to start my 
application:
--
Error initializing site Default Orion WebSite: Error creating deployment 
directory: /web
--

If I de-install my application I don't get the error, but ofcourse this 
isn't what I want

I removed my application from the Orion deployment directory and deployed it 
several times to begin with a clean setup but I keep getting the error

I use Windows 2000 with JNT to start Orion

Any idea what's causing the error ?

Hereunder you find the application lines in the serverxml and 
default-web-sitexml

Eddie

Serverxml:
--
application name=sgs path=//Orion_apps/sgs/dist/make/j2ee  /
--

Default-web-stie:
-
web-app application=sgs name=/web root=/groupsend 
load-on-startup=true /



_
Get your FREE download of MSN Explorer at http://explorermsncom/intlasp;





RE: Error creating web deployment directory ?

2002-03-01 Thread thomas.hertz


Hi!

 If I start Orion I get the following error when Orion tries 
 to start my 
 application:
 --
 Error initializing site Default Orion WebSite: Error creating 
 deployment 
 directory: ../web

try to use absolute instead of 
relative paths in your configuration files.

this solved the problem in our project. 

maybe this is a small bug?

greetings from munich

.thomas

-- 

 hybris GmbH   |  Thomas Hertz
 Frankfurter Ring 162  |  Software Engineering
 D-80807 München   |
   | 
 t +49(0)89 89065-0|  [EMAIL PROTECTED]
 f +49(0)89 89065-555  |  www.hybris.com

 PGP: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E
 
 

 -Original Message-
 From: Eddie Post [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, March 01, 2002 11:22 AM
 To: Orion-Interest
 Subject: Error creating web deployment directory ?
 
 
 Hellu,
 I updated from Orion 1.5.2 to 1.5.4.
 
 --
 
 If I de-install my application I don't get the error, but 
 ofcourse this 
 isn't what I want.
 
 I removed my application from the Orion deployment directory 
 and deployed it 
 several times to begin with a clean setup but I keep getting 
 the error.
 
 I use Windows 2000 with JNT to start Orion.
 
 Any idea what's causing the error ?
 
 Hereunder you find the application lines in the server.xml and 
 default-web-site.xml.
 
 Eddie
 
 Server.xml:
 --
 application name=sgs path=../../Orion_apps/sgs/dist/make/j2ee  /
 --
 
 Default-web-stie:
 -
 web-app application=sgs name=../web root=/groupsend 
 load-on-startup=true /
 
 
 
 _
 Get your FREE download of MSN Explorer at 
 http://explorer.msn.com/intl.asp.
 
 
 




Re: Error creating web deployment directory ?

2002-03-01 Thread Mike Cannon-Brookes

This is a bug in 1.5.4 I think, we've been seeing similar behaviour here.
There's nothing in the spec I don't think about having a module called
../web - I agree it makes it much faster to do development with open
source trees like this ;)

I haven't seen it in bugzilla yet, I'll try to remember to file it in the
morning when I wake up.

Cheers,
Mike

On 1/3/02 9:21 PM, Eddie Post ([EMAIL PROTECTED]) penned the words:

 Hellu,
 I updated from Orion 1.5.2 to 1.5.4.
 
 If I start Orion I get the following error when Orion tries to start my
 application:
 --
 Error initializing site Default Orion WebSite: Error creating deployment
 directory: ../web
 --
 
 If I de-install my application I don't get the error, but ofcourse this
 isn't what I want.
 
 I removed my application from the Orion deployment directory and deployed it
 several times to begin with a clean setup but I keep getting the error.
 
 I use Windows 2000 with JNT to start Orion.
 
 Any idea what's causing the error ?
 
 Hereunder you find the application lines in the server.xml and
 default-web-site.xml.
 
 Eddie
 
 Server.xml:
 --
 application name=sgs path=../../Orion_apps/sgs/dist/make/j2ee  /
 --
 
 Default-web-stie:
 -
 web-app application=sgs name=../web root=/groupsend
 load-on-startup=true /
 
 
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp;
 
 





General Question about Enterprise Deployment of Orion

2002-02-28 Thread Garrett Skelly

Guys  Gals,

has anyone deployed Orion in and enterprise environment? While trying to
deploy our application we have encountered a MEMORY LEAK TYPE PROBLEM
where EJBs are maintained in Memory and not released - in addition the
config of the max-instances in memory does not work - this is a fundamental
configuration problem when deploying an application. Has anyone encountered
it or is my version OC4J 1.0.2.2.1 a gremlin?

Garrett




Re: General Question about Enterprise Deployment of Orion

2002-02-28 Thread Ray Harrison

Hi Garrett -
I believe this does work in Orion, at least I haven't had any known problems with it. 
(I'm using 1.5.4)

Cheers
Ray
--- Garrett Skelly [EMAIL PROTECTED] wrote:
 Guys  Gals,
 
 has anyone deployed Orion in and enterprise environment? While trying to
 deploy our application we have encountered a MEMORY LEAK TYPE PROBLEM
 where EJBs are maintained in Memory and not released - in addition the
 config of the max-instances in memory does not work - this is a fundamental
 configuration problem when deploying an application. Has anyone encountered
 it or is my version OC4J 1.0.2.2.1 a gremlin?
 
 Garrett
 


__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com




Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-20 Thread Morten Wilken



im very impressed with ed romans enterprise 
javabeans 2.0... one of the best computerbooks ive ever read.

sincerely
morten wilken

  - Original Message - 
  From: 
  B.Adji 
  Maharyatno 
  To: Orion-Interest 
  Sent: Wednesday, February 20, 2002 7:04 
  AM
  Subject: RE: Orion 1.5.4 Local/LocalHome 
  with BMP - deployment problem
  
  Can 
  add:
  
  Special Edition Using EJB 2.0 [Que].
  
  Professional Java EE 1.3 is kind of everything-in-one, not so focus on 
  EJB development.
  I 
  like the Enterprise Javabeans 3ed, OReilly most, as it's easy to bring for 
  travel but covers EJB in neutral way (or at least to Sun J2EE RI 
  1.3).
  Others, I found rather specific to other EJB implementation. 
  
  The 
  author also provide workbook for implementation to EJB Containers (like WL, WS 
  and J2EE RI).
  
  Another book specific to Oracle implementation (which quite similiar to 
  Orion), is Oracle9i Web Development.
  
  Cheers.
  
  
-Original Message-From: Jorge De Flon 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 20, 2002 
9:53 AMTo: Orion-InterestSubject: Re: Orion 1.5.4 
Local/LocalHome with BMP - deployment problem
Mastering EJB 2ed (Ed Roman, etc.) [AW]
Enterprise Java Beans de Oreilly 3ed
Professional EJB wrox
Professional Java EE 1.3 [Wrox]

I am just reading them all and I like the first the most
regards




  - Original Message - 
  From: 
  Robert S. 
  Sfeir 
  To: Orion-Interest 
  Sent: Tuesday, February 19, 2002 
  11:41 AM
  Subject: Re: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  
  2) can u pls suggest some good 
  books/online material to EJB basics
  
  http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/


RE: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-19 Thread Kutzera, Dieter-Norbert



You 
can use findBy- and create-Methods but not additional ejbHome-Methods which are 
new in EJB2.0 spec.

Dieter

  -Original Message-From: David Tunkrans 
  [mailto:[EMAIL PROTECTED]]Sent: Montag, 18. Februar 2002 
  18:29To: Orion-InterestSubject: Re: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  Thanks for the reply. Does this mean that you 
  cantuse findBy-methods on the localhome inteface? 
  
  /David
  
  public interface ProductLocalHome extends 
  EJBLocalHome{ public static final String PRODUCT = 
  "ejb/ProductLocal"; public static final String JNDI_PRODUCT = 
  "java:comp/env/ejb/ProductLocal";
  
   /** * * 
  @param name  * @return  */ public 
  ProductLocal findByPrimaryKey(Integer id) throws 
  FinderException;}
  
  
  - Original Message - 
  
From: 
Kutzera, Dieter-Norbert 

To: Orion-Interest 
Sent: Monday, February 18, 2002 4:05 
PM
Subject: RE: Orion 1.5.4 
Local/LocalHome with BMP - deployment problem

... are you using ejbHome-methods? I think there is a bug in 
orion 1.5.4 . It it not possible to use ejbHome-methods in local 
home-interfaces. When you remove the declaration of this methods everythink 
should work.

I 
hopethe bug is fixes rapidly!

Dieter

  -Original Message-From: David Tunkrans 
  [mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
  14:17To: Orion-InterestSubject: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  EntityBean with BMP and Local/LocalHome etc. 
  Doesnt compile, some internal error...
  
  Does anyone have an ideaof what could 
  be the cause of the error?
  
  /David
  
  Auto-unpacking 
  E:\cygwin\usr\local\java\orion\applications\app.ear... 
  done.Auto-unpacking 
  E:\cygwin\usr\local\java\orion\applications\app\webApp.war... 
  done.Auto-deploying app (Assembly had been 
  updated)...Auto-deploying product.jar (No previous deployment 
  found)...Found 1 semantic error compiling 
  "E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":
  
   156. EvermindEntityContext 
  finderContext = 
  this.getContextInstance(thread); 
  -*** Error: The method 
  "com.evermind.server.ejb.EvermindEntityContext 
  getContextInstance(com.evermind.server.ThreadState $1);" can throw 
  thechecked exception "java/rmi/RemoteException", but its invocation is 
  neither enclosed in a try statement that can catch that exception nor 
  ithe body of a method or constructor that "throws" that 
  exception.Error compiling 
  E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in 
  source
  


orion-ejb-jar.xml, ejb-jar.xml and deployment

2002-02-19 Thread Vipul Sagare

I have seen discussion on this topic but I was not able to get working
solution for me.  Here is my problem:

I have OC4J. I have an application where I have deployed few CMP EJBS.
At present, there are NO orion-xxx.xml deployment descriptors(DD). 
Now, I would like to introduce orion specific DDs where I can use Orion
specific tags (example: EJBs. CMP field name- UserName and persistence
name- user_name).  What is recommended/or correct process?  

The process I followed and did NOT work for me.
- Deploy application.
- Copy orion-ejb-jar.xml from deployment and just keep the EJB tag
which I want change. Put this xml file at the same place as ejb.jar.xml
- Change the EJB code.
- Use ant to build .ear file and deploy.

The changes in orion-ejb.jar.xml do NOT get into the deployed DD.


I also came across Xdoclet. But could not proceed without any luck.
Your help is appreciated.

Thank you.
Vipul
 

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com




Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-19 Thread Robert S. Sfeir



2) can u pls suggest some good books/online 
material to EJB basics

http://developer.java.sun.com/developer/onlineTraining/Beans/EJBTutorial/


RE: orion-ejb-jar.xml, ejb-jar.xml and deployment

2002-02-19 Thread The elephantwalker

Vipul,

Orion will not copy over an old orion-ejb-jar.xml file. So if you redeploy,
if you don't blow away the previous deployment, you are still on the old
file. This could be your problem.

Regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vipul Sagare
Sent: Tuesday, February 19, 2002 8:58 AM
To: Orion-Interest
Subject: orion-ejb-jar.xml, ejb-jar.xml and deployment


I have seen discussion on this topic but I was not able to get working
solution for me.  Here is my problem:

I have OC4J. I have an application where I have deployed few CMP EJBS.
At present, there are NO orion-xxx.xml deployment descriptors(DD).
Now, I would like to introduce orion specific DDs where I can use Orion
specific tags (example: EJBs. CMP field name- UserName and persistence
name- user_name).  What is recommended/or correct process?

The process I followed and did NOT work for me.
- Deploy application.
- Copy orion-ejb-jar.xml from deployment and just keep the EJB tag
which I want change. Put this xml file at the same place as ejb.jar.xml
- Change the EJB code.
- Use ant to build .ear file and deploy.

The changes in orion-ejb.jar.xml do NOT get into the deployed DD.


I also came across Xdoclet. But could not proceed without any luck.
Your help is appreciated.

Thank you.
Vipul


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com





Re: orion-ejb-jar.xml, ejb-jar.xml and deployment

2002-02-19 Thread Scott Farquhar

Vipul,

There is a new knowledge base document available describing how it work 
with orion-XXX.xml files.

You can find it here:
   http://kb.atlassian.com/content/atlassian/howto/orionxml.jsp

Cheers,
Scott


Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World


The elephantwalker wrote:

 Vipul,
 
 Orion will not copy over an old orion-ejb-jar.xml file. So if you redeploy,
 if you don't blow away the previous deployment, you are still on the old
 file. This could be your problem.
 
 Regards,
 
 the elephantwalker
 www.elephantwalker.com
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Vipul Sagare
 Sent: Tuesday, February 19, 2002 8:58 AM
 To: Orion-Interest
 Subject: orion-ejb-jar.xml, ejb-jar.xml and deployment
 
 
 I have seen discussion on this topic but I was not able to get working
 solution for me.  Here is my problem:
 
 I have OC4J. I have an application where I have deployed few CMP EJBS.
 At present, there are NO orion-xxx.xml deployment descriptors(DD).
 Now, I would like to introduce orion specific DDs where I can use Orion
 specific tags (example: EJBs. CMP field name- UserName and persistence
 name- user_name).  What is recommended/or correct process?
 
 The process I followed and did NOT work for me.
 - Deploy application.
 - Copy orion-ejb-jar.xml from deployment and just keep the EJB tag
 which I want change. Put this xml file at the same place as ejb.jar.xml
 - Change the EJB code.
 - Use ant to build .ear file and deploy.
 
 The changes in orion-ejb.jar.xml do NOT get into the deployed DD.
 
 
 I also came across Xdoclet. But could not proceed without any luck.
 Your help is appreciated.
 
 Thank you.
 Vipul
 
 
 __
 Do You Yahoo!?
 Yahoo! Sports - Coverage of the 2002 Olympic Games
 http://sports.yahoo.com
 
 
 
 


-- 





RE: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-18 Thread Kutzera, Dieter-Norbert



... are you using ejbHome-methods? I think there is a bug in orion 
1.5.4 . It it not possible to use ejbHome-methods in local home-interfaces. When 
you remove the declaration of this methods everythink should 
work.

I 
hopethe bug is fixes rapidly!

Dieter

  -Original Message-From: David Tunkrans 
  [mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
  14:17To: Orion-InterestSubject: Orion 1.5.4 
  Local/LocalHome with BMP - deployment problem
  EntityBean with BMP and Local/LocalHome etc. 
  Doesnt compile, some internal error...
  
  Does anyone have an ideaof what could be 
  the cause of the error?
  
  /David
  
  Auto-unpacking 
  E:\cygwin\usr\local\java\orion\applications\app.ear... done.Auto-unpacking 
  E:\cygwin\usr\local\java\orion\applications\app\webApp.war... 
  done.Auto-deploying app (Assembly had been updated)...Auto-deploying 
  product.jar (No previous deployment found)...Found 1 semantic error 
  compiling 
  "E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":
  
   156. EvermindEntityContext 
  finderContext = 
  this.getContextInstance(thread); 
  -*** Error: The method 
  "com.evermind.server.ejb.EvermindEntityContext 
  getContextInstance(com.evermind.server.ThreadState $1);" can throw 
  thechecked exception "java/rmi/RemoteException", but its invocation is 
  neither enclosed in a try statement that can catch that exception nor 
  ithe body of a method or constructor that "throws" that 
  exception.Error compiling 
  E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in 
  source
  


Re: Orion 1.5.4 Local/LocalHome with BMP - deployment problem

2002-02-18 Thread David Tunkrans



Thanks for the reply. Does this mean that you 
cantuse findBy-methods on the localhome inteface? 

/David

public interface ProductLocalHome extends 
EJBLocalHome{ public static final String PRODUCT = 
"ejb/ProductLocal"; public static final String JNDI_PRODUCT = 
"java:comp/env/ejb/ProductLocal";

 /** * * 
@param name  * @return  */ public 
ProductLocal findByPrimaryKey(Integer id) throws 
FinderException;}


- Original Message - 

  From: 
  Kutzera, Dieter-Norbert 
  
  To: Orion-Interest 
  Sent: Monday, February 18, 2002 4:05 
  PM
  Subject: RE: Orion 1.5.4 Local/LocalHome 
  with BMP - deployment problem
  
  ... are you using ejbHome-methods? I think there is a bug in 
  orion 1.5.4 . It it not possible to use ejbHome-methods in local 
  home-interfaces. When you remove the declaration of this methods everythink 
  should work.
  
  I 
  hopethe bug is fixes rapidly!
  
  Dieter
  
-Original Message-From: David Tunkrans 
[mailto:[EMAIL PROTECTED]]Sent: Sonntag, 17. Februar 2002 
14:17To: Orion-InterestSubject: Orion 1.5.4 
Local/LocalHome with BMP - deployment problem
EntityBean with BMP and Local/LocalHome etc. 
Doesnt compile, some internal error...

Does anyone have an ideaof what could be 
the cause of the error?

/David

Auto-unpacking 
E:\cygwin\usr\local\java\orion\applications\app.ear... 
done.Auto-unpacking 
E:\cygwin\usr\local\java\orion\applications\app\webApp.war... 
done.Auto-deploying app (Assembly had been updated)...Auto-deploying 
product.jar (No previous deployment found)...Found 1 semantic error 
compiling 
"E:/cygwin/usr/local/java/orion/ProductLocalHome_EntityHomeWrapper31.java":

 156. EvermindEntityContext 
finderContext = 
this.getContextInstance(thread); 
-*** Error: The method 
"com.evermind.server.ejb.EvermindEntityContext 
getContextInstance(com.evermind.server.ThreadState $1);" can throw 
thechecked exception "java/rmi/RemoteException", but its invocation is 
neither enclosed in a try statement that can catch that exception nor 
ithe body of a method or constructor that "throws" that 
exception.Error compiling 
E:\cygwin\usr\local\java\orion\applications\app/product.jar: Error in 
source



Re: Re: Very Long Deployment Time

2001-12-19 Thread Gustavo Comba



Hello,

 Thanks for your answer. I've 
tryed almost everything! I've added more RAM to my AppServer, now I'm deploying 
directly from the console, using 

java.exe -jar admin.jar ormi://ias/ admin 
x -deploy -file C:\jdev\InfinitumDoor\AppIntranet\IntranetApplication.ear 
-deploymentName IntranetApplication

 butit's taking very long 
time.

 What I don't know is how to use 
"jikes". I've alwas used the standardJava distribution from Sun. Any 
clue?

 Thanks in advance,

  
 Gustavo Comba

  - Original Message - 
  From: 
  Rice, Ted 
  
  To: Orion-Interest 
  Sent: Monday, December 17, 2001 11:50 
  PM
  Subject: RE: Very Long Deployment 
  Time
  
  try using jikes for your compiler inside
  of orion. we experience similar delays in
  deployment and using jikes cut deployment
  time to about 10% of the original time.
  
  ./ted 
  
-Original Message-From: Gustavo Comba 
[mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
Time
Hello,

 I'm deployinga little 
project with a Client Application Module and a EJB Module with several EJB 
(about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
Cantidate to develop/deploy my project.

 My project compiles very 
fast, but when I do the deployment, it take a very long time (about 10 
minutes). I'm debugging now, and I'm deploying continously, and it's very 
anoying!

 There is something I can do 
to accelerate the deployment proccess? Can I copy the .ear file directly 
into the "applications" directory and start the server again? Help me 
please!

 Thanks in 
advance,

  
 Gustavo 
Comba


RE: Re: Very Long Deployment Time

2001-12-19 Thread Rice, Ted



you will need to download jikes
from their site and then add a element
in ./orion/config/server.xml similar to:


compiler executable="c:/java/jikes/bin/jikes.exe" classpath="c:/java/jdk1.3.1/jre/lib/rt.jar"/
./ted 

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 
  8:04 AMTo: Orion-InterestSubject: Re: Re: Very Long 
  Deployment Time
  Hello,
  
   Thanks for your answer. I've 
  tryed almost everything! I've added more RAM to my AppServer, now I'm 
  deploying directly from the console, using 
  
  java.exe -jar admin.jar ormi://ias/ admin 
  x -deploy -file C:\jdev\InfinitumDoor\AppIntranet\IntranetApplication.ear 
  -deploymentName IntranetApplication
  
   butit's taking very long 
  time.
  
   What I don't know is how to 
  use "jikes". I've alwas used the standardJava distribution from Sun. Any 
  clue?
  
   Thanks in 
advance,
  

   Gustavo Comba
  
- Original Message - 
From: 
Rice, Ted 

To: Orion-Interest 
Sent: Monday, December 17, 2001 11:50 
PM
Subject: RE: Very Long Deployment 
Time

try using jikes for your compiler inside
of orion. we experience similar delays in
deployment and using jikes cut deployment
time to about 10% of the original time.

./ted 

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 
  2001 8:34 AMTo: Orion-InterestSubject: Very Long 
  Deployment Time
  Hello,
  
   I'm deployinga 
  little project with a Client Application Module and a EJB Module with 
  several EJB (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i 
  Release Cantidate to develop/deploy my project.
  
   My project compiles very 
  fast, but when I do the deployment, it take a very long time (about 10 
  minutes). I'm debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can 
  do to accelerate the deployment proccess? Can I copy the .ear file 
  directly into the "applications" directory and start the server again? 
  Help me please!
  
   Thanks in 
  advance,
  

   Gustavo 
Comba


RE: Very Long Deployment Time

2001-12-18 Thread geoff



Like 
others on this list, I don't share your problem. I redeploy the entire EAR 
using Ant, and the redeploy process for our project takes less than ten 
seconds. Your project might be larger than mine, at this point, but not so 
much that it should cause the kind of delay you're finding.

I 
don't know much about JDeveloper, but once your project is compiled, you should 
be able to place it in the applications directory and have Orion deploy it 
rapidly, without restarting Orion, assuming Orion's configured 
appropriately.

 - Geoffrey

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
  11:34 AMTo: Orion-InterestSubject: Very Long Deployment 
  Time
  Hello,
  
   I'm deployinga little 
  project with a Client Application Module and a EJB Module with several EJB 
  (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
  Cantidate to develop/deploy my project.
  
   My project compiles very fast, 
  but when I do the deployment, it take a very long time (about 10 minutes). I'm 
  debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can do to 
  accelerate the deployment proccess? Can I copy the .ear file directly into the 
  "applications" directory and start the server again? Help me 
  please!
  
   Thanks in 
advance,
  

   Gustavo 
  Comba_This 
  message has been checked for all known viruses by the MessageLabs Virus 
  Scanning Service. For further information visithttp://www.messagelabs.com/stats.asp


_
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit

http://www.messagelabs.com/stats.asp




RE: Very Long Deployment Time

2001-12-18 Thread Jarrod Roberson
Title: Message



it is 
VERY slow to deploy using the ORMI commands, it takes 
FOREVER.
it is 
much faster to use ANT to deploy via coping or ftping the .ear or .war files to 
orion directly.

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of Peter 
  DunnSent: Monday, December 17, 2001 2:27 PMTo: 
  Orion-InterestSubject: RE: Very Long Deployment 
  Time
  I've 
  used delegates for the implementation logic from the EJB classes and created 
  abatch file that re-packages the delegate classes into the .jar file. It 
  takes less than 5 seconds for redeployment, only when I've changed my 
  interface do I redeploy the EJB, I've also done something similiar on 
  the web side of things minus the delegate bit. So my deployment looks 
  something like this.
  
  ejb 
  MyClassDelegate package-name
  5 
  seconds
  web 
  MyClassServlet package-name
  2-4 
  seconds
  
  were 
  ejb and web are the names of my batch files.
  
  MyClassEJB
  ...
   public void doSomething()
   {
   delegate.doSomething();
   }
  }
  
-Original Message-From: Gustavo Comba 
[mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
Time
Hello,

 I'm deployinga little 
project with a Client Application Module and a EJB Module with several EJB 
(about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
Cantidate to develop/deploy my project.

 My project compiles very 
fast, but when I do the deployment, it take a very long time (about 10 
minutes). I'm debugging now, and I'm deploying continously, and it's very 
anoying!

 There is something I can do 
to accelerate the deployment proccess? Can I copy the .ear file directly 
into the "applications" directory and start the server again? Help me 
please!

 Thanks in 
advance,

  
 Gustavo 
Comba


RE: Very Long Deployment Time

2001-12-17 Thread Peter Dunn



I've 
used delegates for the implementation logic from the EJB classes and created 
abatch file that re-packages the delegate classes into the .jar file. It 
takes less than 5 seconds for redeployment, only when I've changed my interface 
do I redeploy the EJB, I've also done something similiar on the web side 
of things minus the delegate bit. So my deployment looks something like 
this.

ejb 
MyClassDelegate package-name
5 
seconds
web MyClassServlet 
package-name
2-4 
seconds

were 
ejb and web are the names of my batch files.

MyClassEJB
...
 
public void doSomething()
 
{
 delegate.doSomething();
 
}
}

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
  8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
  Time
  Hello,
  
   I'm deployinga little 
  project with a Client Application Module and a EJB Module with several EJB 
  (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
  Cantidate to develop/deploy my project.
  
   My project compiles very fast, 
  but when I do the deployment, it take a very long time (about 10 minutes). I'm 
  debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can do to 
  accelerate the deployment proccess? Can I copy the .ear file directly into the 
  "applications" directory and start the server again? Help me 
  please!
  
   Thanks in 
advance,
  

   Gustavo Comba


RE: Very Long Deployment Time

2001-12-17 Thread The elephantwalker



It 
shouldn't take this long. So there is some problem. Make sure that you have 
enough memory, and you aren't paging during the deploy.

I do 
not use jdeveloper to deploy applications during development. I use ant. It 
could be there is some hangup with jdeveloper during the deploy. 


Also, 
separate your ejb entity beans in ejb.jar's from your session ejb.jar's. The 
entity beans do not often change, but the session ejb.jar's do change all the 
time. you can copy the ejb.jar for your session beans directly to your 
enterprise deployment directory (created during the unjaring of the ear file), 
and oc4j/orion will redeploy this jar file, while leaving the other jar files 
alone.

regards,

the 
elephantwalker
www.elephantwalker.com


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Gustavo 
  CombaSent: Monday, December 17, 2001 8:34 AMTo: 
  Orion-InterestSubject: Very Long Deployment 
  Time
  Hello,
  
   I'm deployinga little 
  project with a Client Application Module and a EJB Module with several EJB 
  (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
  Cantidate to develop/deploy my project.
  
   My project compiles very fast, 
  but when I do the deployment, it take a very long time (about 10 minutes). I'm 
  debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can do to 
  accelerate the deployment proccess? Can I copy the .ear file directly into the 
  "applications" directory and start the server again? Help me 
  please!
  
   Thanks in 
advance,
  

   Gustavo Comba


RE: Very Long Deployment Time

2001-12-17 Thread Rice, Ted



try using jikes for your compiler inside
of orion. we experience similar delays in
deployment and using jikes cut deployment
time to about 10% of the original time.

./ted 

  -Original Message-From: Gustavo Comba 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
  8:34 AMTo: Orion-InterestSubject: Very Long Deployment 
  Time
  Hello,
  
   I'm deployinga little 
  project with a Client Application Module and a EJB Module with several EJB 
  (about 30 Entity and 5 Session Beans). I'm using JDeveloper 9i Release 
  Cantidate to develop/deploy my project.
  
   My project compiles very fast, 
  but when I do the deployment, it take a very long time (about 10 minutes). I'm 
  debugging now, and I'm deploying continously, and it's very 
  anoying!
  
   There is something I can do to 
  accelerate the deployment proccess? Can I copy the .ear file directly into the 
  "applications" directory and start the server again? Help me 
  please!
  
   Thanks in 
advance,
  

   Gustavo Comba


Re: Deployment Exception

2001-11-26 Thread Alexandru Balut

On Wednesday 21 November 2001 23:40, you wrote:
 shutdown the server
 delete the .ear file in applications
 delete the directory in applications
 delete the directory(ies) in application-deployments
 startup the server ( it should complain about not finding the ear )
 shut it down
 copy .ear file to applications
 restart server

 we have intermittent problems with deployments not taking full effect
 or being corrupted occasionally this always solves any wierd problems

 Sometimes we needed to delete the tables in the database... when the 
stateful entity beans changed. (Using HypersonicSQL)

Alex




Deployment Exception

2001-11-21 Thread geoff

I'm having issues with my EAR deployment all of a sudden -- when Orion
attempts to unpack and deploy the EAR, it throws an exception:

Auto-deploying thesquare-ejb.jar (ejb-jar.xml had been touched since the
previou
s deployment)... java.lang.IllegalArgumentException: Cannot convert from
class j
ava.lang.Object to class java.lang.String
at com.evermind._bz._ldb(Unknown Source)
at com.evermind._ql._lvb(Unknown Source)
at com.evermind._qk._lvb(Unknown Source)
at com.evermind._ao._bb(Unknown Source)
at com.evermind._pw._bb(Unknown Source)
at com.evermind._px._bb(Unknown Source)
at com.evermind._au._bb(Unknown Source)
at com.evermind._dq._qzb(Unknown Source)
at com.evermind._ck._qzb(Unknown Source)
at com.evermind._ck._at(Unknown Source)
at com.evermind.server.ApplicationServer._as(Unknown Source)
at com.evermind.server.ApplicationServer._wl(Unknown Source)
at com.evermind.server.ApplicationServer._at(Unknown Source)
at com.evermind._in.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.evermind._if.run(Unknown Source)

With no way to diagnose this, I'm largely stuck.  Suggestions?

- Geoffrey Wiseman

__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it.  Build it.  Work it.






RE: Deployment Exception

2001-11-21 Thread jroberson
Title: RE: Deployment Exception





shutdown the server
delete the .ear file in applications
delete the directory in applications
delete the directory(ies) in application-deployments
startup the server ( it should complain about not finding the ear )
shut it down
copy .ear file to applications
restart server


we have intermittent problems with deployments not taking full effect
or being corrupted occasionally this always solves any wierd problems


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 12:26 PM
To: Orion-Interest
Subject: Deployment Exception



I'm having issues with my EAR deployment all of a sudden -- when Orion
attempts to unpack and deploy the EAR, it throws an exception:


Auto-deploying thesquare-ejb.jar (ejb-jar.xml had been touched since the
previou
s deployment)... java.lang.IllegalArgumentException: Cannot convert from
class j
ava.lang.Object to class java.lang.String
 at com.evermind._bz._ldb(Unknown Source)
 at com.evermind._ql._lvb(Unknown Source)
 at com.evermind._qk._lvb(Unknown Source)
 at com.evermind._ao._bb(Unknown Source)
 at com.evermind._pw._bb(Unknown Source)
 at com.evermind._px._bb(Unknown Source)
 at com.evermind._au._bb(Unknown Source)
 at com.evermind._dq._qzb(Unknown Source)
 at com.evermind._ck._qzb(Unknown Source)
 at com.evermind._ck._at(Unknown Source)
 at com.evermind.server.ApplicationServer._as(Unknown Source)
 at com.evermind.server.ApplicationServer._wl(Unknown Source)
 at com.evermind.server.ApplicationServer._at(Unknown Source)
 at com.evermind._in.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
 at com.evermind._if.run(Unknown Source)


With no way to diagnose this, I'm largely stuck. Suggestions?


 - Geoffrey Wiseman


__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it. Build it. Work it.






RE: deployment tool

2001-11-20 Thread DeVincentiis Giustino

Hi,
you can try Ant (http://jakarta.apache.org/ant/)

Giustino

  -Original Message-
  From: kamsky@yahoo [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 20, 2001 6:54 AM
  To: Orion-Interest
  Subject: deployment tool
  
  
  Hi,
  
  Is there a deployment tool that is easier than j2sdkee1.3?
  What is it?
  
  Thanks
  
  
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
  
  




Re: deployment tool

2001-11-20 Thread Jose Mena

does orion support the new ejb 2.0 version?
- Original Message - 
From: DeVincentiis Giustino [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 8:50 AM
Subject: RE: deployment tool


 Hi,
 you can try Ant (http://jakarta.apache.org/ant/)
 
 Giustino
 
   -Original Message-
   From: kamsky@yahoo [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, November 20, 2001 6:54 AM
   To: Orion-Interest
   Subject: deployment tool
   
   
   Hi,
   
   Is there a deployment tool that is easier than j2sdkee1.3?
   What is it?
   
   Thanks
   
   
   _
   Do You Yahoo!?
   Get your free @yahoo.com address at http://mail.yahoo.com
   
   
 





Re: deployment tool

2001-11-20 Thread Eddie

The best there is :)

I luve it

Eddie
- Original Message - 
From: DeVincentiis Giustino [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 8:50 AM
Subject: RE: deployment tool


 Hi,
 you can try Ant (http://jakarta.apache.org/ant/)
 
 Giustino
 
   -Original Message-
   From: kamsky@yahoo [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, November 20, 2001 6:54 AM
   To: Orion-Interest
   Subject: deployment tool
 
 
   Hi,
 
   Is there a deployment tool that is easier than j2sdkee1.3?
   What is it?
 
   Thanks
 
 
   _
   Do You Yahoo!?
   Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 
 




Re: deployment tool

2001-11-20 Thread ???

I'm usin orion 1.2.2..
How can I deploy class files? Is there and deployment tool?



- Original Message - 
From: DeVincentiis Giustino [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 4:50 PM
Subject: RE: deployment tool


 Hi,
 you can try Ant (http://jakarta.apache.org/ant/)
 
 Giustino
 
   -Original Message-
   From: kamsky@yahoo [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, November 20, 2001 6:54 AM
   To: Orion-Interest
   Subject: deployment tool
   
   
   Hi,
   
   Is there a deployment tool that is easier than j2sdkee1.3?
   What is it?
   
   Thanks
   
   
   _
   Do You Yahoo!?
   Get your free @yahoo.com address at http://mail.yahoo.com
   
   
 
 




deployment tool

2001-11-19 Thread [EMAIL PROTECTED]

Hi,

Is there a deployment tool that is easier than j2sdkee1.3?
What is it?

Thanks


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





Presentation Business tier JSP-Servlet Deployment

2001-10-19 Thread Prashant Gaikwad

Hello friends
   I'm developing a system which contains JSP's that hold
presentation code and business code is governed by servlets-java bean
combination.
The web server is Oracle HTTP server(uses apache) which is part of Oracle
9iAS. 

Now requirment says that the presentation JSP's will be deployed on Apcahe
web server and servlets-java beans holding bisuness workflow logic to be
deployed on J2EE container i.e OC4J or Orion.

Note: Complete deployment will be on single machine. 

My questions are -: 
1.) Is the usage of two web servers (apcahe  OC4J) advisable. If yes/No
then why ? 
2.) If application is deployed in two diffrent web server context  what
would be the practical problems during the development.

Pl, respond urgently

Many thanks
Prashant


   





Re: Presentation Business tier JSP-Servlet Deployment

2001-10-19 Thread Sebastiano Pilla

At 11.52 19/10/2001, Prashant Gaikwad wrote:
Now requirment says that the presentation JSP's will be deployed on Apcahe
web server and servlets-java beans holding bisuness workflow logic to be
deployed on J2EE container i.e OC4J or Orion.

Why this requirement? Be very careful not to mistake Apache the web server 
proper (that cannot serve JSP at all) for the bastardized Oracle HTTP 
Server (that comes installed with JServ).

I don't know how could you serve JSPs with Apache, and I don't believe 
you'll want to use JServ thru Oracle HTTP Server, once you discover how old 
and unsupported it is...

1.) Is the usage of two web servers (apcahe  OC4J) advisable. If yes/No
then why ?

I'm using Apache to serve static content (HTML, images, Flash, etc.) and 
Orion to serve JSP and servlets, and to run the business logic of my 
application. Apache is configured as a front-end to Orion thru mod_proxy. 
The main benefit is that Orion doesn't get bothered with serving static 
content.

2.) If application is deployed in two diffrent web server context  what
would be the practical problems during the development.

I apologize if I'm misunderstanding your question, but I strongly get the 
impression that you believe that Apache is a JSP container. It is not, 
Apache isn't a web server context in the J2EE sense of the word context.

Sebastiano Pilla
E-TREE S.p.a.  Via Fonderia 43 - 31100 Treviso (Italy)
phone +39.0422.3107  fax   +39.0422.310888
http://www.e-tree.com  http://www.webanana.com





Deployment performance

2001-10-04 Thread Alex Bairov

Hello,

  We are deploying .ear containing 12 ejb .jars and 1 .war. It
  takes 3 minutes to deploy, even if I have changed only one .jar.
  Could I speed this up somehow?

-- 
Best regards,
Alex Bairov





RE: Deployment performance

2001-10-04 Thread Komal Kandi (Contractor)

Try with jikes it will be help u speed up deployement.


-Original Message-
From: Alex Bairov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 9:36 AM
To: Orion-Interest
Subject: Deployment performance


Hello,

  We are deploying .ear containing 12 ejb .jars and 1 .war. It
  takes 3 minutes to deploy, even if I have changed only one .jar.
  Could I speed this up somehow?

-- 
Best regards,
Alex Bairov








Re: Deployment performance

2001-10-04 Thread Stephen Davidson

Alex Bairov wrote:
 
 Hello,
 
   We are deploying .ear containing 12 ejb .jars and 1 .war. It
   takes 3 minutes to deploy, even if I have changed only one .jar.
   Could I speed this up somehow?
 
 --
 Best regards,
 Alex Bairov

Hi Alex.
When you do your builds, make sure that your unchanged jars are not
touched.  I have my Ant script check to see if the files in a particular
Jar have been updated before it builds that jar.  If it doesn't need to
be rebuilt, the Ant script skips on to the next jar.

-Steve
-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208




RE: entity-deployment in orion-ejb-jar.xml

2001-09-30 Thread Roozbeh Ghaffari

Mayssam,

1. copy-by-value is not only for entity-deployment.
   You can also set it in session-deployment.
2. It means that you are asking the container whether
   or not to clone parameters in EJB calls. The container
   clones all parameters by default because all calls
   are potentially remote calls and in remote calls,
   call by reference (the calling convention that java
   uses for parameter passing) has no meaning. But the
   fact is that call by reference has a great performance
   gain. So, Orion lets you to specify that the container
   should pass parameters by reference.
3. It's obvious that copy-by-value=false have meaning 
   only if the caller and callee are both running in the 
   same JVM.
4. It will cause problems in your application if you have
   relied on the fact that parameters are passed by 
   value. For example if the callee changes the value of 
   parameters. In this scenario changes are reflected in
   actual parameters caller supplied. I think it's better
   to use immutable objects as parameters for remote
   calls to be sure that no changes will happen. I think
   remote objects has no problems if passed as parameters
   in this scenario. (If incorrect someone correct me,
   please)

Regards,
Roozbeh/

P.S. (for Mayssam)
Aaghaa joon khob mioomadi az oossaat 
miporsidi, chera mailing list? ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Mayssam
Sayyadian
Sent: Saturday, September 29, 2001 2:46 PM
To: Orion-Interest
Subject: entity-deployment in orion-ejb-jar.xml


dear all,
i was studying orion-ejb-jar.xml and i found copy-by-value as an
attribute of entity-deployment. according to orion-ejb-jar.xml.html
(/docs/) setting this to false improves the performance of the entity
beans. WHEN can i do this? if my beans have no setter methods in their
remote interface mean that i can ask the container not to copy-by-value
my beans? many thanx.

--MS.



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





entity-deployment in orion-ejb-jar.xml

2001-09-29 Thread Mayssam Sayyadian

dear all,
i was studying orion-ejb-jar.xml and i found copy-by-value as an attribute
of entity-deployment. according to orion-ejb-jar.xml.html (/docs/)
setting this to false improves the performance of the entity beans.
WHEN can i do this? if my beans have no setter methods in their remote
interface mean that i can ask the container not to copy-by-value my beans?
many thanx.

--MS.






Auto-reply: entity-deployment in orion-ejb-jar.xml

2001-09-29 Thread CHRIS.CHELLIAH
I will be out of the office from 10-Sep-2001 to 03-Oct-2001, with limited email and voice mail access. For business matters, please click on the link below to contact the relevant person.
PetStore eXtreme matters :James H. Brooks 
Other business matters, my manager : David L. Johnson 
Thank you.
Chris Chelliah---BeginMessage---

dear all,
i was studying orion-ejb-jar.xml and i found copy-by-value as an attribute
of entity-deployment. according to orion-ejb-jar.xml.html (/docs/)
setting this to false improves the performance of the entity beans.
WHEN can i do this? if my beans have no setter methods in their remote
interface mean that i can ask the container not to copy-by-value my beans?
many thanx.

--MS.




---End Message---


Re: entity-deployment in orion-ejb-jar.xml

2001-09-29 Thread Naresh Sharma

Hi,

I think this option can be set to false only if a bean is being called by
another bean in the same container, because if external client is calling
the method, anyway parameter passing will be pass by value only.


Naresh

- Original Message -
From: Mayssam Sayyadian [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, September 29, 2001 4:16 AM
Subject: entity-deployment in orion-ejb-jar.xml


 dear all,
 i was studying orion-ejb-jar.xml and i found copy-by-value as an attribute
 of entity-deployment. according to orion-ejb-jar.xml.html (/docs/)
 setting this to false improves the performance of the entity beans.
 WHEN can i do this? if my beans have no setter methods in their remote
 interface mean that i can ask the container not to copy-by-value my beans?
 many thanx.

 --MS.









specifying many-to-many mappings in EJB deployment descriptor

2001-09-19 Thread Warren Hedley

Hi folks,

I've just finished implementing a finder that can navigate across a many-to-many
join table, by embedding a SQL statement in the deployment descriptor. This was
based on Tim Drury's useful Advanced Finder Methods article on Orion Support (
http://orionsupport.com/articles/finders.html ). However I would much prefer to
have a direct collection-to-field mapping between the tables, where I could use
a get() method to obtain the collection of matching records rather than a finder.
I've had a look at the examples in the Advanced Object-Relational Mapping article
but am unsure whether they are useful, as they only appear to deal with one-to-many
mappings.

I was hoping someone might help me out by sending the appropriate part of the
deployment descriptor for the following example. It's of course possible that
this can't be done, in which case someone can break the bad news to me.

Say I have two tables Movie and Actor which both have EJ beans associated with
them. The primary key for both tables is a String in a column called id. A
Movie_Actor join table gives a many-to-many mapping between the Movie and
Actor primary keys, which are in columns called Movie_id and Actor_id. I
would like to set up a field movies in the Actor bean of type Collection, that
contains all of the movies associated with the current actor record.

What should the contents of cmp-field-mapping name=movies.../cmp-field-mapping
be?

A secondary question, just in case anyone has run into this.

Will the contents of the movies field be updated if a new Movie record is added
and a new row is added to the Movie_Actor table mapping the current actor to the
new movie? Are there efficiency issues here? Are there any relevant best practices
I should be considering?

Thanks in advance.

-- 
Warren Hedley




User Manager and question about deploying an application and applications-deployment directory

2001-08-14 Thread Bill Clinton

Hello,
 I am trying to get security working as per the instructions on 
OrionSupport.com (http://www.orionsupport.com/articles/usermanager.html) 
and I am having some troubles.  Following these procedures is creating 
some questions about application deployment and the 
applications-deployment directory.

I would first like to ask if the applications-deployments directory is 
specific to orion.  I think it is because I have not seen it in any 
other app servers.  Could someone give me a link that describes its 
purpose and configuration because I cannot find this anywhere.

I have followed step 1 and created a custom user manager that extends 
com.orionsupport.security.SimpleUserManager.

I would like to try to follow step 2, where I add a reference to my user 
manager in orion-application.xml in your orion/application-deployments 
directory for your application, but I can't find this file.  Am I 
supposed to create it?  Was it supposed to be created for me?

Again, if anyone knows of any links to this information, I would 
appreciate it.

Bill









NullPointerException during deployment...

2001-08-08 Thread Alex Paransky

I just spent 3 hours tracking a NullPointerException which occured during
deployment of an ejb-jar.xml (Orion 1.5.2 Windows 2000, JDK 1.3.1).  For the
benefit of everyone else:

If you get a NullPointerException without any other messages from orion
during deployment, check to make sure that any bean entities which are
referenced from deployed beans are also deployed.

For example (EJB2.0 CMP), if you have UserEntityBean which references
AddressEntity, as in:

class UserEntityBean ... {
  public abstract AddressEntity getAddress();
  public abstract void setAddress(AddressEntity address);
}

Make sure that you have also deployed AddressEntity bean in ejb-jar.xml The
same goes for orion-ejb-jar.xml.  Any beans that you reference which are not
deployed might cause a NullPointerException to occur during deployment.

-AP_





Orion auto-deployment issue?

2001-08-05 Thread Evan Jehu



Hi,

We have built an entity bean that simply describes 
a lookup item, we have deployed it (the same classes) a number of times with 
different ejb-names and all seemed good, however I have just traced the root of 
an issue to the orion-ejb-jar.xml file, below illustrates whats 
happening;

From the lookup beans deployment descriptor, notice 
that the same classes are deployed twice with different names;


   
  entity 
  ejb-namesalutation/ejb-name 
  homecom.chryxus.ejb.lookup.LookupHome/home 
  remotecom.chryxus.ejb.lookup.Lookup/remote 
  ejb-classcom.chryxus.ejb.lookup.LookupEJB/ejb-class 
  reentrantFalse/reentrant 
  persistence-typeContainer/persistence-type 
  abstract-schema-name.Lookup/abstract-schema-name 
  prim-key-classjava.lang.String/prim-key-class 
  primkey-fielduoid/primkey-field
  
   
  cmp-fieldfield-nameuoid/field-name/cmp-field 
  cmp-fieldfield-namevalue/field-name/cmp-field 
  cmp-fieldfield-namelmd/field-name/cmp-field 
  /entity
  
   
  entity 
  ejb-namepreferredLanguage/ejb-name 
  homecom.chryxus.ejb.lookup.LookupHome/home 
  remotecom.chryxus.ejb.lookup.Lookup/remote 
  ejb-classcom.chryxus.ejb.lookup.LookupEJB/ejb-class 
  reentrantFalse/reentrant 
  persistence-typeContainer/persistence-type 
  abstract-schema-name.Lookup/abstract-schema-name 
  prim-key-classjava.lang.String/prim-key-class 
  primkey-fielduoid/primkey-field
  
   
  cmp-fieldfield-nameuoid/field-name/cmp-field 
  cmp-fieldfield-namevalue/field-name/cmp-field 
  cmp-fieldfield-namelmd/field-name/cmp-field 
  /entity

from the entity beans deployment descriptor 
snippetdescribing the relationship between contact and its preferred 
language;


  cmp-fieldfield-namepreferredLanguage/field-name/cmp-fieldejb-ref 
  ejb-ref-nameejb/preferredLanguage/ejb-ref-nameejb-ref-typeEntity/ejb-ref-typehomecom.chryxus.ejb.lookup.LookupHome/homeremotecom.chryxus.ejb.lookup.Lookup/remote
  /ejb-ref
cut from 
the orion-ejb-jar.xml for the contact entity bean, notice that the entity-ref 
tag refers to salutation, not preferredLanguage as expected;


  cmp-field-mapping 
  name="preferredLanguage" entity-ref 
  home="salutation"  
  cmp-field-mapping name="preferredLanguage" 
  persistence-name="preferredLanguage" / 
  /entity-ref/cmp-field-mapping

Has anyone else seen this problem?

Can anyone tell me if this is a real issue or are 
we in the wrong for deploying the same classes multiple times (I hope not as it 
save a lot of duplicated code)?

It can be resolved by editing the orion-ejb-jar.xml 
file but I would prefer not to.

Regards
Evan



best way to build a link to work in different deployment configurations??

2001-07-20 Thread Brian Thompson

I have an application that during development is deployed multiple times
with the following...
http://devwebsite/customerApp1
http://devwebsite/customerApp2

In production, I'd like to deploy the applications as...
http://customerApp1
http://customerApp2

In the first case file references would look like the following
img src=/customerApp1/images/logo.gif
while in the second case it should be
img src=/images/logo.gif

My question is what is the best way to handle file references (links,
images, etc) within the application to support both deployments. We could
use the request.getContextPath() as a prefix to all file references
img src=%=request.getContextPath()%/images/logo.gif
but to do this across an entire application seems like extra overhead. It
seems like there should be a more elegant solution. I've scoured the orion
doc to see if there is a way to do this through configuring websites and
webapps, but with no success. Has anyone discovered a better way??

Thanks.






RE: best way to build a link to work in different deployment configurations??

2001-07-20 Thread elephantwalker

Another solution is to create a usr tld/tag for  img

user:img src=/images/logo.gif /

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian Thompson
Sent: Friday, July 20, 2001 8:02 AM
To: Orion-Interest
Subject: best way to build a link to work in different deployment
configurations??.


I have an application that during development is deployed multiple times
with the following...
http://devwebsite/customerApp1
http://devwebsite/customerApp2

In production, I'd like to deploy the applications as...
http://customerApp1
http://customerApp2

In the first case file references would look like the following
img src=/customerApp1/images/logo.gif
while in the second case it should be
img src=/images/logo.gif

My question is what is the best way to handle file references (links,
images, etc) within the application to support both deployments. We could
use the request.getContextPath() as a prefix to all file references
img src=%=request.getContextPath()%/images/logo.gif
but to do this across an entire application seems like extra overhead. It
seems like there should be a more elegant solution. I've scoured the orion
doc to see if there is a way to do this through configuring websites and
webapps, but with no success. Has anyone discovered a better way??

Thanks.







RE: best way to build a link to work in different deployment configurations??

2001-07-20 Thread Patrick Lightbody

Or, to abstract one step further, just have a url tag:

img src=taglib:url url=/images/foo.gif/
a href=taglib:url url=/index.html/

webwork has a tag that does exactly this. It's also a very nice 
framework... check it out.

-Pat

At 08:39 AM 7/20/2001 -0700, elephantwalker wrote:
Another solution is to create a usr tld/tag for  img

user:img src=/images/logo.gif /

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian Thompson
Sent: Friday, July 20, 2001 8:02 AM
To: Orion-Interest
Subject: best way to build a link to work in different deployment
configurations??.


I have an application that during development is deployed multiple times
with the following...
 http://devwebsite/customerApp1
 http://devwebsite/customerApp2

In production, I'd like to deploy the applications as...
 http://customerApp1
 http://customerApp2

In the first case file references would look like the following
 img src=/customerApp1/images/logo.gif
while in the second case it should be
 img src=/images/logo.gif

My question is what is the best way to handle file references (links,
images, etc) within the application to support both deployments. We could
use the request.getContextPath() as a prefix to all file references
 img src=%=request.getContextPath()%/images/logo.gif
but to do this across an entire application seems like extra overhead. It
seems like there should be a more elegant solution. I've scoured the orion
doc to see if there is a way to do this through configuring websites and
webapps, but with no success. Has anyone discovered a better way??

Thanks.





Re: deployment - part2

2001-07-18 Thread Jeanne
-params
  /method
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetEJBHome/method-name
method-params /
  /method
/method-permission
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfHome/method-intf
method-nameremove/method-name
method-params
  method-paramjava.lang.Object/method-param
/method-params
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-nameisCurrentStarted/method-name
method-params /
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetAllTerms/method-name
method-params /
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetEndDate/method-name
method-params
  method-paramjava.lang.String/method-param
/method-params
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetCurrentTerm/method-name
method-params /
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfHome/method-intf
method-namefindByPrimaryKey/method-name
method-params
  method-paramjava.lang.String/method-param
/method-params
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetHandle/method-name
method-params /
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfHome/method-intf
method-nameremove/method-name
method-params
  method-paramjavax.ejb.Handle/method-param
/method-params
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-namegetStartDate/method-name
method-params
  method-paramjava.lang.String/method-param
/method-params
  /method
  trans-attributeNever/trans-attribute
/container-transaction
container-transaction
  method
ejb-nameEntityEJB2/ejb-name
method-intfRemote/method-intf
method-nameremove/method-name
method-params /
  /method
  trans-attributeNever/trans-attribute
/container-transaction
  /assembly-descriptor
/ejb-jar
=
The orion-application.xml is:
?xml version=1.0?
!DOCTYPE orion-application PUBLIC -//Evermind//DTD J2EE Application runtime
1.2//EN http://www.orionserver.com/dtds/orion-application.dtd;

orion-application deployment-version=1.5.2 autocreate-tables=false
ejb-module remote=false path=ejb-jar-ic.jar /
web-module id=war-ic path=war-ic.war /
persistence path=persistence /
principals path=principals.xml /
log
file path=application.log /
/log
namespace-access
read-access
namespace-resource root=
security-role-mapping name=lt;jndi-user-rolegt;
group name=guests /
/security-role-mapping
/namespace-resource
/read-access
write-access
namespace-resource root=
security-role-mapping name=lt;jndi-user-rolegt;
group name=guests /
/security-role-mapping
/namespace-resource
/write-access
/namespace-access
/orion-application

And principals.xml:
?xml version=1.0?
!DOCTYPE principals PUBLIC //Evermind - Orion Principals//
http://www.orionserver.com/dtds/principals.dtd;

principals
groups
guests
/groups
users
anonymous
/users
/principals

Can someone tell me what is wrong/incorrect?

Thank you!
Jeanne




RE: deployment - part2

2001-07-18 Thread Simon Evans

you dont seem to be giving any permissions to your methods.

in the method-permission element you are just listing all the methods but
are not defining the roles with permissions to the methods. you are also not
defining any roles. i would recommend removing the entire method-permission
element from your ejb-jar.xml.
this will allow anyone to access your methods. if you do really want
permission based access, i could help you with the xml.

also regarding the container-transaction element, it seems like you are
listing all your methods and giving them a transaction attribute of Never.
is this really what you want?? i would recommend removing every
container-transaction element from your ejb-jar.xml. This will let it
default to Requires. this is a more likely the transaction attribute you
want.

your ejb-jar.xml file will become nice and small, like this

?xml version=1.0?

!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans
2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'

ejb-jar
  display-namesecondejbJAR/display-name
  enterprise-beans
entity
  display-nameEntityEJB2/display-name
  ejb-nameEntityEJB2/ejb-name
  homeEntityEJB2Home/home
  remoteEntityEJB2/remote
  ejb-classEntityEJB2Bean/ejb-class
  persistence-typeBean/persistence-type
  prim-key-classjava.lang.String/prim-key-class
  reentrantFalse/reentrant
/entity
  /enterprise-beans
/ejb-jar




=
The orion-application.xml is:
?xml version=1.0?
!DOCTYPE orion-application PUBLIC -//Evermind//DTD J2EE Application
runtime
1.2//EN http://www.orionserver.com/dtds/orion-application.dtd;

orion-application deployment-version=1.5.2 autocreate-tables=false
ejb-module remote=false path=ejb-jar-ic.jar /
web-module id=war-ic path=war-ic.war /
persistence path=persistence /
principals path=principals.xml /
log
file path=application.log /
/log
namespace-access
read-access
namespace-resource root=
security-role-mapping
name=lt;jndi-user-rolegt;
group name=guests /
/security-role-mapping
/namespace-resource
/read-access
write-access
namespace-resource root=
security-role-mapping
name=lt;jndi-user-rolegt;
group name=guests /
/security-role-mapping
/namespace-resource
/write-access
/namespace-access
/orion-application

And principals.xml:
?xml version=1.0?
!DOCTYPE principals PUBLIC //Evermind - Orion Principals//
http://www.orionserver.com/dtds/principals.dtd;

principals
groups
guests
/groups
users
anonymous
/users
/principals

Can someone tell me what is wrong/incorrect?

Thank you!
Jeanne




deployment

2001-07-17 Thread Jeanne

If this question has been posted before
please direct me to the archive location.
I did not find any reference to this problem.

I am using Sun's deploytool to create an ear file
that I want to deploy in orion.
The application deploys without difficulty with
the deploytool and Sun's default j2ee server.
(we're using jdk1.3.1 and j2sdkee1.3)
On my first try to deploy with Orion,
I get the following error message,
Illegal use-caller-identity value, legal values are True and False..
So I viewed the ejb-jar.xml file and found that the tag had no value.
Because the error msg gave me values I put 'False' in the tag
and saved the file.
Next I rebuilt the jar file with the modified ejb-jar.xml
and then rebuilt the ear file. I tried this with jar and winzip.
Now on to try and deploy with Orion again,
and this time I get the error message,
Unable to find/read assembly info for
C:\temp\secondejb/mod-secondejb.ear/ejb-jar-ic.jar (META-INF/ejb-jar.xml)

What has happened?

Thank you,
Jeanne




RE: deployment

2001-07-17 Thread elephantwalker

post your ejb-jar.xml file so we can look at it...we need more info.

regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeanne
Sent: Tuesday, July 17, 2001 11:18 AM
To: Orion-Interest
Subject: deployment
Importance: High


If this question has been posted before
please direct me to the archive location.
I did not find any reference to this problem.

I am using Sun's deploytool to create an ear file
that I want to deploy in orion.
The application deploys without difficulty with
the deploytool and Sun's default j2ee server.
(we're using jdk1.3.1 and j2sdkee1.3)
On my first try to deploy with Orion,
I get the following error message,
Illegal use-caller-identity value, legal values are True and False..
So I viewed the ejb-jar.xml file and found that the tag had no value.
Because the error msg gave me values I put 'False' in the tag
and saved the file.
Next I rebuilt the jar file with the modified ejb-jar.xml
and then rebuilt the ear file. I tried this with jar and winzip.
Now on to try and deploy with Orion again,
and this time I get the error message,
Unable to find/read assembly info for
C:\temp\secondejb/mod-secondejb.ear/ejb-jar-ic.jar (META-INF/ejb-jar.xml)

What has happened?

Thank you,
Jeanne





Re: deployment

2001-07-17 Thread Patrick Lightbody

What happened is that you rebuilt the ejb-jar-ic.jar file incorrectly. 
Unjar the original jar (from the deploytool) and then unjar your new jar. 
You'll notice they product different directory structures.

-Pat

At 02:17 PM 7/17/2001 -0400, you wrote:
If this question has been posted before
please direct me to the archive location.
I did not find any reference to this problem.

I am using Sun's deploytool to create an ear file
that I want to deploy in orion.
The application deploys without difficulty with
the deploytool and Sun's default j2ee server.
(we're using jdk1.3.1 and j2sdkee1.3)
On my first try to deploy with Orion,
I get the following error message,
Illegal use-caller-identity value, legal values are True and False..
So I viewed the ejb-jar.xml file and found that the tag had no value.
Because the error msg gave me values I put 'False' in the tag
and saved the file.
Next I rebuilt the jar file with the modified ejb-jar.xml
and then rebuilt the ear file. I tried this with jar and winzip.
Now on to try and deploy with Orion again,
and this time I get the error message,
Unable to find/read assembly info for
C:\temp\secondejb/mod-secondejb.ear/ejb-jar-ic.jar (META-INF/ejb-jar.xml)

What has happened?

Thank you,
Jeanne





EJB COmpiliation and Deployment Help

2001-07-14 Thread Atif Pesh-Imam
Title: EJB COmpiliation and Deployment Help





Hey Folks, 


Im very new to Orion but Im familiar with the J2EE world. I have a framework which has several EJBs that I need to get workign within Orion (actually within 9ioas, but they use Orion's container now). So, my question is as follows. Ive looked around at the existing documentation and Im not clear on the steps I'll need to take to make the beans compatible with Orion.

From what I know about j2ee, I'll have to do the following:
1) Write the app server specific deployment descriptors for each bean
2) Re-compile the EJB using Orion's ejbc and put this into a jar
3) Specify to the app server that I want to deploy the bean
4) Start up and test


Now, step 2 is where Im confused. Is it true that all I have to do is write out the orion deployment descriptors and then orion will takecare of the rest for me? Do I not need to jar everything together?

If I someone could take the time to explain the steps I'll need to go through in order to get my beans working, that would be a huge help.

Thanks!


-artie



Artie Pesh-Imam
Engineer
Sapient 1601 Cloverfield Bvld Suite 600
Santa Monica, CA 90012 
(310) 264-5207 desk
(617) 596-7149 mobile






RE: EJB COmpiliation and Deployment Help

2001-07-14 Thread elephantwalker

Atif,

On step 2. AFAIK,  all you need do is compile your ejb with the Sun ejb.jar,
plus any other libraries you happen to be using. Compile this with ant and
make the jar. www.jollem.com has a good tutorial on an ejb compiling and
making the jar file.

You do not need a special ejb descriptor with orion. Sun's ejb-jar.xml
file is all that is necessary for most applications. There is no special
compile step to create stubs for orion, orion does this on  the fly, so
you have to. Other appservers, including Sun's j2ee require a stub-creation
step. Not so with orion. There is no ejbc step!

Its really easier than any other appserver.

Good luck,

regards,

the elephantwalker



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Atif Pesh-Imam
Sent: Saturday, July 14, 2001 5:43 PM
To: Orion-Interest
Subject: EJB COmpiliation and Deployment Help


Hey Folks,
Im very new to Orion but Im familiar with the J2EE world. I have a framework
which has several EJBs that I need to get workign within Orion (actually
within 9ioas, but they use Orion's container now). So, my question is as
follows. Ive looked around at the existing documentation and Im not clear on
the steps I'll need to take to make the beans compatible with Orion.
From what I know about j2ee, I'll have to do the following:
1) Write the app server specific deployment descriptors for each bean
2) Re-compile the EJB using Orion's ejbc and put this into a jar
3) Specify to the app server that I want to deploy the bean
4) Start up and test
Now, step 2 is where Im confused. Is it true that all I have to do is write
out the orion deployment descriptors and then orion will takecare of the
rest for me? Do I not need to jar everything together?
If I someone could take the time to explain the steps I'll need to go
through in order to get my beans working, that would be a huge help.
Thanks!
-artie


Artie Pesh-Imam
Engineer
Sapient 1601 Cloverfield Bvld Suite 600
Santa Monica, CA 90012
(310) 264-5207  desk
(617) 596-7149  mobile





Re: HOT deployment ??

2001-07-13 Thread Eddie

Helllu, noc noc...

Can someone please help me with the problem I did send a few days ago ??

I like to hear how Linux users correctly deploy their J2EE applications, and
the problems the are having with this ?


Eddie


- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 2:45 PM
Subject: HOT deployment ??


 I still don't understand when my changes are NOT picked up ??
 During development I don't have a ear file, I just have a dir with all the
 classes/xml files.
 Untill now, when I change something in an EJB class, I have to stop orion,
 delete the deployment dir en start again
 Why like this ?? As if I do it the other ways, like:
 + using the admin.jar tool, something like: java -jar /opt/Orion/admin.jar
 ormi://localhost admin pass -deploy -file
 /opt/Orion/applications/sgs.ear -deploymentName sgs
 + touching the xml files in the META dir (the orion signals an update).
 + Removing the deployment dir during operation... it gives Java
Exception:
 Broken pipe errror...

 If I do it like above it ofter occurs that it doesn't pick up my changes.
 Also when I replace a class that is not part of the EJB's, which it loaded
 during runtime, it still keeps on using the old class... what am I doing
 wrong It can't believe that is can't be done more simple!!??

 BTW: when I do a:
 ++ java -jar /opt/Orion/admin.jar ormi://localhost admin pass -restart, I
do
 get:
 --
 Recovery completed, 0 connections committed and 0 rolled back...
 Orion/1.5.1 initialized

 Restarting...
 Error starting JMS-Server: Unable to bind socket: Address already in use
 Error starting RMI-Server: IO Error: Address already in use
 -

 ++ The shutdown command does work however.

 So please some advices on what I am doing wrong, and how I should do it
(do
 I needs to change some JVM settings ??).
 I am running RedHat 7.0.

 Eddie






deployment error

2001-07-13 Thread Armin Michel

Hi.

I've got an j2ee-app that works fine with: Orion1.5.2, linux, Sun JDK 1.3.1.
Now I am forced to move to: Orion 1.5.2, Win2k (sp2), Sun JDK 1.3.1.

When I try to deploy my app, I get the following error-msgs:

Error in application protestanttester: Error loading package at 
file:/D:/java/protestant/protestanttester/protestant-ejb.jar, Unable to 
find/read assembly info for 
D:\java\protestant\protestanttester/protestant-ejb.jar (META-INF/ejb-jar.xml)

Error instantiating application 'protestanttester' at
file:/D:/java/protestant/protestanttester.ear: Error auto-deploying 
application-client at protestanttester-client.jar: Unable to find/read 
assembly info for D:\java\protestant\protestant
tester/protestanttester-client.jar (META-INF/application-client.xml)

Any ideas?
Could it be a problem that is related to the '/' versus '\' issue? The 
error-msg mixes these two versions heavily.


A desperate

Armin Michel




HOT deployment ??

2001-07-10 Thread Eddie

I still don't understand when my changes are NOT picked up ??
During development I don't have a ear file, I just have a dir with all the
classes/xml files.
Untill now, when I change something in an EJB class, I have to stop orion,
delete the deployment dir en start again
Why like this ?? As if I do it the other ways, like:
+ using the admin.jar tool, something like: java -jar /opt/Orion/admin.jar
ormi://localhost admin pass -deploy -file
/opt/Orion/applications/sgs.ear -deploymentName sgs
+ touching the xml files in the META dir (the orion signals an update).
+ Removing the deployment dir during operation... it gives Java Exception:
Broken pipe errror...

If I do it like above it ofter occurs that it doesn't pick up my changes.
Also when I replace a class that is not part of the EJB's, which it loaded
during runtime, it still keeps on using the old class... what am I doing
wrong It can't believe that is can't be done more simple!!??

BTW: when I do a:
++ java -jar /opt/Orion/admin.jar ormi://localhost admin pass -restart, I do
get:
--
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.1 initialized

Restarting...
Error starting JMS-Server: Unable to bind socket: Address already in use
Error starting RMI-Server: IO Error: Address already in use
-

++ The shutdown command does work however.

So please some advices on what I am doing wrong, and how I should do it (do
I needs to change some JVM settings ??).
I am running RedHat 7.0.

Eddie




RE: INTERESTING FOR DEVELOPMENT TIME: Central location for classes and still able to use hot deployment

2001-07-08 Thread Dvornikov Victor

There is very simple solution to this problem - make ORION server embedded.
I use it. That's it.

-Original Message-
From:   Marcelo Schroeder [SMTP:[EMAIL PROTECTED]]
Sent:   ? 06  2001 7:57
To: Orion-Interest
Subject:INTERESTING FOR DEVELOPMENT TIME: Central location
for classes and still able to use hot deployment

I think this is something that a lot of people in the list would
like to have:
 
A central location for java classes in production or live mode
(located in a network drive for instance) and and classes in development
mode, so when a class doesn't exist in the development location, Orion would
pick them up from the production/live location, and that with Orion still
being able to hot-deploy for EJBs, servlets and helper classes shared by
both ejbs and servlets.
 
OK, I almost got there... I will share my success and also ask for
some help to complete the puzzle:
 
Classpath/classloader issue:
1) My ejbs and helper classes go in the ejb section. Hot
deployment is triggered by touching orion-application.xml. Since the ejb
classloader takes precedence over the servlet classloader, classes loaded
here can be accessed by the servlet classloader and the auto reload
feature can still be used by touching orion-application.xml.
2) Servlets and servlet specific beans go in the web section.
 
Central location for production/live classes
1) Servlets: by using the classpath element in the orion-web.xml
file it is possible to make Orion search for classes first in your
development directory and if it doesn't find them there, then it searches in
the production/live directory. Example:
 
classpath path= file:///C:/proj1/developmentclasses
file:///C:/proj1/developmentclasses /
classpath path= file:/fileserver/proj1/productionclasses
file:/fileserver/proj1/productionclasses /
 
Instead of directories (where you would the expanded classes) you
could also point to jar files.
This solution works fine and the hot deployment still works also
fine.
 
2) EJBs: this is my problem, I was not able to find a way to have
the same classpath set up I have for servlets and get the hot deployment to
work. You can use the library tag in the same way as the solution for
servlets above, but you lose the hot deployment feature.
 
So, my question is: is there a way to set the classpath for EJBs
(first local classes, then production/live classes) and still be able to use
ejb hot-deployment?
 
Any contribution will be highly appreciated. Thanks a lot.
 
Marcelo Schroeder
RecruitASP Pty Ltd - Sydney, Australia
Tel: +61 (0)2 8437 6311
Fax: +61 (0)2 8437 6399
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
http://www.recruitasp.com.au http://www.recruitasp.com.au/ 


  _  

RecruitASP Pty Ltd E-mail Confidentiality Notice

Privileged/Confidential Information may be contained in this
message. If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not copy or
deliver this message to anyone. In such case, you should destroy this
message and kindly notify the sender by reply email as soon as possible.
Opinions, conclusions and other information in this message that do not
relate to the official business of RecruitASP Pty Ltd shall be understood as
being neither given nor endorsed by RecruitASP Pty Ltd. 

  _  

 




Re: Autocopy of deployment files

2001-06-22 Thread Juan Fuentes

OK, Jeff. It works

Thanks

Jeff Hubbach wrote:
 
 Juan,
 
 Prior to 1.4.8 (I'm pretty sure on this, but it might be 1.5.2), the
 orion-ejb-jar.xml files are deployed from an orion subdirectory of the
 jar file. ie:
 
 ejb-jar.xml
  - META-INF
   - ejb-jar.xml
  - orion
   - orion-ejb-jar.xml
  - your package heirarchy
   - your class files
 
 Jeff.
 
 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

-- 
··
Juan Fuentes Nieto   Essi Projects
[EMAIL PROTECTED]t +34 977 221 182
http://www.essiprojects.com  f +34 977 230 170
··




Autocopy of deployment files

2001-06-21 Thread Juan Fuentes

Hi list,

I have my orion-application.xml file located in META-INF. When orion
deploys the application it copies the file in the correct directory
inside application-deployments.

But, where should I put the orion-ejb-jar.xml files? I put them in the
META-INF directory inside the EJBs, but they don't get copied.

Note: I'm using orion 1.4.5 (I'm not expecting Update to version XXX
answers)

Thanx
-- 
··
Juan Fuentes Nieto   Essi Projects
[EMAIL PROTECTED]t +34 977 221 182
http://www.essiprojects.com  f +34 977 230 170
··




Re: Autocopy of deployment files

2001-06-21 Thread Jeff Hubbach

Juan,

Prior to 1.4.8 (I'm pretty sure on this, but it might be 1.5.2), the
orion-ejb-jar.xml files are deployed from an orion subdirectory of the
jar file. ie:

ejb-jar.xml
 - META-INF
  - ejb-jar.xml
 - orion
  - orion-ejb-jar.xml
 - your package heirarchy
  - your class files

Jeff.

Juan Fuentes wrote:

 Hi list,

 I have my orion-application.xml file located in META-INF. When orion
 deploys the application it copies the file in the correct directory
 inside application-deployments.

 But, where should I put the orion-ejb-jar.xml files? I put them in the
 META-INF directory inside the EJBs, but they don't get copied.

 Note: I'm using orion 1.4.5 (I'm not expecting Update to version XXX
 answers)

 Thanx
 --
 ··
 Juan Fuentes Nieto   Essi Projects
 [EMAIL PROTECTED]t +34 977 221 182
 http://www.essiprojects.com  f +34 977 230 170
 ··

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







RE: Autocopy of deployment files

2001-06-21 Thread chris . chang


Changes to 1.4.8

Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/
directory from the orion/ directory for consistency.

solution:
1) upgrade
2) create orion directory in META-INF

-Original Message-
From: Juan Fuentes [mailto:[EMAIL PROTECTED]]
Sent: June 21, 2001 8:09 AM
To: Orion-Interest
Subject: Autocopy of deployment files


Hi list,

I have my orion-application.xml file located in META-INF. When orion
deploys the application it copies the file in the correct directory
inside application-deployments.

But, where should I put the orion-ejb-jar.xml files? I put them in the
META-INF directory inside the EJBs, but they don't get copied.

Note: I'm using orion 1.4.5 (I'm not expecting Update to version XXX
answers)

Thanx
-- 
··
Juan Fuentes Nieto   Essi Projects
[EMAIL PROTECTED]t +34 977 221 182
http://www.essiprojects.com  f +34 977 230 170
··





Getting rid of stale files in a deployment

2001-06-13 Thread Rupa Schomaker

Lets say I have the file foo.jsp in my web.war file.  On deployment,
orion expands the .ear and the .war and I can access the file.

If I later remove the foo.jsp file and redeploy the application,
foo.jsp is still in the expanded directory.

I can use the preview admin console to delete the app and the files,
but I don't see any way to automate the deletion.  I'm using Ant to
build and deploy and would prefer a way to keep the deployed directory
consistant even with file removals.

Thoughts or suggestions?

(btw: orion wasn't even on my radar screen of J2EE containers until
Oracle licensed it.. Good job!)

--
 Rupa




Deployment descriptors autocopy?

2001-06-13 Thread Lachezar Dobrev



 I guess... I'll ask just for the 
sake of it.
 I have a complete J2EE Application. 
EJBs, WebClient and an ApplicationClient...
 However. I have 
orion-application.xml.
 I also have predefined 
data-sources.xml and principals.xml.
 So. I have them registered in the 
orion-application.xml, but... The do not get copied. Instead Orion cries-out 
that i have specified invalid names for data-sources and for 
principals.
 Trying I found, that after copying 
the orion-application.xml to the deployment directory Orion starts to search for 
the principals.xml and the data-sources.xml in the deployment directory, without 
first copying them there.
 Is there a way to make Orion 
autocopy them?

 BTW. I HAVE to use 1.4.5 for many 
reasons, so answers like "Fixed in 1.5.0" or something like that are not 
options.

 
W8ingForward2Hearing4mU.soon

 Lachezar


RE: simplifying EAR deployment

2001-06-08 Thread Tim Drury




Greg,

put 
the 3rd party jars in $EAR_ROOT/lib then edit your 
orion-application.xml
file 
(in $EAR_ROOT/META-INF or $EAR_ROOT/orion for slightly older 
versions
of 
orion) adding: library path="./lib" /. If you don't have 
orion-application.xml,
deploy 
your app once and grab the auto-generated copy from 
orion/application-deployment/yourapp. put the copy in your source 
tree, edit it, 
and 
add it to your ear for subsequent deployments.

-tim
efnet 
#java joeblowgt

  -Original Message-From: Greg Matthews 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 8:44 
  PMTo: Orion-InterestSubject: simplifying EAR 
  deployment
  dear all,
  
  is there any way to have 3rd party jar files 
  included in an EAR then deployed into the orion\lib directory.
  
  i'm trying to minimise the number of steps our 
  clients have to perform when installing our app.
  
  thanks,
  greg


simplifying EAR deployment

2001-06-07 Thread Greg Matthews



dear all,

is there any way to have 3rd party jar files 
included in an EAR then deployed into the orion\lib directory.

i'm trying to minimise the number of steps our 
clients have to perform when installing our app.

thanks,
greg


Re: Re: ATM example - deployment error - PLEASE some HELP

2001-05-29 Thread Eddie

Hellu there,

I already solved it myself.
How ???
I did an upgrade to 1.5.1. Spend some time, such that all my other
applications worked again.and yes the tiny jms application works as
well:

onMessage
Received new quote : Hello, World
Unknown command: -1
ejbRemove called
---

I only have still this Unknow command when I have jms.debug set to true
when starting orion!!!

Another question: how are the queue's managed and how can I
monitor/influence this ??? For example: when I restart orion, my queues's
are lost or not ??? how does this works ??

Eddie

- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 28, 2001 7:48 PM
Subject: Re: ATM example - deployment error - PLEASE some HELP


 Ok... forgot something...

 I did some debugging by starting orion with the options:
 -Djms.debug=true -Dmulticast.debug=true

 I then receive the following when I run the client (sends a message):
 
 Orion/1.4.7 initialized
 Unknown command: -1
 -

 Anyone any idea, what this means and where this comes from    :-(
 (I can't find this anywhere in my application nor the config dir of Orion)

 BTW: when I play around with atm I don't get this unknown command but
 mayby this is because I don't get to the logging part. When do I get to
this
 part ??
 Eddie



 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, May 28, 2001 7:13 PM
 Subject: Re: ATM example - deployment error - PLEASE some HELP


  Ok,
  I now have my tiny jms client submitting messages, but the ejb doesn't
  consume them.
 
  I use the atm example as guideline and have this running. However when I
  have a look at the atm example, I notice that neither does atm logs !!1
 That
  is, there doesn't appear anything in the table com_acme_atm_ejb_mainlog
  table, whereas other tables are filled!!
 
  What are the specific orion requirements, such that the jms-ejb consumes
 the
  message ?? ( I am running on 1.4.7) and how can I debug the problem
(look
 at
  the topics's or somthing like that )?? I don't get any output from orion
 in
  any log !! (strange!!!)
 
  I will shortly explain my client and ejb hereunder as they are really
 short:
  The ejb-jar.xml:
  
  ejb-jar
   enterprise-beans
  message-driven
descriptionJMS logger/description
ejb-nameHello/ejb-name
ejb-classHelloMSGBean.HelloBean/ejb-class
transaction-typeContainer/transaction-type
message-selectorJMSType='mainLogMessage'/message-selector
message-driven-destination
  destination-typejavax.jms.Topic/destination-type
/message-driven-destination
  /message-driven
   /enterprise-beans
  /ejb-jar
  
 
  The onmessage part in the ejb:
  
public void onMessage(Message message) {
  System.out.println(onMessage);
 
  TextMessage textmessage = null;
  if (message instanceof TextMessage) {
textmessage = (TextMessage)message;
  } else {
return;
  }
  --
 
  The client part:
  ---
ctx=new InitialContext(p);
 
 

tcf=(TopicConnectionFactory)ctx.lookup(java:comp/env/jms/theTopicConnection
  Factory);
tcon = tcf.createTopicConnection();
tcon.start();
 tsession = tcon.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
 topic = (Topic)ctx.lookup(java:comp/env/jms/theTopic);
 tpublisher = tsession.createPublisher(topic);
 TextMessage message = tsession.createTextMessage();
 message.setJMSType(mainLogMessage);
 message.setText(Hello, World);
 tpublisher.publish(message);
  
 
  The part in the jms.xml file (I am not sure if this is necessary!!!??):
  -
   topic name=Demo Topic location=jms/theTopic
descriptionA dummy topic/description
   /topic
  --
 
  The application-client.xml:
  -
  application-client
   display-nameSomething/display-name
   resource-ref
res-ref-namejms/theTopicConnectionFactory/res-ref-name
res-typejavax.jms.TopicConnectionFactory/res-type
res-authContainer/res-auth
   /resource-ref
   resource-ref
res-ref-namejms/theTopic/res-ref-name
res-typejavax.jms.Topic/res-type
res-authContainer/res-auth
   /resource-ref
  /application-client
  
 
  That's it, but the ejb doesn't print anything to the STDOUT.
  What am I doing wrong .
 
  Eddie
 






RE: Re: ATM example - deployment error - PLEASE some HELP

2001-05-29 Thread Ernie Phelps

Eddie,

To persist the messages to disk when Orion shuts down, add a
persistence-file entry to your queue, like so:

queue host=127.0.0.1 name=Eye location=jms/EyeQueue
persistence-file=../persistence/jms/eyeQueue.queue
descriptionEye/description
/queue

In my limited experience, this works fine during normal Orion shutdowns, but
does not if Orion terminates abnormally (crashes, kill -9 or X the window).

HTH,

Ernie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Eddie
Sent: Tuesday, May 29, 2001 7:59 AM
To: Orion-Interest
Subject: Re: Re: ATM example - deployment error - PLEASE some HELP


Hellu there,

I already solved it myself.
How ???
I did an upgrade to 1.5.1. Spend some time, such that all my other
applications worked again.and yes the tiny jms application works as
well:

onMessage
Received new quote : Hello, World
Unknown command: -1
ejbRemove called
---

I only have still this Unknow command when I have jms.debug set to true
when starting orion!!!

Another question: how are the queue's managed and how can I
monitor/influence this ??? For example: when I restart orion, my queues's
are lost or not ??? how does this works ??

Eddie

- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 28, 2001 7:48 PM
Subject: Re: ATM example - deployment error - PLEASE some HELP


 Ok... forgot something...

 I did some debugging by starting orion with the options:
 -Djms.debug=true -Dmulticast.debug=true

 I then receive the following when I run the client (sends a message):
 
 Orion/1.4.7 initialized
 Unknown command: -1
 -

 Anyone any idea, what this means and where this comes from    :-(
 (I can't find this anywhere in my application nor the config dir of Orion)

 BTW: when I play around with atm I don't get this unknown command but
 mayby this is because I don't get to the logging part. When do I get to
this
 part ??
 Eddie



 - Original Message -
 From: Eddie [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, May 28, 2001 7:13 PM
 Subject: Re: ATM example - deployment error - PLEASE some HELP


  Ok,
  I now have my tiny jms client submitting messages, but the ejb doesn't
  consume them.
 
  I use the atm example as guideline and have this running. However when I
  have a look at the atm example, I notice that neither does atm logs !!1
 That
  is, there doesn't appear anything in the table com_acme_atm_ejb_mainlog
  table, whereas other tables are filled!!
 
  What are the specific orion requirements, such that the jms-ejb consumes
 the
  message ?? ( I am running on 1.4.7) and how can I debug the problem
(look
 at
  the topics's or somthing like that )?? I don't get any output from orion
 in
  any log !! (strange!!!)
 
  I will shortly explain my client and ejb hereunder as they are really
 short:
  The ejb-jar.xml:
  
  ejb-jar
   enterprise-beans
  message-driven
descriptionJMS logger/description
ejb-nameHello/ejb-name
ejb-classHelloMSGBean.HelloBean/ejb-class
transaction-typeContainer/transaction-type
message-selectorJMSType='mainLogMessage'/message-selector
message-driven-destination
  destination-typejavax.jms.Topic/destination-type
/message-driven-destination
  /message-driven
   /enterprise-beans
  /ejb-jar
  
 
  The onmessage part in the ejb:
  
public void onMessage(Message message) {
  System.out.println(onMessage);
 
  TextMessage textmessage = null;
  if (message instanceof TextMessage) {
textmessage = (TextMessage)message;
  } else {
return;
  }
  --
 
  The client part:
  ---
ctx=new InitialContext(p);
 
 

tcf=(TopicConnectionFactory)ctx.lookup(java:comp/env/jms/theTopicConnection
  Factory);
tcon = tcf.createTopicConnection();
tcon.start();
 tsession = tcon.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
 topic = (Topic)ctx.lookup(java:comp/env/jms/theTopic);
 tpublisher = tsession.createPublisher(topic);
 TextMessage message = tsession.createTextMessage();
 message.setJMSType(mainLogMessage);
 message.setText(Hello, World);
 tpublisher.publish(message);
  
 
  The part in the jms.xml file (I am not sure if this is necessary!!!??):
  -
   topic name=Demo Topic location=jms/theTopic
descriptionA dummy topic/description
   /topic
  --
 
  The application-client.xml:
  -
  application-client
   display-nameSomething/display-name
   resource-ref
res-ref-namejms/theTopicConnectionFactory/res-ref-name
res-typejavax.jms.TopicConnectionFactory/res-type
res-authContainer/res-auth
   /resource-ref
   resource-ref
res-ref-namejms/theTopic/res-ref-name
res-typejavax.jms.Topic/res-type
res-authContainer/res-auth
   /resource-ref

SV: ATM example - deployment error - PLEASE some HELP

2001-05-28 Thread Magnus Rydin
Title: SV: ATM example - deployment error - PLEASE some HELP





Ed.
1) did you install Orion properly?
2) Do you have a line that goes:
 jms-config path=./jms.xml /
in your [ORION-DIR]/config/server.xml ?
3) Does your [ORION-DIR]/config/jms.xml looks anything like this:
?xml version=1.0?
!DOCTYPE jms-server PUBLIC Orion JMS server http://www.orionserver.com/dtds/jms-server.dtd
jms-server port=9127
 queue name=Demo Queue location=jms/demoQueue
  descriptionA dummy queue/description
 /queue
 topic name=Demo Topic location=jms/demoTopic
  descriptionA dummy topic/description
 /topic
 log
  file path=../log/jms.log /
 /log
/jms-server


WR



 -Ursprungligt meddelande-
 Från: Ed Bras [mailto:[EMAIL PROTECTED]]
 Skickat: den 26 maj 2001 13:34
 Till: Orion-Interest
 Ämne: Re: ATM example - deployment error - PLEASE some HELP
 
 
 Hi Joel,
 
 Thanks but isn't a bit weird what you do beneath: commenting 
 the line in the 
 server.xml that actualy starts the jms server ?? (that's what 
 you do not ?).
 Does this really helps ???
 
 Eddie
 
 
 From: Joel B. Kinney [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: Re: ATM example - deployment error - PLEASE some HELP
 Date: Wed, 23 May 2001 21:03:19 -0400 (EDT)
 
 I had a similar problem running it on orion1.4.5.
 I put this in server.xml, reference the list archive, after 
 I commented it
 out the atm example worked.
 !-- JMS-server config link, uncomment to activate the JMS service--
 !-- jms-config path=./jms.xml / --
 
 Joel
 
 
 
 On Wed, 23 May 2001, Eddie wrote:
 
   SV: abstract-schema-nameI am trying to develop an JMS 
 EJB, but I have 
 bad luck with it.
   If I try to deploy the atm example out of the box, just 
 as explained on 
 the orion web site, I get the same error as with my tiny, 
 simple, short... 
 JMS EJB:
   
   Error deploying 
file:/opt/Orion_1.4.7/applications/atm/atm-ejb.jar 
homes: No javax.jms.ConnectionFactory found at the specified 
destination-location (jms/TopicConnectionFactory) for MessageDrivenBean 
com.acme.atm.ejb.MainLoggerEJB
  ---
 
  How do I solve this, as this DRIVES me crazy as I can't find the JNDI 
reference anywhere in my application/atm ;( 
 
  Eddie
  PS: I haven't changed anything to the jms.xml file.
  PS: Isn't there a good JMS EJB Orion example available somewhere ??? I 
looked at some places and found examples for WebLogix and others, but 
nothing on the orrionsupport site. I like to write one, as the JMS gives 
every time the same error in the newsgroups but I can't find a good 
solution in the newsgroup :(-
 
 




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





Re: ATM example - deployment error - PLEASE some HELP

2001-05-28 Thread Eddie

Ok,
I now have my tiny jms client submitting messages, but the ejb doesn't
consume them.

I use the atm example as guideline and have this running. However when I
have a look at the atm example, I notice that neither does atm logs !!1 That
is, there doesn't appear anything in the table com_acme_atm_ejb_mainlog
table, whereas other tables are filled!!

What are the specific orion requirements, such that the jms-ejb consumes the
message ?? ( I am running on 1.4.7) and how can I debug the problem (look at
the topics's or somthing like that )?? I don't get any output from orion in
any log !! (strange!!!)

I will shortly explain my client and ejb hereunder as they are really short:
The ejb-jar.xml:

ejb-jar
 enterprise-beans
message-driven
  descriptionJMS logger/description
  ejb-nameHello/ejb-name
  ejb-classHelloMSGBean.HelloBean/ejb-class
  transaction-typeContainer/transaction-type
  message-selectorJMSType='mainLogMessage'/message-selector
  message-driven-destination
destination-typejavax.jms.Topic/destination-type
  /message-driven-destination
/message-driven
 /enterprise-beans
/ejb-jar


The onmessage part in the ejb:

  public void onMessage(Message message) {
System.out.println(onMessage);

TextMessage textmessage = null;
if (message instanceof TextMessage) {
  textmessage = (TextMessage)message;
} else {
  return;
}
--

The client part:
---
  ctx=new InitialContext(p);

tcf=(TopicConnectionFactory)ctx.lookup(java:comp/env/jms/theTopicConnection
Factory);
  tcon = tcf.createTopicConnection();
  tcon.start();
   tsession = tcon.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
   topic = (Topic)ctx.lookup(java:comp/env/jms/theTopic);
   tpublisher = tsession.createPublisher(topic);
   TextMessage message = tsession.createTextMessage();
   message.setJMSType(mainLogMessage);
   message.setText(Hello, World);
   tpublisher.publish(message);


The part in the jms.xml file (I am not sure if this is necessary!!!??):
-
 topic name=Demo Topic location=jms/theTopic
  descriptionA dummy topic/description
 /topic
--

The application-client.xml:
-
application-client
 display-nameSomething/display-name
 resource-ref
  res-ref-namejms/theTopicConnectionFactory/res-ref-name
  res-typejavax.jms.TopicConnectionFactory/res-type
  res-authContainer/res-auth
 /resource-ref
 resource-ref
  res-ref-namejms/theTopic/res-ref-name
  res-typejavax.jms.Topic/res-type
  res-authContainer/res-auth
 /resource-ref
/application-client


That's it, but the ejb doesn't print anything to the STDOUT.
What am I doing wrong .

Eddie




Re: ATM example - deployment error - PLEASE some HELP

2001-05-28 Thread Eddie

Ok... forgot something...

I did some debugging by starting orion with the options:
-Djms.debug=true -Dmulticast.debug=true

I then receive the following when I run the client (sends a message):

Orion/1.4.7 initialized
Unknown command: -1
-

Anyone any idea, what this means and where this comes from    :-(
(I can't find this anywhere in my application nor the config dir of Orion)

BTW: when I play around with atm I don't get this unknown command but
mayby this is because I don't get to the logging part. When do I get to this
part ??
Eddie



- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, May 28, 2001 7:13 PM
Subject: Re: ATM example - deployment error - PLEASE some HELP


 Ok,
 I now have my tiny jms client submitting messages, but the ejb doesn't
 consume them.

 I use the atm example as guideline and have this running. However when I
 have a look at the atm example, I notice that neither does atm logs !!1
That
 is, there doesn't appear anything in the table com_acme_atm_ejb_mainlog
 table, whereas other tables are filled!!

 What are the specific orion requirements, such that the jms-ejb consumes
the
 message ?? ( I am running on 1.4.7) and how can I debug the problem (look
at
 the topics's or somthing like that )?? I don't get any output from orion
in
 any log !! (strange!!!)

 I will shortly explain my client and ejb hereunder as they are really
short:
 The ejb-jar.xml:
 
 ejb-jar
  enterprise-beans
 message-driven
   descriptionJMS logger/description
   ejb-nameHello/ejb-name
   ejb-classHelloMSGBean.HelloBean/ejb-class
   transaction-typeContainer/transaction-type
   message-selectorJMSType='mainLogMessage'/message-selector
   message-driven-destination
 destination-typejavax.jms.Topic/destination-type
   /message-driven-destination
 /message-driven
  /enterprise-beans
 /ejb-jar
 

 The onmessage part in the ejb:
 
   public void onMessage(Message message) {
 System.out.println(onMessage);

 TextMessage textmessage = null;
 if (message instanceof TextMessage) {
   textmessage = (TextMessage)message;
 } else {
   return;
 }
 --

 The client part:
 ---
   ctx=new InitialContext(p);


tcf=(TopicConnectionFactory)ctx.lookup(java:comp/env/jms/theTopicConnection
 Factory);
   tcon = tcf.createTopicConnection();
   tcon.start();
tsession = tcon.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
topic = (Topic)ctx.lookup(java:comp/env/jms/theTopic);
tpublisher = tsession.createPublisher(topic);
TextMessage message = tsession.createTextMessage();
message.setJMSType(mainLogMessage);
message.setText(Hello, World);
tpublisher.publish(message);
 

 The part in the jms.xml file (I am not sure if this is necessary!!!??):
 -
  topic name=Demo Topic location=jms/theTopic
   descriptionA dummy topic/description
  /topic
 --

 The application-client.xml:
 -
 application-client
  display-nameSomething/display-name
  resource-ref
   res-ref-namejms/theTopicConnectionFactory/res-ref-name
   res-typejavax.jms.TopicConnectionFactory/res-type
   res-authContainer/res-auth
  /resource-ref
  resource-ref
   res-ref-namejms/theTopic/res-ref-name
   res-typejavax.jms.Topic/res-type
   res-authContainer/res-auth
  /resource-ref
 /application-client
 

 That's it, but the ejb doesn't print anything to the STDOUT.
 What am I doing wrong .

 Eddie





Re: ATM example - deployment error - PLEASE some HELP

2001-05-26 Thread Ed Bras

Hi Joel,

Thanks but isn't a bit weird what you do beneath: commenting the line in the 
server.xml that actualy starts the jms server ?? (that's what you do not ?).
Does this really helps ???

Eddie


From: Joel B. Kinney [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: ATM example -  deployment error - PLEASE some HELP
Date: Wed, 23 May 2001 21:03:19 -0400 (EDT)

I had a similar problem running it on orion1.4.5.
I put this in server.xml, reference the list archive, after I commented it
out the atm example worked.
!-- JMS-server config link, uncomment to activate the JMS service--
!-- jms-config path=./jms.xml / --

Joel



On Wed, 23 May 2001, Eddie wrote:

  SV: abstract-schema-nameI am trying to develop an JMS EJB, but I have 
bad luck with it.
  If I try to deploy the atm example out of the box, just as explained on 
the orion web site, I get the same error as with my tiny, simple, short... 
JMS EJB:
  
  Error deploying file:/opt/Orion_1.4.7/applications/atm/atm-ejb.jar 
homes: No javax.jms.ConnectionFactory found at the specified 
destination-location (jms/TopicConnectionFactory) for MessageDrivenBean 
com.acme.atm.ejb.MainLoggerEJB
  ---
 
  How do I solve this, as this DRIVES me crazy as I can't find the JNDI 
reference anywhere in my application/atm ;( 
 
  Eddie
  PS: I haven't changed anything to the jms.xml file.
  PS: Isn't there a good JMS EJB Orion example  available somewhere ??? I 
looked at some places and found examples for WebLogix and others, but 
nothing on the orrionsupport site. I like to write one, as the JMS gives 
every time the same error in the newsgroups but I can't find a good 
solution in the newsgroup :(-
 
 



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





auto deployment in 1.5.1

2001-05-23 Thread Marcel Schutte

Is it just me, or is auto deployment broken in version 1.5.1 ? It looks like
they tried to do something about the 'error reading zipfile' message, but
now it sometimes just doesn't notice that an .ear file has changed. I have
to stop and start the server to trigger the auto unpacking and redeployment.

Marcel





ATM example - deployment error - PLEASE some HELP

2001-05-23 Thread Eddie
Title: SV: abstract-schema-name



I am trying to develop an JMS EJB, but I have bad 
luck with it.
If I try to deploy the atm example out of the box, 
just as explained on the orion web site, I get the same error as with my tiny, 
simple, short... JMS EJB:

Error deploying 
file:/opt/Orion_1.4.7/applications/atm/atm-ejb.jar homes: No 
javax.jms.ConnectionFactory found at the specified destination-location 
(jms/TopicConnectionFactory) for MessageDrivenBean 
com.acme.atm.ejb.MainLoggerEJB
---

How do I solve this, as this DRIVES me crazy as I 
can't find the JNDI reference anywhere in my application/atm ;( 


Eddie
PS: I haven't changed anything to the jms.xml 
file.
PS: Isn't there a good JMS EJB Orion example 
available somewhere ??? I looked at some places and found examples for WebLogix 
and others, but nothing on the orrionsupport site. I like to write one, as the 
JMS gives every time the same error in the newsgroups but I can't find a good 
solution in the newsgroup :(-


Re: ATM example - deployment error - PLEASE some HELP

2001-05-23 Thread Joel B. Kinney

I had a similar problem running it on orion1.4.5. 
I put this in server.xml, reference the list archive, after I commented it
out the atm example worked.
!-- JMS-server config link, uncomment to activate the JMS service--
!-- jms-config path=./jms.xml / --

Joel



On Wed, 23 May 2001, Eddie wrote:

 SV: abstract-schema-nameI am trying to develop an JMS EJB, but I have bad luck with 
it.
 If I try to deploy the atm example out of the box, just as explained on the orion 
web site, I get the same error as with my tiny, simple, short... JMS EJB:
 
 Error deploying file:/opt/Orion_1.4.7/applications/atm/atm-ejb.jar homes: No 
javax.jms.ConnectionFactory found at the specified destination-location 
(jms/TopicConnectionFactory) for MessageDrivenBean com.acme.atm.ejb.MainLoggerEJB
 ---
 
 How do I solve this, as this DRIVES me crazy as I can't find the JNDI reference 
anywhere in my application/atm ;( 
 
 Eddie
 PS: I haven't changed anything to the jms.xml file.
 PS: Isn't there a good JMS EJB Orion example  available somewhere ??? I looked at 
some places and found examples for WebLogix and others, but nothing on the 
orrionsupport site. I like to write one, as the JMS gives every time the same error 
in the newsgroups but I can't find a good solution in the newsgroup :(-
 
 





No exclusive-write generation in the orion-ejb-jar.xml deployment ???

2001-05-22 Thread Eddie

Hi there,

I am still using 1.4.7 as I have problems updating to 1.5.0.
I noticed the following:
I added the attribute exclusive-write-access  to my orion-ejb-jar.xml (see
below) and it doesn't appear in the deployed orion-ejb-jar.xml ???

The line in the orion-ejb-jar.xml in my application:

  entity-deployment name=nl.unwired.sgs.vwr.Usr
location=nl.unwired.sgs.vwr.Usr wrapper=UsrHome_EntityHomeWrapper13
table=vwrusr data-source=jdbc/postgresEJBDS
exclusive-write-access=true max-instances=10 


In the generated orion-ejb-jar.xml file:

  entity-deployment name=nl.unwired.sgs.vwr.Usr
location=nl.unwired.sgs.vwr.Usr wrapper=UsrHome_EntityHomeWrapper13
table=vwrusr data-source=jdbc/postgresEJBDS


BTW:
- I also noticed that I doesn't copy the max-instances=10 line for every
entity bean (for most of them it does). Hoever the exclusiv-write line is
never copied.

I think this worked in the past... but have no idea what happened/changed.
Anyone any idea what the logic is behind ths generation ???

Eddie
PS: The above it quite irritating as I was used to copy the deployed
orion-ejb.jar.xml back to my application dir to add customized finders as
described on the orionsupport.com site.




Deployment to multiple instances...?

2001-05-17 Thread Attila Bodis

Hi,

This is a newbie question, I guess...  Here is the situation:

I have a web application (a bunch of servlets, JSPs, and supporting classes)
I want to deploy to multiple Orion instances.  Some of these instances are
for QA, some are inside the firewall, and some are outside the firewall.  My
application has external dependencies on databases and files in the
filesystem that are not part of the application itself.  Rather than
hard-code these values, I include them as context-params in
WEB-INF/web.xml.

Ideally, I'd like to be able to build my web application on my development
machine, package it as a WAR file, and deploy it by just FTPing the WAR into
the appropriate directory on my various Orion instances.  The problem is, my
configuration parameters are in WEB-INF/web.xml, which is inside the WAR
file.  These configuration parameters have to be different for my different
instances (e.g. different directory structure, different database connection
parameters, etc.).  But the web.xml file inside the WAR file always
overwrites the one already deployed, which means each time I distribute my
WAR file to my different instances, I have to 1) wait for Orion to
auto-unpack the archive, then 2) manually change the settings in
WEB-INF/web.xml on each instance.

Of course if I avoid putting container-specific (i.e. deployment
environment-specific) parameters in WEB-INF/web.xml, then the same web.xml
will work on all of my various instances.  But then where do I put config
parameters such as log level, log file directory, and path to
my-secret-files, etc., which are used by the application but are specific
to the particular deployment environment?

Does Orion provide a way to specify config parameters for an application on
a per-container basis?

Thanks,

Attila


BEGIN:VCARD
VERSION:2.1
N:Bodis;Attila
FN:Attila Bodis
NICKNAME:Attila
ORG:OracleMobile;OracleMobile Online Studio
TITLE:Development Lead
TEL;WORK;VOICE:(650) 506-4767
TEL;CELL;VOICE:(650) 346-6156
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;10bpM205;500 Oracle Pkwy=0D=0AMailstop 10bp2;Redwood Shores;CA;94065
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:10bpM205=0D=0A500 Oracle Pkwy=0D=0AMailstop 10bp2=0D=0ARedwood Shores, CA 94=
065
X-WAB-GENDER:2
URL:
URL:http://studio.oraclemobile.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010517T175748Z
END:VCARD



Re: Deployment to multiple instances...?

2001-05-17 Thread Reid Hartenbower

This might not be the solution you're looking for, but you could use ant and
specifiy your different deployments as different targets.  This would at
least give you a central place to build from, and because ant knows about
.war packaging and supports FTP, theoretically (because I have not done this
myself) you can do all you're looking for with build scripts.

- Original Message -
From: Attila Bodis [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 10:57 AM
Subject: Deployment to multiple instances...?


 Hi,

 This is a newbie question, I guess...  Here is the situation:

 I have a web application (a bunch of servlets, JSPs, and supporting
classes)
 I want to deploy to multiple Orion instances.  Some of these instances are
 for QA, some are inside the firewall, and some are outside the firewall.
My
 application has external dependencies on databases and files in the
 filesystem that are not part of the application itself.  Rather than
 hard-code these values, I include them as context-params in
 WEB-INF/web.xml.

 Ideally, I'd like to be able to build my web application on my development
 machine, package it as a WAR file, and deploy it by just FTPing the WAR
into
 the appropriate directory on my various Orion instances.  The problem is,
my
 configuration parameters are in WEB-INF/web.xml, which is inside the WAR
 file.  These configuration parameters have to be different for my
different
 instances (e.g. different directory structure, different database
connection
 parameters, etc.).  But the web.xml file inside the WAR file always
 overwrites the one already deployed, which means each time I distribute my
 WAR file to my different instances, I have to 1) wait for Orion to
 auto-unpack the archive, then 2) manually change the settings in
 WEB-INF/web.xml on each instance.

 Of course if I avoid putting container-specific (i.e. deployment
 environment-specific) parameters in WEB-INF/web.xml, then the same web.xml
 will work on all of my various instances.  But then where do I put config
 parameters such as log level, log file directory, and path to
 my-secret-files, etc., which are used by the application but are specific
 to the particular deployment environment?

 Does Orion provide a way to specify config parameters for an application
on
 a per-container basis?

 Thanks,

 Attila







RE: Deployment to multiple instances...?

2001-05-17 Thread Jeff Schnitzer

Furthermore, rather than having multiple web.xml files, you can use
Ant's style task to apply transforms to the base web.xml.  Then all
you need are xsl files which contain the different context parameters.
With a little XSLT knowledge, it's really easy to do.

A simpler approach, though, would be to define propeties with the -D
option to the JVM.

Jeff

 -Original Message-
 From: Reid Hartenbower [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 17, 2001 1:19 PM
 To: Orion-Interest
 Subject: Re: Deployment to multiple instances...?
 
 
 This might not be the solution you're looking for, but you 
 could use ant and
 specifiy your different deployments as different targets.  
 This would at
 least give you a central place to build from, and because ant 
 knows about
 .war packaging and supports FTP, theoretically (because I 
 have not done this
 myself) you can do all you're looking for with build scripts.
 
 - Original Message -
 From: Attila Bodis [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 10:57 AM
 Subject: Deployment to multiple instances...?
 
 
  Hi,
 
  This is a newbie question, I guess...  Here is the situation:
 
  I have a web application (a bunch of servlets, JSPs, and supporting
 classes)
  I want to deploy to multiple Orion instances.  Some of 
 these instances are
  for QA, some are inside the firewall, and some are outside 
 the firewall.
 My
  application has external dependencies on databases and files in the
  filesystem that are not part of the application itself.  Rather than
  hard-code these values, I include them as context-params in
  WEB-INF/web.xml.
 
  Ideally, I'd like to be able to build my web application on 
 my development
  machine, package it as a WAR file, and deploy it by just 
 FTPing the WAR
 into
  the appropriate directory on my various Orion instances.  
 The problem is,
 my
  configuration parameters are in WEB-INF/web.xml, which is 
 inside the WAR
  file.  These configuration parameters have to be different for my
 different
  instances (e.g. different directory structure, different database
 connection
  parameters, etc.).  But the web.xml file inside the WAR file always
  overwrites the one already deployed, which means each time 
 I distribute my
  WAR file to my different instances, I have to 1) wait for Orion to
  auto-unpack the archive, then 2) manually change the settings in
  WEB-INF/web.xml on each instance.
 
  Of course if I avoid putting container-specific (i.e. deployment
  environment-specific) parameters in WEB-INF/web.xml, then 
 the same web.xml
  will work on all of my various instances.  But then where 
 do I put config
  parameters such as log level, log file directory, and path to
  my-secret-files, etc., which are used by the application 
 but are specific
  to the particular deployment environment?
 
  Does Orion provide a way to specify config parameters for 
 an application
 on
  a per-container basis?
 
  Thanks,
 
  Attila
 
 
 
 
 




RE: Deployment to multiple instances...?

2001-05-17 Thread Andre Vanha

Atilla,
Take a look at the orion-web.xml.  It should be possible to provide override
values using orion specific tags.  Since the Orion-web.xml is not rewritten
when a new version of the web file is deployed, once you set the file up,
you should be good to go.

Andre

orion-web.xml reference:
http://www.orionserver.com/docs/orion-web.xml.html

-Original Message-
From: Reid Hartenbower [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 2:19 PM
To: Orion-Interest
Subject: Re: Deployment to multiple instances...?


This might not be the solution you're looking for, but you could use ant and
specifiy your different deployments as different targets.  This would at
least give you a central place to build from, and because ant knows about
.war packaging and supports FTP, theoretically (because I have not done this
myself) you can do all you're looking for with build scripts.

- Original Message -
From: Attila Bodis [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 10:57 AM
Subject: Deployment to multiple instances...?


 Hi,

 This is a newbie question, I guess...  Here is the situation:

 I have a web application (a bunch of servlets, JSPs, and supporting
classes)
 I want to deploy to multiple Orion instances.  Some of these instances are
 for QA, some are inside the firewall, and some are outside the firewall.
My
 application has external dependencies on databases and files in the
 filesystem that are not part of the application itself.  Rather than
 hard-code these values, I include them as context-params in
 WEB-INF/web.xml.

 Ideally, I'd like to be able to build my web application on my development
 machine, package it as a WAR file, and deploy it by just FTPing the WAR
into
 the appropriate directory on my various Orion instances.  The problem is,
my
 configuration parameters are in WEB-INF/web.xml, which is inside the WAR
 file.  These configuration parameters have to be different for my
different
 instances (e.g. different directory structure, different database
connection
 parameters, etc.).  But the web.xml file inside the WAR file always
 overwrites the one already deployed, which means each time I distribute my
 WAR file to my different instances, I have to 1) wait for Orion to
 auto-unpack the archive, then 2) manually change the settings in
 WEB-INF/web.xml on each instance.

 Of course if I avoid putting container-specific (i.e. deployment
 environment-specific) parameters in WEB-INF/web.xml, then the same web.xml
 will work on all of my various instances.  But then where do I put config
 parameters such as log level, log file directory, and path to
 my-secret-files, etc., which are used by the application but are specific
 to the particular deployment environment?

 Does Orion provide a way to specify config parameters for an application
on
 a per-container basis?

 Thanks,

 Attila







Re: Deployment to multiple instances...?

2001-05-17 Thread Attila Bodis

Andre,

Thanks a lot, I should have known it was an RTFM question...  Sorry!

The web-app child element inside the orion-web-app element is exactly
what I need.

Thanks again,

Attila



- Original Message -
From: Andre Vanha [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 3:53 PM
Subject: RE: Deployment to multiple instances...?


 Atilla,
 Take a look at the orion-web.xml.  It should be possible to provide
override
 values using orion specific tags.  Since the Orion-web.xml is not
rewritten
 when a new version of the web file is deployed, once you set the file up,
 you should be good to go.

 Andre

 orion-web.xml reference:
 http://www.orionserver.com/docs/orion-web.xml.html

 -Original Message-
 From: Reid Hartenbower [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 17, 2001 2:19 PM
 To: Orion-Interest
 Subject: Re: Deployment to multiple instances...?


 This might not be the solution you're looking for, but you could use ant
and
 specifiy your different deployments as different targets.  This would at
 least give you a central place to build from, and because ant knows about
 .war packaging and supports FTP, theoretically (because I have not done
this
 myself) you can do all you're looking for with build scripts.

 - Original Message -
 From: Attila Bodis [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, May 17, 2001 10:57 AM
 Subject: Deployment to multiple instances...?


  Hi,
 
  This is a newbie question, I guess...  Here is the situation:
 
  I have a web application (a bunch of servlets, JSPs, and supporting
 classes)
  I want to deploy to multiple Orion instances.  Some of these instances
are
  for QA, some are inside the firewall, and some are outside the firewall.
 My
  application has external dependencies on databases and files in the
  filesystem that are not part of the application itself.  Rather than
  hard-code these values, I include them as context-params in
  WEB-INF/web.xml.
 
  Ideally, I'd like to be able to build my web application on my
development
  machine, package it as a WAR file, and deploy it by just FTPing the WAR
 into
  the appropriate directory on my various Orion instances.  The problem
is,
 my
  configuration parameters are in WEB-INF/web.xml, which is inside the WAR
  file.  These configuration parameters have to be different for my
 different
  instances (e.g. different directory structure, different database
 connection
  parameters, etc.).  But the web.xml file inside the WAR file always
  overwrites the one already deployed, which means each time I distribute
my
  WAR file to my different instances, I have to 1) wait for Orion to
  auto-unpack the archive, then 2) manually change the settings in
  WEB-INF/web.xml on each instance.
 
  Of course if I avoid putting container-specific (i.e. deployment
  environment-specific) parameters in WEB-INF/web.xml, then the same
web.xml
  will work on all of my various instances.  But then where do I put
config
  parameters such as log level, log file directory, and path to
  my-secret-files, etc., which are used by the application but are
specific
  to the particular deployment environment?
 
  Does Orion provide a way to specify config parameters for an application
 on
  a per-container basis?
 
  Thanks,
 
  Attila
 









Auto-deployment

2001-05-14 Thread Chaya Ramanujam

Can someone give me details on the auto-deployment feature in Orion?  How do 
you go about getting an app deployed automatically?  Is there a way to turn 
this feature off using a tag in the orion config files?

If this feature is on by default, is it possible to have an app installed on 
the server, but not deployed?

Thanks for your help..

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





RE: CMP Primer and Oracle 8.1.7 deployment

2001-05-06 Thread Brynolf Andersson

Hi,
Yes scott can create tables (connect,resource and dba)
Yes I can log on to the box run sqlplus and connect as scott, both from the 
development PC and locally on the box.
Yes Net8 is running properly, I wrote a small servlet that uses JDBC to 
create and read tables and that on is working fine.
Yes, the port is 1521

So, perhaps someone know a way to debug whats going on ?

Thanks
From: elephantwalker [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: CMP Primer and Oracle 8.1.7 deployment
Date: Sat, 5 May 2001 17:37:17 -0700

Has user scott allowed to create tables? (usually scott is allowed to 
create
tables). Can you log into the sun box, start sqlplus, and connect as scott?
Is net8 running properly? Is the port for net8 listed in the service file 
on
the sun box? Can you connect to the sun box from an oracle client on your
win 2000 box?

These are the places I would start in debugging this problem.

I have been running oracle 8.1.7 and orion with no problems.

the elephantwalker
   -Original Message-
   From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kalle Anka
   Sent: Saturday, May 05, 2001 4:45 PM
   To: Orion-Interest
   Subject: Q:CMP Primer and Oracle 8.1.7 deployment


   Hi all,
   I'm trying to deploy the CMP Primer (running on Win2000) using an Oracle
8.1.7 database on a Solaris box. Everything works fine if I use the default
database provided by Orion (Hypersonic ??). The table is created according
to the extremly good example. But when I change the data-sources.xml into
the following, the table is not created (I removed the hypersonic and added
the Oracle one, so only one entry).

data-source
  class=com.evermind.sql.DriverManagerDataSource
   name=Oracle
   schema=database-schemas/oracle.xml
   location=jdbc/OracleCoreDS
   xa-location=jdbc/xa/OracleXADS
   ejb-location=jdbc/OracleDS
   connection-driver=oracle.jdbc.driver.OracleDriver
   username=scott
   password=tiger
   url=jdbc:oracle:thin:@sunprod:1521:orcl
   inactivity-timeout=30
 /

   So, I turned on the debugging information for JDBC, but no errors:

   C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying
addressbook (New server version detected)...
   DataSource logwriter activated...
   jdbc:oracle:thin:@sunprod:1521:orcl: Started
   jdbc:oracle:thin:@sunprod:1521:orcl: Started
   Auto-deploying addressbook-ejb.jar (No previous deployment found)...
   Created new physical connection: XA XA Orion Pooled
jdbc:oracle:thin:@sunprod:1521:orcl
   null: Connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl
allocated (Pool size: 0)
   jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new
physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1a
   Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled or
   acle.jdbc.driver.OracleConnection@ece70d1a allocated (Pool size: 0)
   Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Releasing connection
Pooled oracle.jdbc.driver.OracleConnection@ece70d1a to pool (Pool size:
1)
   null: Releasing connection XA XA Orion Pooled
jdbc:oracle:thin:@sunprod:1521:orcl to pool (Pool size: 1)
   done.
   Orion/1.4.5 initialized

   Anyone got a clue why this is happening, or have I missed something ???

   //Kalle



--
   Get your FREE download of MSN Explorer at http://explorer.msn.com



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





RE: CMP Primer and Oracle 8.1.7 deployment

2001-05-06 Thread elephantwalker

Since you have changed databases, you should get rid of all of the
serialization that orion may have saved about the old configuration
(including maybe the flag that tells orion that cmp beans have already
created their table).

The easiest way to do this is just blow away the application directory in
application-deployments (of course, after you have shutdown orion). If you
have no other applications, you can just blow away the whole
application-deployment directory.

There is also an admin.jar command to do thisbut I have never used it.

Otherwise, if the table is not createdthere's something under the hood
that's broken, because this works everyday and sunday.

You have done all of the checks to make sure the you can connect and create
tables from orion...so there is some other issue that is causing this. My
bet is on the bad serialization...if not, its got to be a bug.

Here's the console from a proper auto-deployment (this is from the
tutorial):

Auto-unpacking
/usr/home/ernst/addressbook/addressbook/build/addressbook.ear... done.
Auto-deploying addressbook...
Auto-deploying addressbook-ejb.jar (No previous deployment found)...
Auto-creating table: create table addressbook_ejb_AddressEntry (name char
(255) not null primary key, address char (255), city char (255))
done.
Orion/1.2.7 initialized


I noticed that your console trace didn't have the un-packing bit. It could
be that when you change databases, you have to redo the whole auto-deploy
cycle to get the table to recreate. Since the table columns are exactly the
same, orion doesn't recreate the table...even though the database has
changed. I am not sure that this functionality would be a bug, or a
undocumented *feature* ;).

Regards,

the elephantwalker




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brynolf
Andersson
Sent: Sunday, May 06, 2001 10:44 AM
To: Orion-Interest
Subject: RE: CMP Primer and Oracle 8.1.7 deployment


Hi,
Yes scott can create tables (connect,resource and dba)
Yes I can log on to the box run sqlplus and connect as scott, both from the
development PC and locally on the box.
Yes Net8 is running properly, I wrote a small servlet that uses JDBC to
create and read tables and that on is working fine.
Yes, the port is 1521

So, perhaps someone know a way to debug whats going on ?

Thanks
From: elephantwalker [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: CMP Primer and Oracle 8.1.7 deployment
Date: Sat, 5 May 2001 17:37:17 -0700

Has user scott allowed to create tables? (usually scott is allowed to
create
tables). Can you log into the sun box, start sqlplus, and connect as scott?
Is net8 running properly? Is the port for net8 listed in the service file
on
the sun box? Can you connect to the sun box from an oracle client on your
win 2000 box?

These are the places I would start in debugging this problem.

I have been running oracle 8.1.7 and orion with no problems.

the elephantwalker
   -Original Message-
   From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kalle Anka
   Sent: Saturday, May 05, 2001 4:45 PM
   To: Orion-Interest
   Subject: Q:CMP Primer and Oracle 8.1.7 deployment


   Hi all,
   I'm trying to deploy the CMP Primer (running on Win2000) using an Oracle
8.1.7 database on a Solaris box. Everything works fine if I use the default
database provided by Orion (Hypersonic ??). The table is created according
to the extremly good example. But when I change the data-sources.xml into
the following, the table is not created (I removed the hypersonic and added
the Oracle one, so only one entry).

data-source
  class=com.evermind.sql.DriverManagerDataSource
   name=Oracle
   schema=database-schemas/oracle.xml
   location=jdbc/OracleCoreDS
   xa-location=jdbc/xa/OracleXADS
   ejb-location=jdbc/OracleDS
   connection-driver=oracle.jdbc.driver.OracleDriver
   username=scott
   password=tiger
   url=jdbc:oracle:thin:@sunprod:1521:orcl
   inactivity-timeout=30
 /

   So, I turned on the debugging information for JDBC, but no errors:

   C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying
addressbook (New server version detected)...
   DataSource logwriter activated...
   jdbc:oracle:thin:@sunprod:1521:orcl: Started
   jdbc:oracle:thin:@sunprod:1521:orcl: Started
   Auto-deploying addressbook-ejb.jar (No previous deployment found)...
   Created new physical connection: XA XA Orion Pooled
jdbc:oracle:thin:@sunprod:1521:orcl
   null: Connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl
allocated (Pool size: 0)
   jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new
physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1a
   Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled or
   acle.jdbc.driver.OracleConnection@ece70d1a allocated (Pool size: 0)
   Pooled jdbc:oracle:thin

Q:CMP Primer and Oracle 8.1.7 deployment

2001-05-05 Thread Kalle Anka
Hi all,
I'm trying to deploy the CMP Primer (running on Win2000)using an Oracle 8.1.7 database on a Solaris box. Everything works fine if I use the default database provided by Orion (Hypersonic ??). The table is createdaccording to the extremly good example.But when I change the data-sources.xml into the following, the table is not created (I removed the hypersonic and added the Oracle one, so only one entry).

data-source class="com.evermind.sql.DriverManagerDataSource" name="Oracle" schema="database-schemas/oracle.xml" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS" ejb-location="jdbc/OracleDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="scott" password="tiger" url="jdbc:oracle:thin:@sunprod:1521:orcl" inactivity-timeout="30" /

So, I turned on the debugging information for JDBC, but no errors:

C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying addressbook (New server version detected)...DataSource logwriter activated...jdbc:oracle:thin:@sunprod:1521:orcl: Startedjdbc:oracle:thin:@sunprod:1521:orcl: StartedAuto-deploying addressbook-ejb.jar (No previous deployment found)... 
Created newphysical connection: XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orclnull: Connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl allocated (Pool size: 0)jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1aPooled jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled oracle.jdbc.driver.OracleConnection@ece70d1a allocated (Pool size: 0)Pooled jdbc:oracle:thin:@sunprod:1521:orcl: Releasing connectionPooled oracle.jdbc.driver.OracleConnection@ece70d1a to pool (Pool size: 1)null: Releasing connection XA XA Orion Pooled jdbc:oracle:thin:@sunprod:1521:orcl to pool (Pool size: 1)done.Orion/1.4.5 initialized

Anyone got a clue why this is happening, or have I missed something ???

//KalleGet your FREE download of MSN Explorer at http://explorer.msn.com



RE: CMP Primer and Oracle 8.1.7 deployment

2001-05-05 Thread elephantwalker



Has 
user scott allowed to create tables? (usually scott is allowed to create 
tables). Can you log into the sun box, start sqlplus, and connect as scott? Is 
net8 running properly? Is the port for net8 listed in the service file on the 
sun box? Can you connect to the sun box from an oracle client on your win 2000 
box?

These 
are the places I would start in debugging this problem.

I have 
been running oracle 8.1.7 and orion with no problems.

the 
elephantwalker

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Kalle 
  AnkaSent: Saturday, May 05, 2001 4:45 PMTo: 
  Orion-InterestSubject: Q:CMP Primer and Oracle 8.1.7 
  deployment
  Hi all,
  I'm trying to deploy the CMP Primer (running on Win2000)using an 
  Oracle 8.1.7 database on a Solaris box. Everything works fine if I use the 
  default database provided by Orion (Hypersonic ??). The table is 
  createdaccording to the extremly good example.But when I change 
  the data-sources.xml into the following, the table is not created (I removed 
  the hypersonic and added the Oracle one, so only one entry).
  
  data-source 
  class="com.evermind.sql.DriverManagerDataSource" 
  name="Oracle" 
  schema="database-schemas/oracle.xml" 
  location="jdbc/OracleCoreDS" 
  xa-location="jdbc/xa/OracleXADS" 
  ejb-location="jdbc/OracleDS" 
  connection-driver="oracle.jdbc.driver.OracleDriver" 
  username="scott" password="tiger" 
  url="jdbc:oracle:thin:@sunprod:1521:orcl" 
  inactivity-timeout="30" /
  
  So, I turned on the debugging information for JDBC, but no errors:
  
  C:\orionjava -Ddatasource.verbose=true -jar orion.jar Auto-deploying 
  addressbook (New server version detected)...DataSource logwriter 
  activated...jdbc:oracle:thin:@sunprod:1521:orcl: 
  Startedjdbc:oracle:thin:@sunprod:1521:orcl: StartedAuto-deploying 
  addressbook-ejb.jar (No previous deployment found)... 
  Created newphysical connection: XA XA Orion Pooled 
  jdbc:oracle:thin:@sunprod:1521:orclnull: Connection XA XA Orion Pooled 
  jdbc:oracle:thin:@sunprod:1521:orcl allocated (Pool size: 
  0)jdbc:oracle:thin:@sunprod:1521:orcl: Opened connection Created new 
  physical connection: Pooled oracle.jdbc.driver.OracleConnection@ece70d1aPooled 
  jdbc:oracle:thin:@sunprod:1521:orcl: Connection Pooled oracle.jdbc.driver.OracleConnection@ece70d1a 
  allocated (Pool size: 0)Pooled jdbc:oracle:thin:@sunprod:1521:orcl: 
  Releasing connectionPooled oracle.jdbc.driver.OracleConnection@ece70d1a 
  to pool (Pool size: 1)null: Releasing connection XA XA Orion Pooled 
  jdbc:oracle:thin:@sunprod:1521:orcl to pool (Pool size: 
  1)done.Orion/1.4.5 initialized
  
  Anyone got a clue why this is happening, or have I missed something 
  ???
  
  //Kalle
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com
  


SV: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem

2001-05-04 Thread Patrik Andersson
Title: SV: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem





Thanx a gazillion. :)


-Ursprungligt meddelande-
Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
Skickat: den 4 maj 2001 04:08
Till: Orion-Interest
Ämne: Re: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem



Hi,
you can find it on http://www.allaire.com/products/kawa/index.cfm. It is the
service pack 1.


Thanks,
Kalle



From: Patrik Andersson [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
Date: Thu, 3 May 2001 18:37:45 +0200

Hi,

where can I find the module containing:
com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to work?

-Ursprungligt meddelande-
Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
Skickat: den 2 maj 2001 18:46
Till: Orion-Interest
Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem


Hi all,
I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion.
I klnow that Orion is started and working fine but when I try to deploy
from

Kawa I'll get the following message:

C:/java/jdk1.2.2/bin/java.exe
com.allaire.ejb.deployment.orion.OrionDeployer

C:/orion C:/projects/helloworld/HelloApp.ear
java.net.SocketException: connect (code060)  at
com.sun.xml.parser.Parser.fatal(Parser.java:2817)  at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)  at
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)  at
com.sun.xml.parser.Parser.parseInternal(Parser.java:481)  at
com.sun.xml.parser.Parser.parse(Parser.java:284)  at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95)
 at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126)
at
com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java,
Compiled Code) Process Exit...

My guess is that this is depending on that Kawa can't find the Orion server
(installed locally) or a security issue ?

Thanks,
Kalle
_
Get your FREE download of MSN Explorer at http://explorer.msn.com



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





Re: SV: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem

2001-05-04 Thread Kalle Anka

Hi,
if you get it to work, please let me know how you did it.

Thanks,
Kalle


From: Patrik Andersson [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: SV: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
Date: Fri, 4 May 2001 12:21:31 +0200

Thanx a gazillion. :)

-Ursprungligt meddelande-
Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
Skickat: den 4 maj 2001 04:08
Till: Orion-Interest
Ämne: Re: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem


Hi,
you can find it on http://www.allaire.com/products/kawa/index.cfm. It is
the
service pack 1.

Thanks,
Kalle


 From: Patrik Andersson [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
 Date: Thu, 3 May 2001 18:37:45 +0200
 
 Hi,
 
 where can I find the module containing:
 com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to
work?
 
 -Ursprungligt meddelande-
 Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
 Skickat: den 2 maj 2001 18:46
 Till: Orion-Interest
 Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem
 
 
 Hi all,
 I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to
Orion.
 I klnow that Orion is started and working fine but when I try to deploy
 from
 
 Kawa I'll get the following message:
 
 C:/java/jdk1.2.2/bin/java.exe
 com.allaire.ejb.deployment.orion.OrionDeployer
 
 C:/orion C:/projects/helloworld/HelloApp.ear
 java.net.SocketException: connect (code060) at
 com.sun.xml.parser.Parser.fatal(Parser.java:2817)at
 com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)  at
 com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at
 com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at
 com.sun.xml.parser.Parser.parse(Parser.java:284) at
 com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126)
 at
 com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java,
 Compiled Code) Process Exit...
 
 My guess is that this is depending on that Kawa can't find the Orion
server
 (installed locally) or a security issue ?
 
 Thanks,
 Kalle
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 

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


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





SV: Kawa 5.0 Ent SP1 and Orion, deployment problem

2001-05-03 Thread Patrik Andersson
Title: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem





Hi,


where can I find the module containing: com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to work?


-Ursprungligt meddelande-
Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
Skickat: den 2 maj 2001 18:46
Till: Orion-Interest
Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem



Hi all,
I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion. 
I klnow that Orion is started and working fine but when I try to deploy from 
Kawa I'll get the following message:


C:/java/jdk1.2.2/bin/java.exe com.allaire.ejb.deployment.orion.OrionDeployer 
C:/orion C:/projects/helloworld/HelloApp.ear
java.net.SocketException: connect (code=10060) at 
com.sun.xml.parser.Parser.fatal(Parser.java:2817)  at 
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)  at 
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)  at 
com.sun.xml.parser.Parser.parseInternal(Parser.java:481)  at 
com.sun.xml.parser.Parser.parse(Parser.java:284)  at 
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95) 
 at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126)  at 
com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java, 
Compiled Code) Process Exit...


My guess is that this is depending on that Kawa can't find the Orion server 
(installed locally) or a security issue ?


Thanks,
Kalle
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Re: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem

2001-05-03 Thread Kalle Anka

Hi,
you can find it on http://www.allaire.com/products/kawa/index.cfm. It is the
service pack 1.

Thanks,
Kalle


From: Patrik Andersson [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: SV: Kawa 5.0 Ent SP1 and Orion, deployment problem
Date: Thu, 3 May 2001 18:37:45 +0200

Hi,

where can I find the module containing:
com.allaire.ejb.deployment.orion.OrionDeployer and how do I gettit to work?

-Ursprungligt meddelande-
Från: Kalle Anka [mailto:[EMAIL PROTECTED]]
Skickat: den 2 maj 2001 18:46
Till: Orion-Interest
Ämne: Q:Kawa 5.0 Ent SP1 and Orion, deployment problem


Hi all,
I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion.
I klnow that Orion is started and working fine but when I try to deploy
from

Kawa I'll get the following message:

C:/java/jdk1.2.2/bin/java.exe
com.allaire.ejb.deployment.orion.OrionDeployer

C:/orion C:/projects/helloworld/HelloApp.ear
java.net.SocketException: connect (code060)   at
com.sun.xml.parser.Parser.fatal(Parser.java:2817)  at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)at
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)   at
com.sun.xml.parser.Parser.parseInternal(Parser.java:481)   at
com.sun.xml.parser.Parser.parse(Parser.java:284)   at
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95)
   at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126)
at
com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java,
Compiled Code) Process Exit...

My guess is that this is depending on that Kawa can't find the Orion server
(installed locally) or a security issue ?

Thanks,
Kalle
_
Get your FREE download of MSN Explorer at http://explorer.msn.com


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





Q:Kawa 5.0 Ent SP1 and Orion, deployment problem

2001-05-02 Thread Kalle Anka

Hi all,
I am trying to use Kawa 5.0 ENT SP1 with Orion and I can't deploy to Orion. 
I klnow that Orion is started and working fine but when I try to deploy from 
Kawa I'll get the following message:

C:/java/jdk1.2.2/bin/java.exe com.allaire.ejb.deployment.orion.OrionDeployer 
C:/orion C:/projects/helloworld/HelloApp.ear
java.net.SocketException: connect (code=10060)  at 
com.sun.xml.parser.Parser.fatal(Parser.java:2817)   at 
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at 
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)at 
com.sun.xml.parser.Parser.parseInternal(Parser.java:481)at 
com.sun.xml.parser.Parser.parse(Parser.java:284)at 
com.sun.xml.parser.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:95) 
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:126)at 
com.allaire.ejb.deployment.orion.OrionDeployer.main(OrionDeployer.java, 
Compiled Code) Process Exit...

My guess is that this is depending on that Kawa can't find the Orion server 
(installed locally) or a security issue ?

Thanks,
Kalle
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Broken pipe with auto-deployment ?

2001-05-01 Thread Eddie

Hellu,

When I touch the ejb-jar.xml and the application.xml during operation, I
always get the following error.
---
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Broken pipe; nested exception is:
java.io.IOException: Broken pipe
---
So until now I just always killed and restarted Orion (restarting doesn't
work with me with the admin.jar: it says in the STDOUT log: shutting down
orion.. and it never says anyting more).
But Now the time has come that I also like to kill that error.
Please some advice and help ??

Eddie





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

2001-04-26 Thread KirkYarina

Move (or link or copy) your orion-ejb-jar.xml under META-INF, instead of 
the orion directory.  This was mentioned on the list a while back, but 
didn't seem to make it into changes.txt.

It bit me, too

Kirk Yarina

At 01:12 PM 4/25/01 +0200, you wrote:
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





  1   2   3   >