RE: Another request for struts on orion

2001-04-04 Thread Michael J. Cannon

On April 3r, 2001, quoth Rick Hightower:

"Is there a way to search this mail archive?

The URL is here:

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

now, on searching, found this for 1.45:

"Have you put struts.jar in your WEB-INF/lib directory (correct) or in
the orion/lib directory (incorrect)?

Also struts needs to be patched to work with Orion (ActionServlet.java
as I remember, its in the archives)."

and this for 1.47:

" I had the same problem with Orion 1.4.7 and Struts 1.0beta (today's
build),
here's how I got it to work:

You have to remove all the tlds from WEB-INF/lib/struts.jar that are under
org.apache.struts.resources and put them under
WEB-INF/classes/org/apache/struts/resources.  Don't just copy them, they
have to disapear from your struts.jar

Took care of my issue, a bit annoying we have to do this but looks more like
a bug in Orion than in Struts.  Any comments on this?

Christian"

and this, further, for 1.4.7:

"You're still going to run into problems when you try to use message
resources (used prolifically for internal messages).  Struts
PropertyMessageResources calls getResourceAsStream() like this:

is = this.getClass().getClassLoader().getResourceAsStream(name);

...and if you look at the Orion classloader, it does not implement
getResourceAsStream().

This is what produces the "Cannot find message resources under
org.apache.struts.action.MESSAGE" error.  Look through the struts code
for the source of that message; it has nothing to do with loading the
dtds.


The change described below is not necessary on Orion 1.4.5 or 1.4.7 (the
only versions I have tested struts on).  My current struts code has
this.getClass().getResource(), and I see on the Orion console the
correct Digester registration methods for the dtds.
this.getClass().getClassLoader().getResource() is returning the correct
thing.

...browsing the (decompiled) source, it is amusing to note that the
Orion ServletContext (com.evermind.server.http.HttpApplication) does
implement getResourceAsStream(), but from the Struts
PropertyMessageResources you do not have access to the servlet context
so it's no use :-)

Jeff"

and that seems to be all of substance...had it working myself since about
the 15th of last month, but use it rarely, as we are a Cocoon shop.

Michael J. Cannon


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Rick Hightower
 Sent: Tuesday, April 03, 2001 6:08 PM
 To: Orion-Interest
 Subject: Another request for struts on orion





 I am also having a problem running struts on Orion.

 I followed the instructions and noticed that the directions to install the
 sample application on Orion (as written) would not work. First it only
 mentions copying one xml file not action.xml (it mentions
 struts_config.xsl). Then it asks you to point the config setting to
 action.xml without copying it to the web application root. The directions
 seem to be missing some steps.

 I tried to improvise and tried to copy all xml (and tag definition files)
 files from WEB-INF to the web app root of the sample, but I am running out
 of ideas. I realize that Orion is popular and someone has this running
 somewhere. And I also realize that this question has been asked for

 Where is a good place to search for the answers to this question?
 Is there a way to search this mail archive?

 (BTW I did get struts to work on weblogic 5.1)

 --Rick Hightower
 Software Developer
 http://www.geocities.com/rick_m_hightower/


 -Original Message-
 From: Shawn Stephens [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 03, 2001 2:42 PM
 To: [EMAIL PROTECTED]
 Subject: jndi


 Hello,
   Does anyone have the strut examples working with orionserver 1.4.5
 or later.  If not, does anyone know where I can find more
 information on how
 to get this to work.  I have implemented the extra procedures required to
 set up strut with orion.


 Thanks,
 Shawn Stephens

 I get this error when I try to run the app:

 4/3/01 4:33 PM defaultWebApp: 1.4.7 Started
 4/3/01 4:33 PM strutsExample: database: init
 4/3/01 4:33 PM strutsExample: database: Initializing database servlet
 4/3/01 4:33 PM strutsExample: database: Loading database from
 '/WEB-INF/database.xml'
 4/3/01 4:33 PM strutsExample: action: init
 4/3/01 4:33 PM strutsExample: action: Loading application resources from
 resource org.apache.struts.example.ApplicationResources
 4/3/01 4:33 PM strutsExample: action: Initializing configuration from
 resource path /WEB-INF/action.xml
 4/3/01 4:33 PM strutsExample: action: null
 java.net.MalformedURLException: unknown protocol: jndi
   at
 org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
   at
 org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExt
 ernalEntit
 y(DefaultEntityHandler.java:750)
   at
 org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExt
 ernalSubse
 t(DefaultEntityHandler.java:566)
   at
 

RE: Friendly error messages from Microsoft get in the way (was Er ror pages defined in web.xml not found / activated)

2001-04-04 Thread Frank Eggink

You are right. Thanks and humble apologies: it looks like I was constructing my own 
obfuscator ...

On Tuesday, April 03, 2001 12:52 PM, Johan Fredriksson 
[SMTP:[EMAIL PROTECTED]] wrote:
 Are you sure?
 
 I set my browser to show friendly http error messages and went to a page
 which does not exist. And I get the errorpage as defined in my web.xml
 
 Visit this page to test :
 
 http://www.batborsen.com/bb/se/this_page_does_not_exist.html
 
 the errorpage tag in web.xml looks like this
 
  error-page
 error-code404/error-code
 !--
 exception-typejavax.servlet.jsp.JspException/exception-type--
 locationse/batborsen_error.html/location
 /error-page
  error-page
 error-code500/error-code
 
 !--exception-typejavax.servlet.jsp.JspException/exception-type--
 locationse/batborsen_error.html/location
 /error-page
 
 take an extra look at the location tag...
 
 I am using IE6
 
 Johan
 
 
 - Original Message -
 From: "Frank Eggink" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Monday, April 02, 2001 8:51 PM
 Subject: RE: Friendly error messages from Microsoft get in the way (was Er
 ror pages defined in web.xml not found / activated)
 
 
  At least for development I can switch them off. Users (and helpdesk) will
 have to live with it.
 
  I never knew people could think of developing error message obfuscators
 :-(
 
  On Monday, April 02, 2001 7:14 PM, Juan Lorandi (Chile)
 [SMTP:[EMAIL PROTECTED]] wrote:
   the error code is sent on the very first line of the response header--
 and
   orion doesn't allow you to control that
  
-Original Message-
From: Frank Eggink [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 3:56 AM
To: Orion-Interest
Subject: Friendly error messages from Microsoft get in the way (was
Error pages defined in web.xml not found / activated)
   
   
Well ...
   
How can you spend your weekend?!?
   
   
The problem I described looks to be caused by wat's called
'friendly error
messages' from the Internet Explorer. All runs fine with Netscape.
Microsoft replaces standard 404 'can not find page' errors
with their own
page, which is considered (by them) to be more user friendly.
   
Still I do not understand how the Explorer gets the
information there is a
404 error. Could this be somewhat less wanted feature of
Orion? I certainly
would like to have control over this error message.
   
FE
   
On Friday, March 30, 2001 5:48 PM, Frank Eggink
[SMTP:[EMAIL PROTECTED]] wrote:
 Hi,

 I'm having a problem. I have defined error pages in my web.xml

 I've defined:

 error-page
 error-code404/error-code
 location/errors/error404.jsp/location
 /error-page

 Now I expect to see the error page when I request a non
existing page
like
 http://localhost/my-app/non-existing-page.html, which does
not happen.
I'm
 obviously overlooking something, but what??

 [When I define the error page in a jsp page with %@
 errorpage=/errors/error404.jsp % it does work. So it can
find the page,
 which gives me the impression I've setup something wrong. What??


 FE

 Frank Eggink
 Swift Applications
 [EMAIL PROTECTED]
 +31 6 28847325 (voice)
 +31 33 4532464 (fax)


   
  
 
 




Re: Concurrent modification

2001-04-04 Thread Nicola Folino

Thanks,
I solved the problem, and that was the answer...
- Original Message - 
From: "Jeff Schnitzer" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 1:07 AM
Subject: RE: Concurrent modification


 ConcurrentModificationException is the result of a fail-fast iterator in
 the JDK 1.2+ collections framework.  If one thread is iterating a
 collection and another thread modifies the collection, the next call to
 the iterator will immediately throw this exception.  In the ugly old
 days of Hashtable and Vector, the results of concurrent modification
 were undefined.
  
 You need to rethink your synchronization strategy for whatever shared
 data you are initializing in initsequence.jsp.
  
 Jeff
 
 -Original Message-
 From: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 30, 2001 12:36 AM
 To: Orion-Interest
 Subject: Concurrent modification
 
 
 I have a web application with some jsp pages. If I click twice on a link
 to another jsp page, I get the exception:
  
 java.util.ConcurrentModificationException
 at java.util.HashMap$HashIterator.next(Unknown Source)
 at java.util.Collections$6.nextElement(Unknown Source)
 at
 __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp
 .java:38)
 at com.orionserver.http.OrionHttpJspPage.service(JAX)
 at com.evermind.server.http.HttpApplication.xj(JAX)
 at com.evermind.server.http.JSPServlet.service(JAX)
 at com.evermind.server.http.d3.sw(JAX)
 at com.evermind.server.http.d3.su(JAX)
 at com.evermind.server.http.ef.s1(JAX)
 at com.evermind.server.http.ef.do(JAX)
 at com.evermind.util.f.run(JAX)
 Keep in mind that go to the other link through an intermediate page
 which uses the directive jsp:forward page="somePage". The same
 application runs perfectly on JRun, but I saw that Allaire J2EE Server
 moves from standard, so I'd like to develope on Orion...
 Thanks
 





Re: Returning Collections from ejbFindXXX()

2001-04-04 Thread Nicola Folino

When you return something in a Collection ejbFindByXXX method, what you
return is the KEY of your table (in your case I think the key is a
String...). What you get in the home interface is a collection of remote
references of your ejb-object (for example Customer object in a CustomerBean
ejb...).


- Original Message -
From: "Permjeet Pandha" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 3:53 PM
Subject: Returning Collections from ejbFindXXX()


 Hi,

 Has anyone tried to return Collections from a BMP ejbFindAll() type of
 operation?

 I return an ArrayList of String objects, the client receives this list ok
 but gets a cast exception on trying to extract the String from the list.
eg.

   public Collection ejbFindAll() throws java.rmi.RemoteException,
 javax.ejb.FinderException
   {
 ArrayList v = new ArrayList();
 v.add("First");
 v.add("Second");
 return v;
   }

 and the client code:

   Collection coll = home.findAll();
   System.out.println(coll.size()  + coll.toString()); // this shows
 correct count and contents: "2[First, Second]"
   Iterator iterator = coll.iterator();
   while(iterator.hasNext())
   {
 String s = (String)iterator.next();// class cast exception
 System.out.println("Desc=" + s);
   }

 On closer inspection with a debugger it turns out the objects in the list
 are of class __Proxy5, some sort of orion proxy object.

 This appears to be a bug but I'd like to be sure in case its me. Has
anyone
 done this successfully?

 I'm using orion 1.4.5, I cannot seem to upgrade with autoupdate due to
 (probably) firewall restrictions.

 TIA

 Permjeet







RE: Returning Collections from ejbFindXXX()

2001-04-04 Thread Permjeet Pandha

Thanks, thats exactly it.

Permjeet

-Original Message-
From: Frank LaRosa [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 6:55 AM
To: Orion-Interest
Subject: Re: Returning Collections from ejbFindXXX()


The reason you're getting an exception is because the collection of Strings
you return from your EJB method is not the same collection that the client
receives. The client receives a collection of your EJB's remote interface
class, and that is the class to which you should cast the results.

Remember that it is the EJB container (Orion) which calls your EJB methods,
not the client. Orion receives your String collection and uses it to create
a collection of EJBs which are returned to the client code.


- Original Message -
From: "Permjeet Pandha" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 8:53 AM
Subject: Returning Collections from ejbFindXXX()


 Hi,

 Has anyone tried to return Collections from a BMP ejbFindAll() type of
 operation?

 I return an ArrayList of String objects, the client receives this list ok
 but gets a cast exception on trying to extract the String from the list.
eg.

   public Collection ejbFindAll() throws java.rmi.RemoteException,
 javax.ejb.FinderException
   {
 ArrayList v = new ArrayList();
 v.add("First");
 v.add("Second");
 return v;
   }

 and the client code:

   Collection coll = home.findAll();
   System.out.println(coll.size()  + coll.toString()); // this shows
 correct count and contents: "2[First, Second]"
   Iterator iterator = coll.iterator();
   while(iterator.hasNext())
   {
 String s = (String)iterator.next();// class cast exception
 System.out.println("Desc=" + s);
   }

 On closer inspection with a debugger it turns out the objects in the list
 are of class __Proxy5, some sort of orion proxy object.

 This appears to be a bug but I'd like to be sure in case its me. Has
anyone
 done this successfully?

 I'm using orion 1.4.5, I cannot seem to upgrade with autoupdate due to
 (probably) firewall restrictions.

 TIA

 Permjeet








Re: isolation levels

2001-04-04 Thread Dan North

Thanks Jeff and Arved - no idea how I missed the "I" in ACID transactions!

Looks like I've got the information I need to try and track down this 
deadlock now.

Has anyone else experienced container-level deadlocks who could give me any 
pointers?

Thanks again,
Dan/tastapod

ps. What a helpful mailing list :o)


At 10:41 03/04/2001 -0600, you wrote:
See the URL below. The constants defined in the java.sql.Connection class
define what they mean.

http://java.sun.com/j2se/1.3/docs/api/java/sql/Connection.html

Also, Oreilly's Enterprise JavaBeans 2nd edition has a very good overview of
what these isolation levels mean.

Jeff.

Dan North wrote:

  Hi list.
 
  There is an isolation="serializable|committed|uncommitted|repeatable_read"
  attribute for entity-deployment that isn't very clearly documented.
 
  Does anyone know what these levels do (or where I should look to find
  out)?  In particular, on one finder method (findByParent for a tree-based
  data structure) I get a deadlock (in the app server, not the database) if
  the finder method is fired twice in rapid succession, and I'm wondering
  whether changing the isolation to "repeatable_read" might cure this?
 
  Or am I barking up a completely inappropriate tree?
 
  Thanks,
  Dan/tastapod
 
  --
  Dan North
  VP Development  -  Cadrion Software Ltd  -  +44 (0)20 7440 9550
 
  CONFIDENTIALITY
  This e-mail and any attachments are confidential
  and may also be privileged. If you are not the named recipient,
  please notify the sender immediately and do not disclose the
  contents to another person, use it for any purpose, or store
  or copy the information in any medium

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

--
Dan North
VP Development  -  Cadrion Software Ltd  -  +44 (0)20 7440 9550

CONFIDENTIALITY
This e-mail and any attachments are confidential
and may also be privileged. If you are not the named recipient,
please notify the sender immediately and do not disclose the
contents to another person, use it for any purpose, or store
or copy the information in any medium





max-table-name-length - a bug or a feature?!?

2001-04-04 Thread Randahl Fink Isaksen

When using max-table-name-length in my database schema Orion does not only
truncate table names, it also alters them. I have a couple of beans which
all have their own relationship to a certain other bean which has a long
name. This should result in Orion creating the following tables:

MyFirstEJB
MyFirstEJB_theCertainOtherBeansIKnow
MySecondEJB
MySecondEJB_theCertainOtherBeansIKnow
CertainOtherBean

Where the tables called "X_theCertainOtherBeansIKnow" store the relationship
keys. However, when these relationship tables have too long names Orion does
not remove characters at the end of the names, rather it removes the bean
name from the table name. So instead of a truncated name like
"MySecondEJB_theCertainOth", I get this name instead:
"theCertainOtherBeansIKnow".
This is quite a problem since many of my EJBs have this relationship, and
then Orion thinks it should create a table named "theCertainOtherBeansIKnow"
for each of them, which it cannot because the table names collide.

As a work-around I have decided to force Orion to use table names which I
will specify in "orion-ejb-jar.xml". - But of course this is not very
satisfactory.

If anyone knows another solution to this problem or have any suggestions I
would very much like to hear from you.


Yours
Randahl





RE: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Mark A. Richman
Title: SV: Deploy EAR/WAR via HTTP upload



Thanks, but I was 
thinking along the lines of an HTML form that I upload an EAR to. Then a JSP or 
Servlet would deploy the archive.

Regards,Mark A. RichmanEmpire Software, Inc.Expert 
Software Development  Consulting+ Internet/Intranet/Extranet+ 
E-Commerce  B2B+ Java, C/C++, Visual Basic+ XML, SOAP, and Web 
Services+ Linux  Open-Source Solutions+ Database Applications+ 
...and MUCH more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
954-234-9049 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus 
  RydinSent: Wednesday, April 04, 2001 1:40 AMTo: 
  Orion-InterestSubject: SV: Deploy EAR/WAR via HTTP 
  upload
  /orion/admin.jar commands : 
  -deploy - (re)deploys an application. Sub-switches are: 
   -file - Enterprise Archive to deploy 
   -deploymentName - Name of the application 
  deployment  -targetPath - The path on the 
  remote OS to place the archive at. If not specified the applications directory 
  is used 
  -bindWebApp [application deployment name] [web-app name] 
  [web-site name] [context root] - binds a web app to the specified site + 
  root
  Is it possible to deploy an EAR/WAR if uploaded via HTTP? 
  If so, how? Regards, Mark A. Richman Empire Software, 
  Inc. Expert Software Development  
  Consulting 

BEGIN:VCARD
VERSION:2.1
N:Richman;Mark;A.;Mr.
FN:Mark A. Richman
NICKNAME:Mark
ORG:Empire Software, Inc.
TITLE:President
NOTE;ENCODING=QUOTED-PRINTABLE:Empire Software, Inc.=0D=0AExpert Software Development  Consulting=0D=0A=
=0D=0A+ Internet/Intranet/Extranet=0D=0A+ E-Commerce  B2B=0D=0A+ Java, C/C+=
+, Visual Basic=0D=0A+ XML, SOAP, and Web Services=0D=0A+ Linux  Open-Sourc=
e Solutions=0D=0A+ Database Applications=0D=0A+ ...and MUCH more!=0D=0A
ADR;WORK:;954-234-9049;9932 NW 57 Manor;Coral Springs;FL;33076;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:954-234-9049=0D=0A9932 NW 57 Manor=0D=0ACoral Springs, FL 33076=0D=0AUSA
URL:
URL:http://www.empsoft.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010228T000841Z
END:VCARD



RE: isolation levels

2001-04-04 Thread Randahl Fink Isaksen

Dan North wrote:
ps. What a helpful mailing list :o)


Yes! It is truly a great list this one - it really makes you want to meet
all these helpfull skilled people and celebrate!... too bad we live in
different countries, there are a couple of people on this list whom I owe a
drink or two at the local pub :o)


R.





SV: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Magnus Rydin
Title: SV: Deploy EAR/WAR via HTTP upload



Write 
a servlet that utilizes admin.jar ?
WR

  -Ursprungligt meddelande-Från: Mark A. Richman 
  [mailto:[EMAIL PROTECTED]]Skickat: den 4 april 2001 
  04:38Till: Orion-InterestÄmne: RE: Deploy EAR/WAR via 
  HTTP upload
  Thanks, but I 
  was thinking along the lines of an HTML form that I upload an EAR to. Then a 
  JSP or Servlet would deploy the archive.
  
  Regards,Mark A. RichmanEmpire Software, Inc.Expert 
  Software Development  Consulting+ Internet/Intranet/Extranet+ 
  E-Commerce  B2B+ Java, C/C++, Visual Basic+ XML, SOAP, and Web 
  Services+ Linux  Open-Source Solutions+ Database 
  Applications+ ...and MUCH more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
  954-234-9049 
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus 
RydinSent: Wednesday, April 04, 2001 1:40 AMTo: 
Orion-InterestSubject: SV: Deploy EAR/WAR via HTTP 
upload
/orion/admin.jar commands : 
-deploy - (re)deploys an application. Sub-switches 
are:  -file - Enterprise Archive to 
deploy  -deploymentName - Name of the 
application deployment  -targetPath - 
The path on the remote OS to place the archive at. If not specified the 
applications directory is used 
-bindWebApp [application deployment name] [web-app name] 
[web-site name] [context root] - binds a web app to the specified site + 
root
Is it possible to deploy an EAR/WAR if uploaded via 
HTTP? If so, how? Regards, Mark A. Richman Empire Software, 
Inc. Expert Software Development  
Consulting 


RE: Does any one has a solution for the domain was null message???

2001-04-04 Thread Ray Harrison

From what I have seen, each app server is free to define its own specific method for 
partitioning
functionality and is not hard wired into the spec. Orion, Weblogic, EA Server, for 
instance, each
have their own protocol for intra/inter server communication. Jason has done an 
excellent job in
describing how Orion operates (and Jason, you also cleared up an issue I was having 
yesterday too
- thanks!). I am not always as careful as I should be when I read specs - Alex, is 
there a section
of the specs that says that you should be able to accomplish what you want to do from 
the approach
that you tried? Architecturally, it seems you have an orion server that is acting as a 
web
container and an orion server that is acting as an EJB container and that you want to 
use Orion's
protocols to have those two servers communicate appropriately. 

Cheers
Ray

--- Jason Smith [EMAIL PROTECTED] wrote:
 Well, I agree that it would be nice if you could get access to servers
 outside of Orion using the "client" approach, I don't think it necessarily
 defined in the J2EE platform specs.  I took a look around the J2EE 1.3
 specification, and the section J2EE.2.8 "Flexibility of Product
 Requirements" states:
 "This specification doesn't require that J2EE product be implemented by a
 single program, a single server, or even a single machine.  In general, this
 specification doesn't describe the partionining of services or functions
 between machines, servers, or processes.  As long as the requirements in
 this specification are met, J2EE Product Providers can partition the
 functionality however they see fit.  A J2EE product must be able to deploy
 application components that execute with the semantics described by this
 specification."
 
 In section J2EE.2.11.3 "Network Protocols" it says that "This specification
 defines the mapping of application components to industry-standard network
 protocols.  The mapping allows client access to the application components
 that have not installed J2EE product technology".
 
 Finally, in J2EE.8.2.1 "Application Assembly" subpart 3ii says "Dependencies
 that are not linked to internal components must be handled by the Deployer
 as external dependencies that must be met by resources previously installed
 on the platform.  External resources must be linked to the resources on the
 platform during deployment."
 
 From everything I have read, it seems that Orion isn't violating any
 specification rules, since they are allowed to partition functionality as
 they see fit.  Orion does allows multiple servers to intercommunicate, but
 it is the responsibility of the application deployer to specify those links
 (and it is specific to Orion).  Since the web container is bundled as part
 of the J2EE Server, I don't think the specification requires that it has
 access to anything outside that specific server environment.
 
 I would like to hear the thoughts of others about this, and any experiences
 they might have had with access with remote containers/servers.
 
 -jason
 
 


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




Re: MessageDriven Beans !

2001-04-04 Thread colin harris

i remember there being a bug in the JMS implementation, that it only works
with one topic at the moment,  here it is -

bug#353
If we create multiple JMS topics only the last created topic will be served
by
message-driven beans who subscribed to that "last created topic". In other
words, there is nothing to serve previously created topics and beans who
subscribed to these topics never get to be notified.
colin
- Original Message -
From: "Bruno Baloi" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 4:12 AM
Subject: MessageDriven Beans !


 Hi all,

 This is a freaky thing that I have been experiencing.

 Here's the scenario:

 I have two sets of topics: a server topic and a client topic.
 The server topic is hooked to a Message Driven Bean. There is some logic
 involved that places a message on the "server" topic.In turn the Message
 Driven Bean is awaken and it odes some procesisng in its turn.
 Subsequently,
 when the processing is done, I publish a message onto a separate topic
 for a client.

 Everything works fine up to the point where the Message Driven Bean
 publishes on to the "Client " topic. Everything looks peechy, however,
 the client subscriber to the client topic never gets the message.


 If I try an external client that publishes a message onto the client
 topic, the subscriber gets it.

 SO my dillemma, and what's been driving me nuts for the last few days,
 is that, the bloody Message Driven Bean does something to the topic, and
 freezes it up. I can't think of any reason why it should , but it does.

 Has anyone out there experienced such problems with the message driven
 beans ???
 If so could you please lend a helping hand to someone who is slowly
 going looney  

 Any input is much apreciated !

 Thanks !!!


 Bruno








Re: SV: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Mark Richman

Easier said than done on a system that isn't Open Source!

- Mark

 Write a servlet that utilizes admin.jar ?
 WR
 
 -Ursprungligt meddelande-
 Från: Mark A. Richman [mailto:[EMAIL PROTECTED]]
 Skickat: den 4 april 2001 04:38
 Till: Orion-Interest
 Ämne: RE: Deploy EAR/WAR via HTTP upload
 
 
 Thanks, but I was thinking along the lines of an HTML form
that I 
 upload an
 EAR to. Then a JSP or Servlet would deploy the archive.
  
 
 Regards,
 Mark A. Richman
 Empire Software, Inc.
 Expert Software Development  Consulting
 
 + Internet/Intranet/Extranet
 + E-Commerce  B2B
 + Java, C/C++, Visual Basic
 + XML, SOAP, and Web Services

 + Linux  Open-Source Solutions
 + Database Applications
 + ...and MUCH more!
 
 http://www.empsoft.com http://www.empsoft.com/ 
 [EMAIL PROTECTED]
 Tel: 954-234-9049
   
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
Magnus Rydin
 Sent: Wednesday, April 04, 2001 1:40 AM
 To: Orion-Interest
 Subject: SV: Deploy EAR/WAR via HTTP upload
 
 
 
 /orion/admin.jar commands : 
 
 -deploy - (re)deploys an application. Sub-switches are: 
-file - Enterprise Archive to deploy 
-deploymentName - Name of the application deployment 
-targetPath - The path on the remote OS to place the
archive at. If 
 not
 specified the applications directory is used 
 
 -bindWebApp [application deployment name] [web-app name]
[web-site 
 name]
 [context root] - binds a web app to the specified site + root
 
 Is it possible to deploy an EAR/WAR if uploaded via HTTP?
If so, how? 
 Regards, 
 Mark A. Richman 
 Empire Software, Inc. 
 Expert Software Development  Consulting 
 
 


-- 
Mark A. Richman 
Empire Software, Inc.
Expert Software Development  Consulting 
  
+ Internet/Intranet/Extranet 
+ E-Commerce  B2B 
+ Java, C/C++, Visual Basic 
+ XML, SOAP, and Web Services 
+ Linux  Open-Source Solutions 
+ Database Applications 
+ ...and MUCH more! 

http://www.empsoft.com
[EMAIL PROTECTED]
954-234-9049 







Re: Collection Finders With Entity Argument Always Return Empty Collection

2001-04-04 Thread Peter Pontbriand

Your second suggestion's on the money. Although the primkey-mapping block
for CatalogEJB used our standard listing of identity first and then locale,
the orion-ejb-jar.xml had locale first and then identity in the
cmp-field-mapping for CatalogEntryEJB's Catalog field. Reversing this causes
the generated finder code to correctly insert the SQL parameters.

Its too bad that the orion-ejb-jar.xml was not generated correctly the first
time, but manually ensuring that the order of the primary key fields matches
throughout the deployment descriptors does seem to resolve the problem.

P.Pontbriand
Canlink Interactive Technologies Inc.

- Original Message -
From: "Jeff Schnitzer" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, April 03, 2001 7:32 PM
Subject: RE: Collection Finders With Entity Argument Always Return Empty
Collection


 Try reversing the order of the fields in the primkey-mapping block for
 the bean in the orion-ejb-jar.xml.  Might also work just to change the
 order in the ejb-jar.xml, especially if you deploy from scratch.

 Jeff

 -Original Message-
 From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 28, 2001 7:51 AM
 To: Orion-Interest
 Subject: Re: Collection Finders With Entity Argument Always
 Return Empty
 Collection
 
 
 Hmm. it seems a good under-desk gibbering session is helps
 focus the brain.
 Once that was over with, I copied the generated finder code
 (below) into an
 EJB of my own and executed it, getting the same results - not
 rows in the
 ResultSet. I then wasted a whack of time trying to lay my
 eyeballs on the
 actual final SQL statement being tossed at the database. No
 luck there, no
 amount of downcasting to assorted Oracle JDBC Driver Statement
 classes would
 produce a way to get a human readable parameterized SQL statement. No
 matter, though, since by chance I spotted the problem in the
 generated code:
 
 THE ORION-GENERATED CODE REVERSES THE ORDER OF THE STATEMENT
 PARAMETERS!!!
 
 Notice the criteria in the where clause: first is
 CatalogEntryEJB.catalogIdentity, second is
 CatalogEntryEJB.catalogLocale.
 These are the two fields of the composite primary key of CatalogEJB, a
 String and a Locale respectively.
 
 Now look at the code that inserts the values for these parameters:
 
 First is: statement.setString(1,
 com.evermind.util.ObjectUtils.toString(primaryKey398.locale));
 And second is: statement.setString(2, primaryKey398.identity);
 
 The locale is being inserted where the identity should be, and
 vice-versa.
 
 Bugzilla Bug #379 has been posted. Anybody got a
 non-stomach-churningly-ugly
 workaround idea?
 
 P. Pontbriand
 Canlink Interactive Technologies, Inc.
 






ClassFormatError

2001-04-04 Thread Knudsen, Joe

This error happened during an EJB create.  The create appears in the DB.
The error doesn't happen when called from a JSP.  Any ideas?

java -cp
.:/home/jknudsen/work/classes:/opt/orion/orion.jar:/opt/orion/jndi.jar
com.opticalsolutions.test.BuildSplitters
Creating Splitter 1000 on Port node=grnbay01:card=5:port=1


java.lang.ClassFormatError: __Proxy15 (Repeative method name/signature)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
at com.evermind.net.jg.findClass(JAX)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at com.evermind.reflect.Proxy.aqn(JAX)
at com.evermind.reflect.Proxy.aqm(JAX)
at com.evermind.reflect.Proxy.aqk(JAX)
at com.evermind.server.rmi.bb.g7(JAX)
at com.evermind.server.rmi.a8.resolveObject(JAX)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:399)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at com.evermind.server.rmi.a8.gl(JAX)
at com.evermind.server.rmi.bb.hw(JAX)
at com.evermind.server.rmi.bb.run(JAX)
at java.lang.Thread.run(Thread.java:484)
java.lang.NullPointerException
at com.evermind.reflect.Proxy.aqm(JAX)
at com.evermind.reflect.Proxy.aqk(JAX)
at com.evermind.server.rmi.bb.g7(JAX)
at com.evermind.server.rmi.a8.resolveObject(JAX)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:399)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at com.evermind.server.rmi.a8.gl(JAX)
at com.evermind.server.rmi.bb.hw(JAX)
at com.evermind.server.rmi.bb.run(JAX)
at java.lang.Thread.run(Thread.java:484)




Thanks,
Joe Knudsen

Optical Solutions
Network Management Developer
Email: [EMAIL PROTECTED]
Phone: (763)268-3622




Connection reset by peer

2001-04-04 Thread PHiL

Hi,

When I use this forward in my JSP page:
getServletConfig().getServletContext().getRequestDispatcher(destination).for
ward(request, response);

I obtain this exception:

Exception message: Connection reset by peer: socket write error
com.evermind.server.http.HttpIOException: Connection reset by peer: socket
write error
at com.evermind.server.http.e2.write(JAX)
at com.evermind.server.http.EvermindJSPWriter.se(JAX)
at com.evermind.server.http.EvermindJSPWriter.flush(JAX)
at com.evermind.server.http.EvermindJSPWriter.close(JAX)
at
__jspPage1_news_jsp_news_jsp._jspService(__jspPage1_news_jsp_news_jsp.java:6
77)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xi(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.d5.forward(JAX)
at com.evermind.server.http.ew.forward(JAX)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doPost(ComponentReque
stRooter.java:108)
at
com.stratelia.webactiv.servlets.ComponentRequestRooter.doGet(ComponentReques
tRooter.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.evermind.server.http.d5.sv(JAX)
at com.evermind.server.http.d5.st(JAX)
at com.evermind.server.http.eh.s0(JAX)
at com.evermind.server.http.eh.do(JAX)
at com.evermind.util.f.run(JAX)

It's an internal forward to another page to the same server, this not an
HTTP redirect, so the socket write error is really strange...

I use Orion 1.4.4.

Thanks for your support.

PHiL / Stratlia .






Including jar files in my web app ?

2001-04-04 Thread Eddie

I don't seem be able to tell Orion 1.4.7 te read my bla.jar that is located
in the WEB-INF/lib ??

To me it's not really clear how to do that. The bla.jar is there but it
keeps giving an ClassDefNotFound error.
I also tried it with tablib (which is basically for JSP only not ???) but
that neither worked:
---
taglib
 taglib-uribla/taglib-uri
 taglib-location/WEB-INF/lib/bla.jar/taglib-location
/taglib
---

What am I doing wrong ? and how can I see more in detail where is looking ??

A,
Eddie


bash-2.04$ pwd
/home/development/sgs/web/WEB-INF/lib
bash-2.04$ ll
total 428
-rwxr--r--1 program  users  369846 Apr  4 17:01 bla.jar
bash-2.04$
-






orion with mysql?

2001-04-04 Thread Peter Peltonen


Is it possible to use MySQL with Orion? Does it need a db-schema of it's own? 

We tried to use PostgreSQL but JBuilder4 didn't cope with it very well
(JBuilder isn't able to show Postgre's tables). We also tried Hypersonic, but
it seems that when both Orion and JBuilder communicate with the db the db gets
confused. At least the changes we make in JBuilder don't get updated.

Any ideas about a good open-source db that would work with both Orion and
JBuilder would be appreciated!

Regards,
Peter




RE: Does any one has a solution for the domain was null message???

2001-04-04 Thread Alex Paransky

Just like I can write a client that can connect to any server (after
specifying proper values to new InitialContext), I should be able to do the
same thing from any Java Code (with certain limitations).  This should be
regardless of where the Java code is running.  Why should I get a
NullPointerException, trying to connect from one Orion Server to another
Orion Server.  People have been able to connect from Orion Server to
Weblogic server, just by creating a new InitialContext with proper
parameters for Weblogic.

I am developing a Web client application.  Along with the Web client
application I am providing the interfaces I need to communicate to the
outside world.  How can I generically connect my Web Client to a Server?  If
it is possible to create a new InitialContext onto a Weblogic server from
Orion, why should this fail from one Orion server to another?

On the other hand, I did read the spec.  Chapter 18 "Support for
Distribution and Interoperability" is devoted to this exact issue.  This
chapter places RMI-IIOP communication between two servers.  While I realize
that Orion's RMI-IIOP implementation is not there, I was hoping for a stop
gap measure of using InitialContext.

I guess, I'll give up at this point.  It's clear that an Orion server acting
as a client cannot talk to another Orion server acting as a EJB server using
InitialContext.

-AP_


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
Sent: Wednesday, April 04, 2001 5:31 AM
To: Orion-Interest
Subject: RE: Does any one has a solution for the "domain was null"
message???


From what I have seen, each app server is free to define its own specific
method for partitioning
functionality and is not hard wired into the spec. Orion, Weblogic, EA
Server, for instance, each
have their own protocol for intra/inter server communication. Jason has done
an excellent job in
describing how Orion operates (and Jason, you also cleared up an issue I was
having yesterday too
- thanks!). I am not always as careful as I should be when I read specs -
Alex, is there a section
of the specs that says that you should be able to accomplish what you want
to do from the approach
that you tried? Architecturally, it seems you have an orion server that is
acting as a web
container and an orion server that is acting as an EJB container and that
you want to use Orion's
protocols to have those two servers communicate appropriately.

Cheers
Ray

--- Jason Smith [EMAIL PROTECTED] wrote:
 Well, I agree that it would be nice if you could get access to servers
 outside of Orion using the "client" approach, I don't think it necessarily
 defined in the J2EE platform specs.  I took a look around the J2EE 1.3
 specification, and the section J2EE.2.8 "Flexibility of Product
 Requirements" states:
 "This specification doesn't require that J2EE product be implemented by a
 single program, a single server, or even a single machine.  In general,
this
 specification doesn't describe the partionining of services or functions
 between machines, servers, or processes.  As long as the requirements in
 this specification are met, J2EE Product Providers can partition the
 functionality however they see fit.  A J2EE product must be able to deploy
 application components that execute with the semantics described by this
 specification."

 In section J2EE.2.11.3 "Network Protocols" it says that "This
specification
 defines the mapping of application components to industry-standard network
 protocols.  The mapping allows client access to the application components
 that have not installed J2EE product technology".

 Finally, in J2EE.8.2.1 "Application Assembly" subpart 3ii says
"Dependencies
 that are not linked to internal components must be handled by the Deployer
 as external dependencies that must be met by resources previously
installed
 on the platform.  External resources must be linked to the resources on
the
 platform during deployment."

 From everything I have read, it seems that Orion isn't violating any
 specification rules, since they are allowed to partition functionality as
 they see fit.  Orion does allows multiple servers to intercommunicate, but
 it is the responsibility of the application deployer to specify those
links
 (and it is specific to Orion).  Since the web container is bundled as part
 of the J2EE Server, I don't think the specification requires that it has
 access to anything outside that specific server environment.

 I would like to hear the thoughts of others about this, and any
experiences
 they might have had with access with remote containers/servers.

 -jason




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





RE: Problem with @ character submitted in POST request through CGIServlet, TunnelServlet

2001-04-04 Thread David Oliver

Strangely enough, I ran into this problem yesterday.  It seems that different 
browsers report the value of the CONTENT-LENGTH variable differently.  for 
reasons I acn't conceive of, MSIE deducts 2 characters from the length it 
reports for each @ in the form output.  Netscape does not.  
I don't know if the CGI servlet uses teh CONTENT-LENGTH variable to terminate 
its read of teh form output, but if it does, that may be where the problem 
lies.
This may be a job for the folks at orion to look into.

Dave Oliver


X-From_: [EMAIL PROTECTED]  Tue Apr  3 04:45:11 2001
Date: Tue, 03 Apr 2001 12:34:55 +0200
From: Peter Beck [EMAIL PROTECTED]
Organization: FQSD
X-Mailer: Orion ListServer
X-Accept-Language: en,de-AT,de-DE
To: Orion-Interest [EMAIL PROTECTED]
Subject: Problem with "@" character submitted in POST request through
CGIServlet,
  TunnelServlet
Reply-To: Orion-Interest [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]


There's a bug in the CGI servlet.
What happens is:
I have an HTML form which is transmitted via POST request.
Two parameters are passed: email and action
what should arrive is:
email=peterb%40sbox.tugraz.at
action=Login

When perl gets the request the second parameter is truncated
[EMAIL PROTECTED]
action=Log

This happens only if the first parameter contains the "@" character.
I suppose the same bug affects the TunnelServlet too.

I already informed Orion support about that some time ago, but didn't
get a response, and 1.4.7 still doesn't correct this issue.
For us this trivial bug is absolutely critical because we need to have
orion handle requests and SSL in the front. Certain apps (the IMP PHP
webmail) should be tunneled to apache, which still doesn't work!

Other URL-encoded characters don't seem to have a negative effect, but
the "@" causes the problem with the following parameter.

I read on the list that also others have had problems with the Tunnel
Servlet and POST requests.
Maybe we can track down the bug a bit deeper.
I entered it in Bugzilla as Bug Nr. 387 and hope that it finally will be
taken care of.

Regards,
Peter

---




RE: Does any one has a solution for the domain was null message???

2001-04-04 Thread elephantwalker

The inter - application communication is not the only issue that the j2ee
spec defines as vendor specific...there is also the security spec. With user
security, we usually isolate the code which is vendor specific so that we
can quickly change security methods if we need to use another application
vendor.

I believe that inter - application communication is another area where the
best architectural solution is to isolate the vendor specific code. It
wouldn't be a good idea to force all of the vendors to use the same over the
wire protocol for application communication...then they would all be equally
slow! ormi (the orion over the wire protocol) is one place orion can be
faster than other vendors.

Regards,

elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ray Harrison
Sent: Wednesday, April 04, 2001 5:31 AM
To: Orion-Interest
Subject: RE: Does any one has a solution for the "domain was null"
message???


From what I have seen, each app server is free to define its own specific
method for partitioning
functionality and is not hard wired into the spec. Orion, Weblogic, EA
Server, for instance, each
have their own protocol for intra/inter server communication. Jason has done
an excellent job in
describing how Orion operates (and Jason, you also cleared up an issue I was
having yesterday too
- thanks!). I am not always as careful as I should be when I read specs -
Alex, is there a section
of the specs that says that you should be able to accomplish what you want
to do from the approach
that you tried? Architecturally, it seems you have an orion server that is
acting as a web
container and an orion server that is acting as an EJB container and that
you want to use Orion's
protocols to have those two servers communicate appropriately.

Cheers
Ray

--- Jason Smith [EMAIL PROTECTED] wrote:
 Well, I agree that it would be nice if you could get access to servers
 outside of Orion using the "client" approach, I don't think it necessarily
 defined in the J2EE platform specs.  I took a look around the J2EE 1.3
 specification, and the section J2EE.2.8 "Flexibility of Product
 Requirements" states:
 "This specification doesn't require that J2EE product be implemented by a
 single program, a single server, or even a single machine.  In general,
this
 specification doesn't describe the partionining of services or functions
 between machines, servers, or processes.  As long as the requirements in
 this specification are met, J2EE Product Providers can partition the
 functionality however they see fit.  A J2EE product must be able to deploy
 application components that execute with the semantics described by this
 specification."

 In section J2EE.2.11.3 "Network Protocols" it says that "This
specification
 defines the mapping of application components to industry-standard network
 protocols.  The mapping allows client access to the application components
 that have not installed J2EE product technology".

 Finally, in J2EE.8.2.1 "Application Assembly" subpart 3ii says
"Dependencies
 that are not linked to internal components must be handled by the Deployer
 as external dependencies that must be met by resources previously
installed
 on the platform.  External resources must be linked to the resources on
the
 platform during deployment."

 From everything I have read, it seems that Orion isn't violating any
 specification rules, since they are allowed to partition functionality as
 they see fit.  Orion does allows multiple servers to intercommunicate, but
 it is the responsibility of the application deployer to specify those
links
 (and it is specific to Orion).  Since the web container is bundled as part
 of the J2EE Server, I don't think the specification requires that it has
 access to anything outside that specific server environment.

 I would like to hear the thoughts of others about this, and any
experiences
 they might have had with access with remote containers/servers.

 -jason




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





Re: orion with mysql?

2001-04-04 Thread Ray Harrison

Try SapDB (www.sapdb.org)as one of your evaluations. I don't use JBuilder, but other 
tools I have
used have been able to see SapDB tables no problem. Although it doesn't really make 
sense that
JBuilder can't see PostgreSQL tables using the jdbc driver. 



--- Peter Peltonen [EMAIL PROTECTED] wrote:
 
 Is it possible to use MySQL with Orion? Does it need a db-schema of it's own? 
 
 We tried to use PostgreSQL but JBuilder4 didn't cope with it very well
 (JBuilder isn't able to show Postgre's tables). We also tried Hypersonic, but
 it seems that when both Orion and JBuilder communicate with the db the db gets
 confused. At least the changes we make in JBuilder don't get updated.
 
 Any ideas about a good open-source db that would work with both Orion and
 JBuilder would be appreciated!
 
 Regards,
 Peter
 


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




Re: Collection Finders With Entity Argument Always Return Empty Collection

2001-04-04 Thread Peter Pontbriand

Whoops. I jumped the gun. There is no difference observed regardless of the
order in which the primary key fields are listed in the orion-ejb-jar.xml
contained in the EAR. In fact, when Orion generates the full
orion-ejb-jar.xml it ignores the order in the provided orion-ejb-jar.xml,
and imposes its own ordering. The original problem remains.

Our ugly workaround is to eliminate the Catalog field in CatalogEntry and
instead have a field for each of the composite PK fields of Catalog. This
way, they can be specified individually in the finder queries, preventing
Orion from screwing up the order of insertion in the finder code.

P.Pontbriand
Canlink Interactive Technologies Inc.

- Original Message -
From: "Peter Pontbriand" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 10:56 AM
Subject: Re: Collection Finders With Entity Argument Always Return Empty
Collection


 Your second suggestion's on the money. Although the primkey-mapping
block
 for CatalogEJB used our standard listing of identity first and then
locale,
 the orion-ejb-jar.xml had locale first and then identity in the
 cmp-field-mapping for CatalogEntryEJB's Catalog field. Reversing this
causes
 the generated finder code to correctly insert the SQL parameters.

 Its too bad that the orion-ejb-jar.xml was not generated correctly the
first
 time, but manually ensuring that the order of the primary key fields
matches
 throughout the deployment descriptors does seem to resolve the problem.

 P.Pontbriand
 Canlink Interactive Technologies Inc.

 - Original Message -
 From: "Jeff Schnitzer" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Tuesday, April 03, 2001 7:32 PM
 Subject: RE: Collection Finders With Entity Argument Always Return Empty
 Collection


  Try reversing the order of the fields in the primkey-mapping block for
  the bean in the orion-ejb-jar.xml.  Might also work just to change the
  order in the ejb-jar.xml, especially if you deploy from scratch.
 
  Jeff
 
  -Original Message-
  From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, March 28, 2001 7:51 AM
  To: Orion-Interest
  Subject: Re: Collection Finders With Entity Argument Always
  Return Empty
  Collection
  
  
  Hmm. it seems a good under-desk gibbering session is helps
  focus the brain.
  Once that was over with, I copied the generated finder code
  (below) into an
  EJB of my own and executed it, getting the same results - not
  rows in the
  ResultSet. I then wasted a whack of time trying to lay my
  eyeballs on the
  actual final SQL statement being tossed at the database. No
  luck there, no
  amount of downcasting to assorted Oracle JDBC Driver Statement
  classes would
  produce a way to get a human readable parameterized SQL statement. No
  matter, though, since by chance I spotted the problem in the
  generated code:
  
  THE ORION-GENERATED CODE REVERSES THE ORDER OF THE STATEMENT
  PARAMETERS!!!
  
  Notice the criteria in the where clause: first is
  CatalogEntryEJB.catalogIdentity, second is
  CatalogEntryEJB.catalogLocale.
  These are the two fields of the composite primary key of CatalogEJB, a
  String and a Locale respectively.
  
  Now look at the code that inserts the values for these parameters:
  
  First is: statement.setString(1,
  com.evermind.util.ObjectUtils.toString(primaryKey398.locale));
  And second is: statement.setString(2, primaryKey398.identity);
  
  The locale is being inserted where the identity should be, and
  vice-versa.
  
  Bugzilla Bug #379 has been posted. Anybody got a
  non-stomach-churningly-ugly
  workaround idea?
  
  P. Pontbriand
  Canlink Interactive Technologies, Inc.
  









Re: SV: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Stan Ng

hmm... i have to agree.  getting it to run in a servlet was not too bad, but
it seems that the required parameters need some more documentation (or an
example, which is even better imho...)  can anyone verify if -deploy on
admin.jar even works on it's own?  i'm running orion 1.4.7 on win 2k and on
my machine, i get the following error:

java.lang.StackOverflowError
at com.evermind.server.ThreadState.getCurrentState(JAX)
at com.evermind.serve.ApplicationServerSystemProperties.getProperty(JAX)
at java.lang.System.getProperty(System.java:562)
at com.evermind.server.Application.w8(JAX)
(repeat ad nauseum...)


i suspect it may be one of the parameters i specified, but it's hard to
tell... any suggestions?



- Original Message -
From: "Mark Richman" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 6:46 AM
Subject: Re: SV: Deploy EAR/WAR via HTTP upload


Easier said than done on a system that isn't Open Source!

- Mark






PetStore 1.1.1 on Orion/Oracle

2001-04-04 Thread Andy Tael

Hi all,
anyone got the full PetStore to run on Orion
1.4.7/Oracle 8.1.7 ? I really need some help onthis.

.A

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




request.getHeaders() totally broken

2001-04-04 Thread Gerald Gutierrez


It seems that request.getHeaders() is completely broken in Orion 1.4.7. If I
call:

request.getHeaders("Accept")

And the HTTP request has the HTTP header:

Accept:

(that is Accept header with no value), Orion happily goes into an infinite
loop and then eventually breaks out with an OutOfMemoryError. If, instead, I
give it the headers:

Accept: a
Accept: b
Accept: c
Accept: d

then getHeaders() just gives me the value of the first header (i.e. an
enumeration with one element, with the value "a") and ignores all the rest.

This cannot be intended behaviour. Has anyone else noticed this bug?











Re: PetStore 1.1.1 on Orion/Oracle

2001-04-04 Thread Ray Harrison

Andy, 
I've gotten it to run under SapDB using SapDB's Oracle 7 mode - its not Oracle 8 but 
the
techniques for getting it to work are more or less database independent - I had some 
issue with
SapDB that you shouldn't have with oracle.

Each application server will run into issues with the pet store since it is not truly 
a 
portable application and you will need to change a few items here and there and 
rebuild and
re-deploy the pet store. How far along are you?

Cheers
Ray
--- Andy Tael [EMAIL PROTECTED] wrote:
 Hi all,
 anyone got the full PetStore to run on Orion
 1.4.7/Oracle 8.1.7 ? I really need some help onthis.
 
 .A
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/
 


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




Re: SV: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Matthew R Bauer

I got the same error

mattba

On Sun, 4 Mar 2001, Stan Ng wrote:

 hmm... i have to agree.  getting it to run in a servlet was not too bad, but
 it seems that the required parameters need some more documentation (or an
 example, which is even better imho...)  can anyone verify if -deploy on
 admin.jar even works on it's own?  i'm running orion 1.4.7 on win 2k and on
 my machine, i get the following error:
 
 java.lang.StackOverflowError
 at com.evermind.server.ThreadState.getCurrentState(JAX)
 at com.evermind.serve.ApplicationServerSystemProperties.getProperty(JAX)
 at java.lang.System.getProperty(System.java:562)
 at com.evermind.server.Application.w8(JAX)
 (repeat ad nauseum...)
 
 
 i suspect it may be one of the parameters i specified, but it's hard to
 tell... any suggestions?
 
 
 
 - Original Message -
 From: "Mark Richman" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Wednesday, April 04, 2001 6:46 AM
 Subject: Re: SV: Deploy EAR/WAR via HTTP upload
 
 
 Easier said than done on a system that isn't Open Source!
 
 - Mark
 
 
 





Re: orion with mysql?

2001-04-04 Thread Geoff Marshall

Am using MySQL with Orion without it's own db-schema.  No problems, yet.

Be sure to get the MM.MySQL driver...
-- 

-Geoff Marshall, Director of Development

...
t e r r a s c o p e  (415) 951-4944
54 Mint Street, Suite 110 direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
...

 From: Peter Peltonen [EMAIL PROTECTED]
 Organization: Fivetec Solutions Oy
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: Wed, 04 Apr 2001 19:42:44 +0300
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: orion with mysql?
 
 
 Is it possible to use MySQL with Orion? Does it need a db-schema of it's own?
 
 We tried to use PostgreSQL but JBuilder4 didn't cope with it very well
 (JBuilder isn't able to show Postgre's tables). We also tried Hypersonic, but
 it seems that when both Orion and JBuilder communicate with the db the db gets
 confused. At least the changes we make in JBuilder don't get updated.
 
 Any ideas about a good open-source db that would work with both Orion and
 JBuilder would be appreciated!
 
 Regards,
 Peter
 
 





Message lost problem

2001-04-04 Thread venkat

Hi,
While testing orion messaging , I noticed message lost in the following two
scenarios.

Config details:
Use persistence queue in jms.xml
Using jdk 1.2.2
Configured jms.xml for the queue to be persistence

Scenarion 1: Persistence failure
1. Start server
2. Send messages
3. Close the server by Ctrl+c
4. Re start the server
5. Start receiver
Noticed no message or no file under ..\persistence\jms directory
Note: If we shutdown properly through admin.jar -shutdown. Messages are not
lost.


Scenarion 2: Transaction failure
1. Start server
2. Send message in transaction
3. Receive message
4. Exit (System.exit(0)) before commit/rollback
5. Start recevier again.
6. Message lost.
As per the specification, if the messages are received in transaction, then
messages will be left in the queue, until we do commit.







RE: orion with mysql?

2001-04-04 Thread Fernando De Leon

I am also using Orion with mySql without the Schema no problems here :D
jsut have the jar driver in the lib directory

-Original Message-
From: Geoff Marshall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 8:52 AM
To: Orion-Interest
Subject: Re: orion with mysql?


Am using MySQL with Orion without it's own db-schema.  No problems, yet.

Be sure to get the MM.MySQL driver...
-- 

-Geoff Marshall, Director of Development

...
t e r r a s c o p e  (415) 951-4944
54 Mint Street, Suite 110 direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
...

 From: Peter Peltonen [EMAIL PROTECTED]
 Organization: Fivetec Solutions Oy
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: Wed, 04 Apr 2001 19:42:44 +0300
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: orion with mysql?
 
 
 Is it possible to use MySQL with Orion? Does it need a db-schema of
it's own?
 
 We tried to use PostgreSQL but JBuilder4 didn't cope with it very well
 (JBuilder isn't able to show Postgre's tables). We also tried
Hypersonic, but
 it seems that when both Orion and JBuilder communicate with the db the
db gets
 confused. At least the changes we make in JBuilder don't get updated.
 
 Any ideas about a good open-source db that would work with both Orion
and
 JBuilder would be appreciated!
 
 Regards,
 Peter
 
 


The contents of this email are confidential. If you are not the intended
recipient, you must not disclose, copy or use the contents in any way. 
If you have received this email in error, please delete it and notify us
immediately by return email. It is the recipient's responsibility to
screen this message and any attachments for computer viruses. 
Any views expressed in this email are not to be taken as the views of 
the company or any related business entity unless expressly stated to 
the contrary. 






RE: orion with mysql?

2001-04-04 Thread Aaron Tavistock

You only need a schema if you intend to do CMP EJBs.  If you're not using
EJB at all then theres no reason you couldn't use MySQL.

But, while its not to hard to make a schema that complies with MySQL
somewhere in between MySQL and the mm.mysql driver the EJB transaction
support falls apart.  My inclination is that its the mm.mysql driver itself,
and the real problem is just that transaction support is not implimented in
a way that complies with the EJB spec (e.g. javax.transaction doesn't occur
anywhere in the source).

So, while you can use MySQL with Orion you can't do EJB unless you switch
over to SAPdb, PostgresSQL, or db.

-Original Message-
From: Geoff Marshall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:52 PM
To: Orion-Interest
Subject: Re: orion with mysql?


Am using MySQL with Orion without it's own db-schema.  No problems, yet.

Be sure to get the MM.MySQL driver...
-- 

-Geoff Marshall, Director of Development

...
t e r r a s c o p e  (415) 951-4944
54 Mint Street, Suite 110 direct (415) 625-0349
San Francisco, CA  94103 fax (415) 625-0306
...

 From: Peter Peltonen [EMAIL PROTECTED]
 Organization: Fivetec Solutions Oy
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 Date: Wed, 04 Apr 2001 19:42:44 +0300
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: orion with mysql?
 
 
 Is it possible to use MySQL with Orion? Does it need a db-schema of it's
own?
 
 We tried to use PostgreSQL but JBuilder4 didn't cope with it very well
 (JBuilder isn't able to show Postgre's tables). We also tried Hypersonic,
but
 it seems that when both Orion and JBuilder communicate with the db the db
gets
 confused. At least the changes we make in JBuilder don't get updated.
 
 Any ideas about a good open-source db that would work with both Orion and
 JBuilder would be appreciated!
 
 Regards,
 Peter
 
 





RE: Deploy EAR/WAR via HTTP upload

2001-04-04 Thread Mark A. Richman
Title: 



First off, admin.jar is just a wrapper for 
com.evermind.client.orion.OrionConsoleAdmin. With that, can I invoke 
OrionConsoleAdmin from a servlet so I can deploy the archive? My goal is to 
create a web admin utility for Orion.Regards,Mark A. 
RichmanEmpire Software, Inc.Expert Software Development  
Consulting+ Internet/Intranet/Extranet+ E-Commerce  B2B+ 
Java, C/C++, Visual Basic+ XML, SOAP, and Web Services+ Linux  
Open-Source Solutions+ Database Applications+ ...and MUCH 
more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
954-234-9049-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
Behalf Of Magnus RydinSent: Wednesday, April 04, 2001 7:57 AMTo: 
Orion-InterestSubject: SV: Deploy EAR/WAR via HTTP uploadWrite a 
servlet that utilizes admin.jar ?WR-Ursprungligt 
meddelande-Från: Mark A. Richman [mailto:[EMAIL PROTECTED]]Skickat: den 4 
april 2001 04:38Till: Orion-InterestÄmne: RE: Deploy EAR/WAR via HTTP 
uploadThanks, but I was thinking along the lines of an HTML form 
that I upload an EAR to. Then a JSP or Servlet would deploy the 
archive.Regards,Mark A. RichmanEmpire Software, Inc.Expert 
Software Development  Consulting+ Internet/Intranet/Extranet+ 
E-Commerce  B2B+ Java, C/C++, Visual Basic+ XML, SOAP, and Web 
Services+ Linux  Open-Source Solutions+ Database Applications+ 
...and MUCH more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
954-234-9049-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
Behalf Of Magnus RydinSent: Wednesday, April 04, 2001 1:40 AMTo: 
Orion-InterestSubject: SV: Deploy EAR/WAR via HTTP 
upload/orion/admin.jar commands :-deploy - (re)deploys an 
application. Sub-switches are: -file - Enterprise Archive to 
deploy -deploymentName - Name of the application 
deployment -targetPath - The path on the remote OS to place the 
archive at. If not specified the applications directory is used-bindWebApp 
[application deployment name] [web-app name] [web-site name] [context root] - 
binds a web app to the specified site + rootIs it possible to deploy an 
EAR/WAR if uploaded via HTTP? If so, how?Regards,Mark A. 
RichmanEmpire Software, Inc.Expert Software Development  
Consulting 

BEGIN:VCARD
VERSION:2.1
N:Richman;Mark;A.;Mr.
FN:Mark A. Richman
NICKNAME:Mark
ORG:Empire Software, Inc.
TITLE:President
NOTE;ENCODING=3DQUOTED-PRINTABLE:Empire Software, Inc.=3D0D=3D0AExpert =
Software Development  Consulting=3D0D=3D0A=3D
=3D0D=3D0A+ Internet/Intranet/Extranet=3D0D=3D0A+ E-Commerce  =
B2B=3D0D=3D0A+ Java, C/C+=3D
+, Visual Basic=3D0D=3D0A+ XML, SOAP, and Web Services=3D0D=3D0A+ Linux =
 Open-Sourc=3D
e Solutions=3D0D=3D0A+ Database Applications=3D0D=3D0A+ ...and MUCH =
more!=3D0D=3D0A
ADR;WORK:;954-234-9049;9932 NW 57 Manor;Coral Springs;FL;33076;USA
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:954-234-9049=3D0D=3D0A9932 NW 57 =
Manor=3D0D=3D0ACoral Springs, FL 33076=3D0D=3D0AUSA
URL:
URL:http://www.empsoft.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010228T000841Z
END:VCARD



RE: Any news from Orion yet??

2001-04-04 Thread Aaron Tavistock

Wasn't this from *WAY* back in January...

I know that Orion 1.4.5 was released around January 22nd, there has been the
updates to 1.4.7, *AND* there were rumors about 1.4.8.   But, there really
hasn't been any news about the goings on of Evermind/IronFlare.  How are you
guys doing?  Whats the state of IronFlare?  It would be nice to hear whats
going on...

-Original Message-
From: Karl Avedal [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 3:15 PM
To: Orion-Interest
Subject: Re: Any news from Orion yet??


Hello everyone,

Time is well overdue for some information from us about the release schedule
and when you can see your bugs fixed. I'm sorry to say that I can't give any
information now either about when the next release can be available and when
the different bugs can be fixed.

We have been pretty silent lately and things have moved much slower than we
hoped. We understand very well that many of you are in tough positions with
bugs standing in the way of using Orion for your projects.

The silence from us has provoked a discussion about whether we are dead like
so
many other IT companies, and I just wanted to take this opportunity to say
that
we are not. We will provide more information and I sincerely hope that we
will
soon get back on track with the release schedule. More information will be
sent
to this list later this week.

Regards,
Karl Avedal





JMS persistence

2001-04-04 Thread venkat

Hi,
Orion currently use flat file as repository for jms persistence. Is there
any plans to support database/table level persistence?

With current implementation (Orion 1.4.5), messages are stored in flat file
only during shutdown. If the server is terminated abnormally, messages are
lost. Is it configurable to store messages every time as it is sent?

Any help is very much appreciated
--venkat






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

2001-04-04 Thread Neville Burnell

Its been around 4 months since Orion went on "life-support" - ie

- the website went on hold ...
- Karl  Magnus went silent on company futures except for rare emails
promising news soon
- the software development slowed to a crawl [by comparison to last
year's "rush"]
- bug fixes slowed to a crawl 
- my email to [EMAIL PROTECTED] went unanswered

Please Karl, Magnus, give us some news, even if its only to understand
whats happened in the last 4 months

-Original Message-
From: Aaron Tavistock [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 April 2001 11:48 AM
To: Orion-Interest
Subject: RE: Any news from Orion yet??


Wasn't this from *WAY* back in January...

I know that Orion 1.4.5 was released around January 22nd, there has been
the
updates to 1.4.7, *AND* there were rumors about 1.4.8.   But, there
really
hasn't been any news about the goings on of Evermind/IronFlare.  How are
you
guys doing?  Whats the state of IronFlare?  It would be nice to hear
whats
going on...

-Original Message-
From: Karl Avedal [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 3:15 PM
To: Orion-Interest
Subject: Re: Any news from Orion yet??


Hello everyone,

Time is well overdue for some information from us about the release
schedule
and when you can see your bugs fixed. I'm sorry to say that I can't give
any
information now either about when the next release can be available and
when
the different bugs can be fixed.

We have been pretty silent lately and things have moved much slower than
we
hoped. We understand very well that many of you are in tough positions
with
bugs standing in the way of using Orion for your projects.

The silence from us has provoked a discussion about whether we are dead
like
so
many other IT companies, and I just wanted to take this opportunity to
say
that
we are not. We will provide more information and I sincerely hope that
we
will
soon get back on track with the release schedule. More information will
be
sent
to this list later this week.

Regards,
Karl Avedal





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

2001-04-04 Thread elephantwalker

I have tried to schedule phone calls with Orion by sending emails and faxes
to ironflare, nothing seems to work. We are going to deploy soon, but if I
can't talk to these guys at least once, there's no way we are forking over
any money. We need that "nice fuzzy feeling" that you get by talking to a
warm body.

Are there any paying customers on the news service that are getting prompt
and reliable service for Orion, either by email or phone?

Regards,

Elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Neville
Burnell
Sent: Wednesday, April 04, 2001 7:27 PM
To: Orion-Interest
Subject: WE NEED NEWS! We need to know Orion is alive  well!


Its been around 4 months since Orion went on "life-support" - ie

- the website went on hold ...
- Karl  Magnus went silent on company futures except for rare emails
promising news soon
- the software development slowed to a crawl [by comparison to last
year's "rush"]
- bug fixes slowed to a crawl
- my email to [EMAIL PROTECTED] went unanswered

Please Karl, Magnus, give us some news, even if its only to understand
whats happened in the last 4 months

-Original Message-
From: Aaron Tavistock [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 5 April 2001 11:48 AM
To: Orion-Interest
Subject: RE: Any news from Orion yet??


Wasn't this from *WAY* back in January...

I know that Orion 1.4.5 was released around January 22nd, there has been
the
updates to 1.4.7, *AND* there were rumors about 1.4.8.   But, there
really
hasn't been any news about the goings on of Evermind/IronFlare.  How are
you
guys doing?  Whats the state of IronFlare?  It would be nice to hear
whats
going on...

-Original Message-
From: Karl Avedal [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 3:15 PM
To: Orion-Interest
Subject: Re: Any news from Orion yet??


Hello everyone,

Time is well overdue for some information from us about the release
schedule
and when you can see your bugs fixed. I'm sorry to say that I can't give
any
information now either about when the next release can be available and
when
the different bugs can be fixed.

We have been pretty silent lately and things have moved much slower than
we
hoped. We understand very well that many of you are in tough positions
with
bugs standing in the way of using Orion for your projects.

The silence from us has provoked a discussion about whether we are dead
like
so
many other IT companies, and I just wanted to take this opportunity to
say
that
we are not. We will provide more information and I sincerely hope that
we
will
soon get back on track with the release schedule. More information will
be
sent
to this list later this week.

Regards,
Karl Avedal







How to run ORION on different ports

2001-04-04 Thread mohan krishna

Hello,
I am interested to run orion on multiple ports...

Consider the following scenario :

There is only one single server for production and development.
Production sites are represented by virtual hosts, each one runs a
single web site. Each sites of these only runs it's own "default" web
application. 
Development is handled by default web site which runs under port 8080.
Now i want to run one site on 8080 and other one on different port say 80.
What are the things i have to do to achieve this

Any input would be greatly appreciated
Thanks
Mohan Krishna


Get free email and a permanent address at http://www.netaddress.com/?N=1




[RE]..

2001-04-04 Thread ±èÀºÁÖ

hi...
I'm studying java 
I started 2months ago...java
I want to RMI..
Please give me information of rmi..

have a nice day

==
¿ì¸® ÀÎÅͳÝ, Daum
Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
http://www.daum.net