RE: Orion CMP Primer - example not loading properly

2001-04-26 Thread Madhavan, Manoj

Hi Jade,

I got the Addressbook example to work.
What I did was clean the list.jsp code removing the XMP tag and the
inner set of
HTMLBODY.../BODY/HTML stuff.
I am using IE5.0 as my browser.
I suspected that the code worked for the author because he was using
Netscape.
But when add.jsp did not work, I investigated further and found that the
root of the problem is the XMP tag.


__

From:
http://msdn.microsoft.com/library/sdkdoc/readersdk/Quick_Reference_for_Reade
r_Markup_61.htm
This tag creates a block rendered with indented margins, preserved white
space and the default monospaced font. All markup nested within xmp tags
appears as text.

This is a Microsoft Reader-specific tag.



So I simply removed the XMP and /XMP from add.jsp and Voila! - it
works.

Manoj

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 9:53 AM
To: Orion-Interest
Subject: Orion CMP Primer - example not loading properly



Hi,
I am using Orion application server 1.4.5. I am trying to deploy
theAddressbook example. It seems to deploy without a glitch but when I try
to view the page, I get a You are not authorized to view this page. I have
attached a screen shot. It would be great if you can help me out or give me
some hints. Thanks.





Orion CMP Primer - example not loading properly

2001-04-23 Thread SJade


Hi,
I am using Orion application server 1.4.5. I am trying to deploy
theAddressbook example. It seems to deploy without a glitch but when I try
to view the page, I get a You are not authorized to view this page. I have
attached a screen shot. It would be great if you can help me out or give me
some hints. Thanks.





SV: Orion CMP

2001-04-06 Thread Magnus Rydin
Title: SV: Orion CMP





check out /orion/database
there you find the hSQL files.
WR


 -Ursprungligt meddelande-
 Från: Ashok Banerjee [mailto:[EMAIL PROTECTED]]
 Skickat: den 5 april 2001 12:13
 Till: Orion-Interest
 Ämne: Orion CMP
 
 
 Where does Orion store its CMP data? I know it uses HSQL and I believe
 HSQL - where are the HSQL datafiles physically located?
 
 If I change in data-source.xml does that mean my CMP data is also now
 going to go to a different database? I modified data-sources.xml
 as below and yet I keep getting
 
 D:\Orion\orion\demo\ejb\productjava -classpath
 .;..\..\..\orion.jar;..\..\..\ej
 b.jar;..\..\..\jndi.jar ProductClient
 Communication error: Error reading application-client 
 descriptor: Error
 looking
 up EJBHome: Lookup error: java.net.ConnectException: 
 Connection refused:
 no furt
 her information; nested exception is:
 java.net.ConnectException: Connection refused: no further
 information
 
 Any further information on configuring orion to use Oracle DB as
 persistent store would help.
 Cheers,
 Ash
 --
 --
 
 ?xml version=1.0?
 !DOCTYPE data-sources PUBLIC Orion data-sources
 http://www.orionserver.com/dtds/data-sources.dtd
 
 data-sources
 !--
 An example/default DataSource that uses an ordinary
 JDBC-driver (in this case hsql) to create the connections.
 This tag creates all the needed kinds
 of data-sources, transactional, pooled and EJB-aware sources.
 The source generally used in application code is the EJB
 one - it provides transactional safety and connection pooling.
 --
 !-- data-source
 class=com.evermind.sql.DriverManagerDataSource
 name=Hypersonic
 location=jdbc/HypersonicCoreDS
 xa-location=jdbc/xa/HypersonicXADS
 ejb-location=jdbc/HypersonicDS
 connection-driver=org.hsql.jdbcDriver
 username=sa
 password=
 url=jdbc:HypersonicSQL:./database/defaultdb
 inactivity-timeout=30
 /--
 data-source
 class=com.evermind.sql.DriverManagerDataSource
 name=Oracle
 location=jdbc/OracleCoreDS
 xa-location=jdbc/xa/OracleXADS
 ejb-location=jdbc/OracleDS
 connection-driver=oracle.jdbc.driver.OracleDriver
 username=orion
 password=orion
 url=jdbc:oracle:thin:@mysun-box:1521:mydb
 inactivity-timeout=30
 /
 
 /data-sources
 
 
 





Orion CMP

2001-04-05 Thread Ashok Banerjee

Where does Orion store its CMP data? I know it uses HSQL and I believe
HSQL - where are the HSQL datafiles physically located?

If I change in data-source.xml does that mean my CMP data is also now
going to go to a different database? I modified data-sources.xml
as below and yet I keep getting

D:\Orion\orion\demo\ejb\productjava -classpath
.;..\..\..\orion.jar;..\..\..\ej
b.jar;..\..\..\jndi.jar ProductClient
Communication error: Error reading application-client descriptor: Error
looking
up EJBHome: Lookup error: java.net.ConnectException: Connection refused:
no furt
her information; nested exception is:
java.net.ConnectException: Connection refused: no further
information

Any further information on configuring orion to use Oracle DB as
persistent store would help.
Cheers,
Ash


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

data-sources
 !--
  An example/default DataSource that uses an ordinary
  JDBC-driver (in this case hsql) to create the connections.
  This tag creates all the needed kinds
  of data-sources, transactional, pooled and EJB-aware sources.
  The source generally used in application code is the "EJB"
  one - it provides transactional safety and connection pooling.
 --
!-- data-source
  class="com.evermind.sql.DriverManagerDataSource"
  name="Hypersonic"
  location="jdbc/HypersonicCoreDS"
  xa-location="jdbc/xa/HypersonicXADS"
  ejb-location="jdbc/HypersonicDS"
  connection-driver="org.hsql.jdbcDriver"
  username="sa"
  password=""
  url="jdbc:HypersonicSQL:./database/defaultdb"
  inactivity-timeout="30"
 /--
data-source
  class="com.evermind.sql.DriverManagerDataSource"
  name="Oracle"
  location="jdbc/OracleCoreDS"
  xa-location="jdbc/xa/OracleXADS"
  ejb-location="jdbc/OracleDS"
  connection-driver="oracle.jdbc.driver.OracleDriver"
  username="orion"
  password="orion"
  url="jdbc:oracle:thin:@mysun-box:1521:mydb"
  inactivity-timeout="30"
 /

/data-sources






Re: Orion CMP

2001-04-05 Thread Jeff Hubbach

After configuring data-sources.xml, you have to make sure all your beans are looking 
for the right datasource. This is defined
in the orion-ejb-jar.xml file. In the entity-deployment tag, there's an entry of 
data-source="". you're gonna have to change
this from what I'm assuming it is now, "jdbc/HypersonicDS", to "jdbc/OracleDS".

Jeff.

Ashok Banerjee wrote:

 Where does Orion store its CMP data? I know it uses HSQL and I believe
 HSQL - where are the HSQL datafiles physically located?

 If I change in data-source.xml does that mean my CMP data is also now
 going to go to a different database? I modified data-sources.xml
 as below and yet I keep getting

 D:\Orion\orion\demo\ejb\productjava -classpath
 .;..\..\..\orion.jar;..\..\..\ej
 b.jar;..\..\..\jndi.jar ProductClient
 Communication error: Error reading application-client descriptor: Error
 looking
 up EJBHome: Lookup error: java.net.ConnectException: Connection refused:
 no furt
 her information; nested exception is:
 java.net.ConnectException: Connection refused: no further
 information

 Any further information on configuring orion to use Oracle DB as
 persistent store would help.
 Cheers,
 Ash
 


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

 data-sources
  !--
   An example/default DataSource that uses an ordinary
   JDBC-driver (in this case hsql) to create the connections.
   This tag creates all the needed kinds
   of data-sources, transactional, pooled and EJB-aware sources.
   The source generally used in application code is the "EJB"
   one - it provides transactional safety and connection pooling.
  --
 !-- data-source
   class="com.evermind.sql.DriverManagerDataSource"
   name="Hypersonic"
   location="jdbc/HypersonicCoreDS"
   xa-location="jdbc/xa/HypersonicXADS"
   ejb-location="jdbc/HypersonicDS"
   connection-driver="org.hsql.jdbcDriver"
   username="sa"
   password=""
   url="jdbc:HypersonicSQL:./database/defaultdb"
   inactivity-timeout="30"
  /--
 data-source
   class="com.evermind.sql.DriverManagerDataSource"
   name="Oracle"
   location="jdbc/OracleCoreDS"
   xa-location="jdbc/xa/OracleXADS"
   ejb-location="jdbc/OracleDS"
   connection-driver="oracle.jdbc.driver.OracleDriver"
   username="orion"
   password="orion"
   url="jdbc:oracle:thin:@mysun-box:1521:mydb"
   inactivity-timeout="30"
  /

 /data-sources

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







Request for your comments: Possible improvement of Orion CMP 2.0

2001-03-05 Thread Randahl Fink Isaksen

I noticed that CMP 2.0 getXYZ-methods like customer.getAccounts() return a
Collection which does not use isIdentical() to test whether it contains some
element. I.e. when you invoke

customer.getAccounts().contains(myAccount);

this does not work. It seems to me that the collection returned by Orion is
as incompatible with EJB as is the Java Collections Framework.


This raises the question: Should not Orion return a collection which is
compatible with EJB? - After all, it is an EJB server, and a pretty good one
too, I might add.



Yours

Randahl





Orion CMP primer to another EJB server

2001-01-12 Thread Kemp Randy-W18971

Has anyone ever set up the Orion CMP at www.jollem.com on a open source EJB server, 
such as Jboss?  I am doing it as a learning exercise.  If anyone has done that, could 
you please share the java and XML files as a zip?  I are about 95% there, but I'm 
running into a snag or two.




RE: Problems with the Orion CMP primer example.

2000-11-27 Thread KirkYarina

Sorry for the delay (Thursday was a holiday here (unless you're a 
turkeyg), and I took Friday off...).  However, I see from the mail list 
that you've fixed the problem.

The file $ORION_DIR/config/data-sources.xml contains the configuration for 
your jdbc connection(s) - part of the data-source element is the jdbc URL, 
which (at least for hypersonic) includes the path to the database 
files.  For example, from my development system:

   data-source
--- (many attributes skipped...)
 connection-driver="org.hsql.jdbcDriver"
 url="jdbc:HypersonicSQL:../oriondb/SBDdb"
   /

In our case the database directory is moved outside the $ORION_DIR tree - 
mostly because it made it easier to update Orion in the pre-autoupdate 
days, and uses several files named SDBdb and different extensions.

The given path is relative to $ORION_DIR, and the format is described at 
http://www.hypersonicsql.com/ (click on Operating Modes) under Standalone mode.

I'm a bit surprised that the default installation doesn't create the 
database directory; perhaps you'd like to put that one into 
bugzilla.  Little gotcha's for new evaluators aren't good...

Kirk Yarina

At 09:35 AM 11/23/00 +, you wrote:

Hi.
No, I haven't created any database directory. This is the first time I hear
about
that!! . Could you tell me what I have to do?, I mean,
What is this directory for? What about the defaultdb file in it? Where did
you
read about that?

Thank you very much.


- Original Message -
From: KirkYarina [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, November 22, 2000 9:35 PM
Subject: Re: Problems with the Orion CMP primer example.


  Have you created a database directory ($ORION_DIR/database)?  Do you have
  the appropriate permissions on defaultdb.* in it?
 
  At 12:10 PM 11/22/00 +, you wrote:
 
  Hi,
  I'm trying to deploy the Orion CMP primer example. I've follow the
  instructions but I've got the following error:
  
  Auto-deploying addressbook (New server version detected)...
  Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
  error: File input/output error: ./database/defaultdb.properties
  Warning: Error creating table: File input/output error:
  ./database/defaultdb.pro
   perties
  done
  Orion/1.3.8 initialized
  
  I'm sure I've installed Orion properly because I've deployed successfully
  the
  Orion Primer example.
  
  Thanks in advance
 
 
  Kirk Yarina
  [EMAIL PROTECTED]
 


Kirk Yarina
[EMAIL PROTECTED]





Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL


Hi,
I'm trying to deploy the Orion CMP primer example. I've follow the
instructions but I've got the following error:

Auto-deploying addressbook (New server version detected)...
Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
   error: File input/output error: ./database/defaultdb.properties
Warning: Error creating table: File input/output error:
./database/defaultdb.pro
perties
done
Orion/1.3.8 initialized

I'm sure I've installed Orion properly because I've deployed successfully
the
Orion Primer example.

Thanks in advance







Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL

 
 Hi,
 I'm trying to deploy the Orion CMP primer example. I've follow the
 instructions but I've got the following error:
 
 Auto-deploying addressbook (New server version detected)...
 Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
error: File input/output error: ./database/defaultdb.properties
 Warning: Error creating table: File input/output error:
 ./database/defaultdb.pro
 perties
 done
 Orion/1.3.8 initialized
 
 I'm sure I've installed Orion properly because I've deployed successfully
 the Orion Primer example.

 Thanks in advance
 
 
 





Re: Problems with the Orion CMP primer example.

2000-11-22 Thread KirkYarina

Have you created a database directory ($ORION_DIR/database)?  Do you have 
the appropriate permissions on defaultdb.* in it?

At 12:10 PM 11/22/00 +, you wrote:

Hi,
I'm trying to deploy the Orion CMP primer example. I've follow the
instructions but I've got the following error:

Auto-deploying addressbook (New server version detected)...
Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
error: File input/output error: ./database/defaultdb.properties
Warning: Error creating table: File input/output error:
./database/defaultdb.pro
 perties
done
Orion/1.3.8 initialized

I'm sure I've installed Orion properly because I've deployed successfully
the
Orion Primer example.

Thanks in advance


Kirk Yarina
[EMAIL PROTECTED]





Can anybody help about the Orion CMP primer example?

2000-10-30 Thread Sun Guoqiao

Hi, Everyone:

  I am new to Orion Application Server. When I run the Orion CMP primer 
example, the database part got wrong.

  Now I want to test the Orion CMP primer example with my Microsoft Access 
database in my windows platform, can anybody be kind to tell me how to do 
it? My Orion application server works properly, since I have successfully 
tested the Orion Prime example!

  Thanks in advance!
  Have a nice day to you!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





Orion CMP Primer

2000-09-22 Thread Ernst de Haan

There is a follow-up for the Orion Primer available. It shows you how to
write and deploy a simple CMP entity bean, as there have been several requests
for such a document.

   * Orion CMP Primer
 http://www.jollem.com/

Thanks to the Orion development team for providing such a great J2EE
application server :)

Any and all feedback is welcome at [EMAIL PROTECTED]


Ernst