Deploying the java pet store?

2000-10-19 Thread Robert Nicholson

Where can I find the instructions on deploying the new java pet store with
Orion 1.3.8?

---
Robert Nicholson
Email: [EMAIL PROTECTED]
AOL  : rydmerlin





RE: support EJB2.0 or not?

2000-10-19 Thread Joni

On Thu, 19 Oct 2000, Tim Drury wrote:

> 
> bing bing bing!!!  you got it right Jeff.  Everything compiles
> and runs fine now except when I call createAddress() on my EJB
> to create my Address dependent object, an exception is thrown
> that the method is not found.  


Hey Tim, please let me know if you manage to find out how to specify
container managed relationships between dependent objects. :)
E.g. Address->ZipCode (this a stupid example but anyway...)


Joni
[EMAIL PROTECTED]





Re: Orion Powered Sites

2000-10-19 Thread Jason Rimmer

Results from NetCraft's "what's it running?" tool,
http://www.netcraft.com:

> http://www.redbull.com - Unable to determine
> http://www.javalobby.com - Running Orion/1.0.3 on Solaris
> http://www.vpro.nl - Running Orion/0.8.1n on Linux
> http://www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
> http://wap.hjemmenett.no - Unable to determine
> http://www.headlinewatch.com - Running Orion/1.0.3 on Solaris
> http://news.partsbase.com - Running Orion/1.0.3 on Solaris
> http://australia.internet.com - Running Orion/1.3.8 on Linux
> http://www.yesitworks.com - Running Orion/1.1.9 on Solaris
> http://www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
> http://www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux

--
Jason Rimmer
[EMAIL PROTECTED]


- Original Message -
From: "Gordon Sell" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 10:27 PM
Subject: Re: Orion Powered Sites


> Try these(they are from the orion site)
>
> http://www.redbull.com
> http://www.javalobby.com
> http://www.vpro.nl
> http://www.linuxtoday.com.au
> http://wap.hjemmenett.no
> http://www.headlinewatch.com
> http://news.partsbase.com
> http://australia.internet.com
> http://www.yesitworks.com
> http://www.internetstockreport.com.au
> http://www.e-mediamarketer.com.au
>
> Cheers
> Gordon






RE: Tag handler design issues concerning instance reusage

2000-10-19 Thread Robert Nicholson

You want to clear your body content before using it.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Markus
> Holmberg
> Sent: Wednesday, October 18, 2000 8:56 AM
> To: Orion-Interest
> Subject: Tag handler design issues concerning instance reusage
> 
> 
> What steps might a tag handler developer need to take to avoid getting 
> unexpected results because the container reuses tag handlers? (For 
> example an old value for an optional attribute might still be around 
> when the tag handler is invoked for another tag.)
> 
> Should one initialize all optional attribute values somewhere? (In what 
> method would that be?)
> 
> Or should one reset all values after the tag handler is finished to give
> the next invocation a clean one? (This seems to imply a performance hit, 
> small, but still there..)
> 
> Best Regards,
> 
> Markus
> 
> -- 
> 
> Markus Holmberg |   Give me Unix or give me a typewriter.
> [EMAIL PROTECTED]  |   http://www.freebsd.org/
> 




RE: ALTERNATIVES TO JDK1.3

2000-10-19 Thread J.T. Wenting

I'm still using 1.2.2 for all my development, if only because we need to
deploy to platforms that have no 1.3 available.

Jeroen T Wenting
[EMAIL PROTECTED]
ICQ UIN #9191966

It's the end of the world as we know it and I feel fine (Michael Stipe)

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Sierra
> Fernandez
> Sent: 19 October 2000 20:52
> To: Orion-Interest
> Subject: ALTERNATIVES TO JDK1.3
>
>
>
>   Could you tell me if there is an alternative compiler
> to jdk 1.3?
> I'm looking for other compilers but they should compile all my
> middleware components (servlets, JSPs,EJBs,JavaBeans)
>
> TIA
>
>  -- Sierr@ --
>
>





RE: Performance test...

2000-10-19 Thread Duffey, Kevin

Not sure of the URL, but its RSW software. It costs us something like $35K
for the software, including 7 licenses, so its definitely not cheap. But its
a great web-based testing tool. A lot of people are used to Silk or QA
Partner, but this one is extremely easy to use and learn. While it does
allow for written script testing, it uses a sort of macro record mode to
record every move you make in their internal browser. You can then set up a
databank (a text file) that is used against a load-test, so that it
simulates virtual users. I know we can simulat up to 100 virutal users with
our licenses, which is small potatoes compared to some users of this tool.
One of thier clients simulats 10,000 users. The software has "clients" that
can be run on many computers over a network so you can run it over night,
each computer simulating say 100 users, all hitting the same one site.

Anyways..this is sort of off topic..but if you have any questions, feel free
to email me.


> -Original Message-
> From: Santosh Kumar [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 9:19 PM
> To: Orion-Interest
> Subject: Re: Performance test...
> 
> 
> That was a simply great thing to do. Where could i get hold 
> of this tool.
> 
> Santosh
> - Original Message -
> From: Duffey, Kevin <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Sent: Friday, October 20, 2000 9:11 AM
> Subject: Performance test...
> 
> 
> > Hi all,
> >
> > Well, using a pretty nifty (and very expensive) testing 
> tool, I was able
> to
> > do some "minor" testing on a login process of our site. Using Orion,
> Oracle
> > 8i database, and e-load test suite, here are some numbers 
> that I got:
> >
> > 25 users  - 15 connections in the pool
> >
> > pages per second  - 43
> > pages per day   - 3.75 million
> > transactions per second  - 14.5
> > transactions per day   - 1.26 million
> >
> > 25 users  - 30 connections in the pool
> >
> > pages per second- 26.4
> > pages per day - 2.28 million
> > transactions per second - 8.81
> > transactions per day  - 761333
> >
> > 25 users - 5 connections in the pool
> >
> > pages per second -  51.95
> > pages per day  -  4.48 million
> > transactions per second  - 17.32
> > transactions per day- 1.49 million
> >
> > The test is simple. It uses the browser built into the e-test suite
> software
> > and "automates" the login process of our site. I ran the test on a
> PIII650,
> > with 512MB RAM. The database is running on a SUN E450 serve 
> with 512MB
> RAM.
> > The test simply sends a post submitted form with the login name and
> password
> > to a controller servlet that then hits the database using a 
> connection via
> > the pool, and logs in the user. All logins were valid, I 
> did not test
> > invalid login names/passwords.
> >
> > Just thought I would share these numbers. Next week I will 
> be setting up a
> > two-server farm, using the load-balancer software that 
> Orion includes in
> > their download. Each server will be dual PIII550 with 512MB 
> RAM and SCSI
> III
> > RAID hd setup (Actually, they are IBM NetFinitiy 4000R 
> units). The load
> > balancer will run on a slow PII300 workstation with 128MB 
> RAM (I hope this
> > is good enough). They will be failed over and 
> load-balanced, and I will
> test
> > the performance on those and post the results here.
> >
> > The only thing I am not sure of is if different testing 
> software performs
> > about the same..or are there dramatically different results.
> >
> > If anyone wants me to attempt to test their site, I'll give 
> it a go from
> > here..but its over a T1 connection, where as my test is 
> done locally on a
> > LAN, so I am sure the results are more skewed.
> >
> >
> >
> 




RE: Collection mapping with EJBs

2000-10-19 Thread John Kelvie



-Original Message-
From: John Kelvie [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 12:30 AM
To: Orion-Interest
Subject: Collection mapping with EJBs


How do I setup the Orion-EJB-Jar.xml file to do a one-to-many mapping where
both sides of the relationship are EJBs? There are many examples where this
happens(such as in ATM where AccountOwnerEJB has many AccountEJB's), but I
am unsure as to how this relationship should be specified in the orion ejb
xml file. Could someone tell me how to do this or where I can find the orion
mxl file for the ATM application?





Collection mapping with EJBs

2000-10-19 Thread John Kelvie

How do I setup the Orion-EJB-Jar.xml file to do a one-to-many mapping where
both sides of the relationship are EJBs? There are many examples where this
happens(such as in ATM where AccountOwnerEJB has many AccountEJB's), but I
am unsure as to how this relationship should be specified in the orion ejb
xml file. Could someone tell me how to do this or where I can find the orion
mxl file for the ATM application?





Re: Performance test...

2000-10-19 Thread Santosh Kumar

That was a simply great thing to do. Where could i get hold of this tool.

Santosh
- Original Message -
From: Duffey, Kevin <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Friday, October 20, 2000 9:11 AM
Subject: Performance test...


> Hi all,
>
> Well, using a pretty nifty (and very expensive) testing tool, I was able
to
> do some "minor" testing on a login process of our site. Using Orion,
Oracle
> 8i database, and e-load test suite, here are some numbers that I got:
>
> 25 users  - 15 connections in the pool
>
> pages per second  - 43
> pages per day   - 3.75 million
> transactions per second  - 14.5
> transactions per day   - 1.26 million
>
> 25 users  - 30 connections in the pool
>
> pages per second- 26.4
> pages per day - 2.28 million
> transactions per second - 8.81
> transactions per day  - 761333
>
> 25 users - 5 connections in the pool
>
> pages per second -  51.95
> pages per day  -  4.48 million
> transactions per second  - 17.32
> transactions per day- 1.49 million
>
> The test is simple. It uses the browser built into the e-test suite
software
> and "automates" the login process of our site. I ran the test on a
PIII650,
> with 512MB RAM. The database is running on a SUN E450 serve with 512MB
RAM.
> The test simply sends a post submitted form with the login name and
password
> to a controller servlet that then hits the database using a connection via
> the pool, and logs in the user. All logins were valid, I did not test
> invalid login names/passwords.
>
> Just thought I would share these numbers. Next week I will be setting up a
> two-server farm, using the load-balancer software that Orion includes in
> their download. Each server will be dual PIII550 with 512MB RAM and SCSI
III
> RAID hd setup (Actually, they are IBM NetFinitiy 4000R units). The load
> balancer will run on a slow PII300 workstation with 128MB RAM (I hope this
> is good enough). They will be failed over and load-balanced, and I will
test
> the performance on those and post the results here.
>
> The only thing I am not sure of is if different testing software performs
> about the same..or are there dramatically different results.
>
> If anyone wants me to attempt to test their site, I'll give it a go from
> here..but its over a T1 connection, where as my test is done locally on a
> LAN, so I am sure the results are more skewed.
>
>
>





Performance test...

2000-10-19 Thread Duffey, Kevin

Hi all,

Well, using a pretty nifty (and very expensive) testing tool, I was able to
do some "minor" testing on a login process of our site. Using Orion, Oracle
8i database, and e-load test suite, here are some numbers that I got:

25 users  - 15 connections in the pool

pages per second  - 43
pages per day   - 3.75 million
transactions per second  - 14.5
transactions per day   - 1.26 million

25 users  - 30 connections in the pool

pages per second- 26.4
pages per day - 2.28 million
transactions per second - 8.81
transactions per day  - 761333

25 users - 5 connections in the pool

pages per second -  51.95
pages per day  -  4.48 million
transactions per second  - 17.32
transactions per day- 1.49 million

The test is simple. It uses the browser built into the e-test suite software
and "automates" the login process of our site. I ran the test on a PIII650,
with 512MB RAM. The database is running on a SUN E450 serve with 512MB RAM.
The test simply sends a post submitted form with the login name and password
to a controller servlet that then hits the database using a connection via
the pool, and logs in the user. All logins were valid, I did not test
invalid login names/passwords.

Just thought I would share these numbers. Next week I will be setting up a
two-server farm, using the load-balancer software that Orion includes in
their download. Each server will be dual PIII550 with 512MB RAM and SCSI III
RAID hd setup (Actually, they are IBM NetFinitiy 4000R units). The load
balancer will run on a slow PII300 workstation with 128MB RAM (I hope this
is good enough). They will be failed over and load-balanced, and I will test
the performance on those and post the results here.

The only thing I am not sure of is if different testing software performs
about the same..or are there dramatically different results.

If anyone wants me to attempt to test their site, I'll give it a go from
here..but its over a T1 connection, where as my test is done locally on a
LAN, so I am sure the results are more skewed.





Orion and GZIP

2000-10-19 Thread Duffey, Kevin

Hi all,

I know the Orion team mentioned to me that Orion has support for sending JSP
pages back as gzip compressed html. Is this support available in the 1.2.9
version of Orion..if not, what version is it in? Also, what do I have to do
to get all my JSP pages to return HTML content in g-zip format to speed
things up. I believe MSIE 5 and NS 4.7 and later both handle g-zip
compression right? So as long as our clients are using MSIE 5+ and NS4.7+,
they should be able to see the pages?

Thanks.




RE: EJB Help..

2000-10-19 Thread Duffey, Kevin

Hey,

I used the Orion Primer, and I didn't find it too helpful. While its
probably fine for those that have worked with EJB before, I didn't find it
extremely helpful in moving me closer to working with EJB. I do have an EJB
book from ORiely that I am reading..so that is helping me see how it all
works. There is still the issues of CMP, O/R and how all that works.

I will try what you said earlier, and see if that allows me to deploy them.

Thanks.


> -Original Message-
> From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 6:45 PM
> To: Orion-Interest
> Subject: RE: EJB Help..
> 
> 
> For the deployment details, see the Orion primer - 
> http://www.jollem.com
> 
> I generally move all classes from the WEB-INF/classes folder 
> into the ejb
> module (makes it more portable etc) - makes them more visible.
> 
> Mike
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Duffey, Kevin
> Sent: Friday, October 20, 2000 9:45 AM
> To: Orion-Interest
> Subject: RE: EJB Help..
> 
> 
> Thanks for the note. One thing..since I compile all of my 
> classes into the
> www/WEB-INF/classes dir, should I put a META-INF in the 
> /classes dir, and
> just point the module to the WEB-INF/classes folder? Would that work?
> 
> Not that I want you to tell me everything, ok..I do, but what 
> exactly do I
> need to get EJB deployed in that way? My first stab that I 
> want to do is
> create a login process. I would like to use statless session 
> beans, and also
> use an entity bean..using CMP. I created 3 classes, Login, 
> LoginBean and
> LoginHome. I have them in com.mycompany.ejb package. That compiles to
> www/WEB-INF/classes dir. So do I make application.xml like so:
> 
> /www/WEB-INF/classes
> 
> where the com folder starts? Or do I actually have to point 
> them directly to
> the .class files themselves? If the classes are compiled in a 
> package, I
> assume I need to point the ejb module setting to the root 
> package right?
> Furthermore, do I need that ejb.xml file in META-INF? If so, 
> what should it
> be set to if I am using an expanded dir? Lastly, how the heck 
> to I get the
> entity bean added..is that a forth class, or a whole set of 3 
> different
> classes, one being the entity bean, the other two being like 
> the home and
> remote objects? It seems kind of silly that I would need 6 
> classes to do the
> login process..3 for the session/logic stuff, and 3 for the 
> entity/database
> mapping.
> 
> Thanks so much..I appreciate the help.
> 
> 
> > -Original Message-
> > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 19, 2000 3:39 PM
> > To: Orion-Interest
> > Subject: RE: EJB Help..
> >
> >
> > Kevin,
> >
> > With any *ar file in Orion, you can use a directory instead.
> >
> > eg
> > 
> > ./myejbs.jar
> > 
> >
> > can just be
> >
> > 
> > ./myejbs
> > 
> >
> > where ./myejbs is a directory structure which has the same structure
> > (META-INF directories etc) as inside the myejbs.jar
> >
> > Mike
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Duffey, Kevin
> > Sent: Friday, October 20, 2000 5:37 AM
> > To: Orion-Interest
> > Subject: EJB Help..
> >
> >
> > Hi all,
> >
> > I am trying my hand at EJB with Orion, and I am wondering if
> > there is any
> > way to avoid the hassle of always having to package the ejb
> > classes into a
> > .jar file, and so on. Is there any way at all to develop and
> > deploy ejbs
> > using an expanded dir structure, much like in the development
> > of a .war
> > file..where you have the whole www dir, WEB-INF, etc
> > expanded..but then jar
> > it up and rename it to .war for deployment? It seems rather
> > tedious on ejb
> > development every time a change is made, the whole thing has to be
> > repackaged and deployed. I know there are some tools, such as
> > JBuilder,
> > VisualCafe, etc that do this for you somewhat nicely..but
> > even those take a
> > little bit of time to do it. So, for the purposes of
> > development, where many
> > changes are happening on any regular basis, how can I quickly
> > develop and
> > test ejb, with Orion, or any app server for that matter. I 
> do want the
> > ability for the context.lookup() call to work. The reason
> > is..I have two
> > computers, networked. I want to develop the ejbs on one
> > computer, and have
> > my www stuff on the other hitting them over the network so
> > that i can get
> > some kind of feel of the performance. I have a 4-way 
> switch, so I can
> > develop www stuff, then switch over to the other computer and
> > do some ejb
> > stuff. I will run one instance of Orion on each computer.
> > However, I don't
> > mind also being able to run www and ejb stuff in the same on
> > instance on one
> > computer, as long as the lookup stuff is used the same way,
> > even though the
> > ejb's are running locally.
> >
> > An

Re: Question

2000-10-19 Thread Porfiriev Sergey

Here is my startup script for NT (unix script is much alike) -
 it separetes stderr & stdout

perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;"
>>log/ORION.log
perl -e "print '-'x25, 'Orion Started ', scalar(localtime),qq#\n#;"
>>log/ORION.err

java -Xmx860m -Dxml.rewrite=false -jar orion.jar 1>>log/ORION.LOG
2>>log/ORION.ERR

perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;"
>>log/ORION.log
perl -e "print '='x25, 'Orion Stoped ', scalar(localtime),qq#\n#;"
>>log/ORION.err




after this i use
  tail -f  LogFile.ext | grep -v minor_info
for debugging / etc

- Original Message -
From: "Sarathy Mattaparti" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 1:49 PM
Subject: Re: Question


> It'll print on console
> Sarathy
>
> >
> >What is the default error log on Orion.  For example, if I user
> >'System.err.println', where is this going to.  Do I need to initialize
this
> >through the System class or does Orion default it somewhere.
> >
> >Thanks,
> >Andy
> >
> >
>
> _
> 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.
>





Re: Orion Powered Sites

2000-10-19 Thread Porfiriev Sergey

> I only see two sitest there. The second one is to some page that has some
> text on it..thats about it. Are there any full B2B or E-commerce sites
using
> Orion yet? I know we will be using it soon.

http://www.axwell.com  ( B2C , B2B coming soon )







Re: Orion Powered Sites

2000-10-19 Thread Gordon Sell

Try these(they are from the orion site)

http://www.redbull.com
http://www.javalobby.com
http://www.vpro.nl
http://www.linuxtoday.com.au
http://wap.hjemmenett.no
http://www.headlinewatch.com
http://news.partsbase.com
http://australia.internet.com
http://www.yesitworks.com
http://www.internetstockreport.com.au
http://www.e-mediamarketer.com.au

Cheers
Gordon

- Original Message -
From: "Duffey, Kevin" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, October 20, 2000 1:00 PM
Subject: RE: Orion Powered Sites


> I only see two sitest there. The second one is to some page that has some
> text on it..thats about it. Are there any full B2B or E-commerce sites
using
> Orion yet? I know we will be using it soon.
>
>
> > -Original Message-
> > From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 19, 2000 4:25 PM
> > To: Orion-Interest
> > Subject: Orion Powered Sites
> >
> >
> > This is the list of Orion Powered Sites
> >
> > http://www.rifleman.com.ar/orionsites.htm
> >
> > (sorry about it being a freeservers account, I'm working on it)
> >
>





RE: EJB Help..

2000-10-19 Thread Stanislav Maximov

Kevin,
look inside the news-application example bundled with Orion, lots of things
will become clear for you after that.
/WEB-INF/classes directory is for servlet classes, not for EJBs.
You'll see how to deploy EJBs in that example and in documentation as well.

stas@

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
> Sent: Friday, October 20, 2000 3:45 AM
> To: Orion-Interest
> Subject: RE: EJB Help..
>
>
> Thanks for the note. One thing..since I compile all of my classes into the
> www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and
> just point the module to the WEB-INF/classes folder? Would that work?
>
> Not that I want you to tell me everything, ok..I do, but what exactly do I
> need to get EJB deployed in that way? My first stab that I want to do is
> create a login process. I would like to use statless session
> beans, and also
> use an entity bean..using CMP. I created 3 classes, Login, LoginBean and
> LoginHome. I have them in com.mycompany.ejb package. That compiles to
> www/WEB-INF/classes dir. So do I make application.xml like so:
>
> /www/WEB-INF/classes
>
> where the com folder starts? Or do I actually have to point them
> directly to
> the .class files themselves? If the classes are compiled in a package, I
> assume I need to point the ejb module setting to the root package right?
> Furthermore, do I need that ejb.xml file in META-INF? If so, what
> should it
> be set to if I am using an expanded dir? Lastly, how the heck to I get the
> entity bean added..is that a forth class, or a whole set of 3 different
> classes, one being the entity bean, the other two being like the home and
> remote objects? It seems kind of silly that I would need 6
> classes to do the
> login process..3 for the session/logic stuff, and 3 for the
> entity/database
> mapping.
>
> Thanks so much..I appreciate the help.
>
>
> > -Original Message-
> > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 19, 2000 3:39 PM
> > To: Orion-Interest
> > Subject: RE: EJB Help..
> >
> >
> > Kevin,
> >
> > With any *ar file in Orion, you can use a directory instead.
> >
> > eg
> > 
> > ./myejbs.jar
> > 
> >
> > can just be
> >
> > 
> > ./myejbs
> > 
> >
> > where ./myejbs is a directory structure which has the same structure
> > (META-INF directories etc) as inside the myejbs.jar
> >
> > Mike
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Duffey, Kevin
> > Sent: Friday, October 20, 2000 5:37 AM
> > To: Orion-Interest
> > Subject: EJB Help..
> >
> >
> > Hi all,
> >
> > I am trying my hand at EJB with Orion, and I am wondering if
> > there is any
> > way to avoid the hassle of always having to package the ejb
> > classes into a
> > .jar file, and so on. Is there any way at all to develop and
> > deploy ejbs
> > using an expanded dir structure, much like in the development
> > of a .war
> > file..where you have the whole www dir, WEB-INF, etc
> > expanded..but then jar
> > it up and rename it to .war for deployment? It seems rather
> > tedious on ejb
> > development every time a change is made, the whole thing has to be
> > repackaged and deployed. I know there are some tools, such as
> > JBuilder,
> > VisualCafe, etc that do this for you somewhat nicely..but
> > even those take a
> > little bit of time to do it. So, for the purposes of
> > development, where many
> > changes are happening on any regular basis, how can I quickly
> > develop and
> > test ejb, with Orion, or any app server for that matter. I do want the
> > ability for the context.lookup() call to work. The reason
> > is..I have two
> > computers, networked. I want to develop the ejbs on one
> > computer, and have
> > my www stuff on the other hitting them over the network so
> > that i can get
> > some kind of feel of the performance. I have a 4-way switch, so I can
> > develop www stuff, then switch over to the other computer and
> > do some ejb
> > stuff. I will run one instance of Orion on each computer.
> > However, I don't
> > mind also being able to run www and ejb stuff in the same on
> > instance on one
> > computer, as long as the lookup stuff is used the same way,
> > even though the
> > ejb's are running locally.
> >
> > Any pointers on how to set up Orion to do this, including the
> > application.xml  tag (how to point it to the right
> > place instead of
> > the ejb.jar file, for example so that the ejbs will get
> > picked up by the
> > server), web.xml, orion-web.xml, server.xml, etc..anything
> > that needs to be
> > done to get this to work.
> >
> > Thanks so much for any help.
> >
> >
>





Re: orionsupport.com attempting to ping my system???

2000-10-19 Thread Greg Boswell

port 113 is the Ident port. It can be used to identify a connection between
computers...So what the orionserver.com is trying to do is make sure you
are who you say you are.. at least is trying to confirm that your computer
is really at the IP you say you are at.. beyond that your identity is on
your honor


Greg



At 06:15 AM 10/19/2000 -0700, you wrote:
>Can anyone explain why I received multiple attempts to
>connect to my system on port 113 (NetBIOS, right?)
>from orionsupport.com immediately after my browsing
>some information on that site and orionserver.com?
>
>__
>Do You Yahoo!?
>Yahoo! Messenger - Talk while you surf!  It's FREE.
>http://im.yahoo.com/
>




RE: Orion Powered Sites

2000-10-19 Thread Stanislav Maximov

Juan forgot to put http:// into the href of the second site, that's why the
link leads to 404 error. The correct link is www.alltrue.com. I'll send Juan
a link to my site soon, so there'll be three. :)

stas@

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
> Sent: Friday, October 20, 2000 4:01 AM
> To: Orion-Interest
> Subject: RE: Orion Powered Sites
>
>
> I only see two sitest there. The second one is to some page that has some
> text on it..thats about it. Are there any full B2B or E-commerce
> sites using
> Orion yet? I know we will be using it soon.
>
>
> > -Original Message-
> > From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 19, 2000 4:25 PM
> > To: Orion-Interest
> > Subject: Orion Powered Sites
> >
> >
> > This is the list of Orion Powered Sites
> >
> > http://www.rifleman.com.ar/orionsites.htm
> >
> > (sorry about it being a freeservers account, I'm working on it)
> >
>





taglib, JNDI, odd problem.

2000-10-19 Thread Colin Jacobs

I'm trying to set up a debugging environment and I've noticed something
weird.

I've been using ejbtags.jar, and I discovered that using the tag like so

 

Results in a JNDI Exception:
javax.servlet.jsp.JspException: NamingException: ejb/UserManagerHome not
found
at com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37)

So, I've been using the tag with a fully qualified JNDI path:

 

That works. I scratched my head over why this would be so for a while, but
moved on. Now, however, if I run Orion from inside JBuilder, the second
(verbose) version results in 

javax.servlet.jsp.JspException: NamingException: java:comp/env namespace is
only available from within a J2EE component
at com.evermind.ejb.taglib.UseHomeTag.doStartTag(UseHomeTag.java:37)
...

and the first version works.

What about my setup could possibly account for this discrepancy? The web.xml
seems normal.

...
   
  ejb/UserManagerHome
  Session
  net.coljac.aok.ejb.UserManagerHome
  net.coljac.aok.ejb.UserManager
   
...

I'm not sure what the difference is. I tried running orion outside JBuilder
using the JBuilder version of the jdk, with "." as the classpath. JBuilder
has orion.jar and ejb.jar first in its classpath. 

Curious. If anyone has any ideas, I'm all ears.

Colin


Colin Jacobs
Senior Software Engineer
Optfor Derivatives, Inc.
http://www.opt4.com

I don't pretend to have all the answers. I don't
even pretend to know what the questions are. Hey,
where am I? -- Jack Handey




RE: Orion Powered Sites

2000-10-19 Thread Greg Boswell

Well
For development of our customers sites, (all are B2B) we use Orion. I will
expect that more then a few of our customers will take our end
recommendation and use Orion as their distribution application server.
I expect that many more sites are using Orion then those you see there.. I
do know its the development target for our group.

Greg Boswell
[EMAIL PROTECTED]

At 05:00 PM 10/19/2000 -0700, you wrote:
>I only see two sitest there. The second one is to some page that has some
>text on it..thats about it. Are there any full B2B or E-commerce sites using
>Orion yet? I know we will be using it soon.
>
>
>> -Original Message-
>> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, October 19, 2000 4:25 PM
>> To: Orion-Interest
>> Subject: Orion Powered Sites
>> 
>> 
>> This is the list of Orion Powered Sites
>> 
>> http://www.rifleman.com.ar/orionsites.htm
>> 
>> (sorry about it being a freeservers account, I'm working on it) 
>> 
>




RE: EJB Help..

2000-10-19 Thread Mike Cannon-Brookes

For the deployment details, see the Orion primer - http://www.jollem.com

I generally move all classes from the WEB-INF/classes folder into the ejb
module (makes it more portable etc) - makes them more visible.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 9:45 AM
To: Orion-Interest
Subject: RE: EJB Help..


Thanks for the note. One thing..since I compile all of my classes into the
www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and
just point the module to the WEB-INF/classes folder? Would that work?

Not that I want you to tell me everything, ok..I do, but what exactly do I
need to get EJB deployed in that way? My first stab that I want to do is
create a login process. I would like to use statless session beans, and also
use an entity bean..using CMP. I created 3 classes, Login, LoginBean and
LoginHome. I have them in com.mycompany.ejb package. That compiles to
www/WEB-INF/classes dir. So do I make application.xml like so:

/www/WEB-INF/classes

where the com folder starts? Or do I actually have to point them directly to
the .class files themselves? If the classes are compiled in a package, I
assume I need to point the ejb module setting to the root package right?
Furthermore, do I need that ejb.xml file in META-INF? If so, what should it
be set to if I am using an expanded dir? Lastly, how the heck to I get the
entity bean added..is that a forth class, or a whole set of 3 different
classes, one being the entity bean, the other two being like the home and
remote objects? It seems kind of silly that I would need 6 classes to do the
login process..3 for the session/logic stuff, and 3 for the entity/database
mapping.

Thanks so much..I appreciate the help.


> -Original Message-
> From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 3:39 PM
> To: Orion-Interest
> Subject: RE: EJB Help..
>
>
> Kevin,
>
> With any *ar file in Orion, you can use a directory instead.
>
> eg
> 
>   ./myejbs.jar
> 
>
> can just be
>
> 
>   ./myejbs
> 
>
> where ./myejbs is a directory structure which has the same structure
> (META-INF directories etc) as inside the myejbs.jar
>
> Mike
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Duffey, Kevin
> Sent: Friday, October 20, 2000 5:37 AM
> To: Orion-Interest
> Subject: EJB Help..
>
>
> Hi all,
>
> I am trying my hand at EJB with Orion, and I am wondering if
> there is any
> way to avoid the hassle of always having to package the ejb
> classes into a
> .jar file, and so on. Is there any way at all to develop and
> deploy ejbs
> using an expanded dir structure, much like in the development
> of a .war
> file..where you have the whole www dir, WEB-INF, etc
> expanded..but then jar
> it up and rename it to .war for deployment? It seems rather
> tedious on ejb
> development every time a change is made, the whole thing has to be
> repackaged and deployed. I know there are some tools, such as
> JBuilder,
> VisualCafe, etc that do this for you somewhat nicely..but
> even those take a
> little bit of time to do it. So, for the purposes of
> development, where many
> changes are happening on any regular basis, how can I quickly
> develop and
> test ejb, with Orion, or any app server for that matter. I do want the
> ability for the context.lookup() call to work. The reason
> is..I have two
> computers, networked. I want to develop the ejbs on one
> computer, and have
> my www stuff on the other hitting them over the network so
> that i can get
> some kind of feel of the performance. I have a 4-way switch, so I can
> develop www stuff, then switch over to the other computer and
> do some ejb
> stuff. I will run one instance of Orion on each computer.
> However, I don't
> mind also being able to run www and ejb stuff in the same on
> instance on one
> computer, as long as the lookup stuff is used the same way,
> even though the
> ejb's are running locally.
>
> Any pointers on how to set up Orion to do this, including the
> application.xml  tag (how to point it to the right
> place instead of
> the ejb.jar file, for example so that the ejbs will get
> picked up by the
> server), web.xml, orion-web.xml, server.xml, etc..anything
> that needs to be
> done to get this to work.
>
> Thanks so much for any help.
>
>






RE: Orion Powered Sites

2000-10-19 Thread Mike Cannon-Brookes

All our sites run on Orion, and there are quite a few in the FAQ I seem to
remember.

I'll email them to Juan.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 10:01 AM
To: Orion-Interest
Subject: RE: Orion Powered Sites


I only see two sitest there. The second one is to some page that has some
text on it..thats about it. Are there any full B2B or E-commerce sites using
Orion yet? I know we will be using it soon.


> -Original Message-
> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 4:25 PM
> To: Orion-Interest
> Subject: Orion Powered Sites
>
>
> This is the list of Orion Powered Sites
>
> http://www.rifleman.com.ar/orionsites.htm
>
> (sorry about it being a freeservers account, I'm working on it)
>






RE: EJB Help..

2000-10-19 Thread Duffey, Kevin

Thanks for the note. One thing..since I compile all of my classes into the
www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and
just point the module to the WEB-INF/classes folder? Would that work?

Not that I want you to tell me everything, ok..I do, but what exactly do I
need to get EJB deployed in that way? My first stab that I want to do is
create a login process. I would like to use statless session beans, and also
use an entity bean..using CMP. I created 3 classes, Login, LoginBean and
LoginHome. I have them in com.mycompany.ejb package. That compiles to
www/WEB-INF/classes dir. So do I make application.xml like so:

/www/WEB-INF/classes

where the com folder starts? Or do I actually have to point them directly to
the .class files themselves? If the classes are compiled in a package, I
assume I need to point the ejb module setting to the root package right?
Furthermore, do I need that ejb.xml file in META-INF? If so, what should it
be set to if I am using an expanded dir? Lastly, how the heck to I get the
entity bean added..is that a forth class, or a whole set of 3 different
classes, one being the entity bean, the other two being like the home and
remote objects? It seems kind of silly that I would need 6 classes to do the
login process..3 for the session/logic stuff, and 3 for the entity/database
mapping.

Thanks so much..I appreciate the help.


> -Original Message-
> From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 3:39 PM
> To: Orion-Interest
> Subject: RE: EJB Help..
> 
> 
> Kevin,
> 
> With any *ar file in Orion, you can use a directory instead.
> 
> eg
> 
>   ./myejbs.jar
> 
> 
> can just be
> 
> 
>   ./myejbs
> 
> 
> where ./myejbs is a directory structure which has the same structure
> (META-INF directories etc) as inside the myejbs.jar
> 
> Mike
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Duffey, Kevin
> Sent: Friday, October 20, 2000 5:37 AM
> To: Orion-Interest
> Subject: EJB Help..
> 
> 
> Hi all,
> 
> I am trying my hand at EJB with Orion, and I am wondering if 
> there is any
> way to avoid the hassle of always having to package the ejb 
> classes into a
> .jar file, and so on. Is there any way at all to develop and 
> deploy ejbs
> using an expanded dir structure, much like in the development 
> of a .war
> file..where you have the whole www dir, WEB-INF, etc 
> expanded..but then jar
> it up and rename it to .war for deployment? It seems rather 
> tedious on ejb
> development every time a change is made, the whole thing has to be
> repackaged and deployed. I know there are some tools, such as 
> JBuilder,
> VisualCafe, etc that do this for you somewhat nicely..but 
> even those take a
> little bit of time to do it. So, for the purposes of 
> development, where many
> changes are happening on any regular basis, how can I quickly 
> develop and
> test ejb, with Orion, or any app server for that matter. I do want the
> ability for the context.lookup() call to work. The reason 
> is..I have two
> computers, networked. I want to develop the ejbs on one 
> computer, and have
> my www stuff on the other hitting them over the network so 
> that i can get
> some kind of feel of the performance. I have a 4-way switch, so I can
> develop www stuff, then switch over to the other computer and 
> do some ejb
> stuff. I will run one instance of Orion on each computer. 
> However, I don't
> mind also being able to run www and ejb stuff in the same on 
> instance on one
> computer, as long as the lookup stuff is used the same way, 
> even though the
> ejb's are running locally.
> 
> Any pointers on how to set up Orion to do this, including the
> application.xml  tag (how to point it to the right 
> place instead of
> the ejb.jar file, for example so that the ejbs will get 
> picked up by the
> server), web.xml, orion-web.xml, server.xml, etc..anything 
> that needs to be
> done to get this to work.
> 
> Thanks so much for any help.
> 
> 




RE: Orion Powered Sites

2000-10-19 Thread Duffey, Kevin

I only see two sitest there. The second one is to some page that has some
text on it..thats about it. Are there any full B2B or E-commerce sites using
Orion yet? I know we will be using it soon.


> -Original Message-
> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 4:25 PM
> To: Orion-Interest
> Subject: Orion Powered Sites
> 
> 
> This is the list of Orion Powered Sites
> 
> http://www.rifleman.com.ar/orionsites.htm
> 
> (sorry about it being a freeservers account, I'm working on it) 
> 




Additional Java Mailing Lists

2000-10-19 Thread David Kenzik

In light of the recent messages regarding splitting the list, offloading to
another medium, et. al., I'd like to share the following:

http://p2p.wrox.com

There are many different subjects, all relating to Java development, from
novices to advanced.

As a side note, Wrox's books pretty much kick ass. I'd highly recommend both
Professional Java Programming books.

-- 
David S. Kenzik
[EMAIL PROTECTED] - http://kenzik.com
Original Music - http://mp3.com/text




Re: I had not seen this before ... and it looks hokey to me.

2000-10-19 Thread Aaron Scott-Boddendijk

\> The biggest drawback to anonymous inner classes (as I see it) is that the
> compiler creates a separate class file for each one.  I had a small
> project's .jar file double in size due to these class files (since .jar
> compression is file-by-file).

There certainly needs to be some degree of standardisation on a chunking
mechanism under the jar scheme. I appreciate that it's nice to have pure
compatibility with zip but it's not ideal for large class hierarchies - especially
as one of the aims is brevity of transmission.  I wondered if something like
package level chunking would work well and have the archive directory contain
a packing list indexed to the package chunk.

Another possiblity is to have non-static inner classes loaded with the enclosing
class but not initialised until first use. Then a java bytecode file could contain
all directly dependant classes in one file - no more Class$1.class files and perhaps
a more efficient loading process... Static inner classes of course should probably
still be separate - Does an enclosing class get loaded and initalised when a static
inner class is instanciated?

--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax






Re: Oracle on Orion

2000-10-19 Thread Chris Evans


Thanks for the reply,
We figured out the problem.  What was wrong was this:
1) It initially created the all tables(only a few were in the XML file)
a week or so ago under a test
username/password we were using
2) We then created our own username/password and granted it certain
privileges(we aren't DBA's so this was probably the trouble)
3) It somehow saw that the tables were already created under the
original username/password we used, hence it only created the new tables
we added
to our XML file over the past couple of days.
Thanks again,
Chris
Rafael Alvarez wrote:
Hi!
Is there any error message during deploy? Orion stops the
auto-creation process if there is any SQLException.
I also found that Orion don't create tables for beans that where
already deployed, even if you drop them.
--
Best regards,
 Rafael   
mailto:[EMAIL PROTECTED]





Orion Powered Sites

2000-10-19 Thread Juan Lorandi (Chile)

This is the list of Orion Powered Sites

http://www.rifleman.com.ar/orionsites.htm

(sorry about it being a freeservers account, I'm working on it) 




Re: Help with getting Orion to talke to Oracle.

2000-10-19 Thread Jason Rimmer

That's not quite true.  While you can do what Al recommends you can also
add a library path statement to the application.xml config file.  As in the
following:








--
Jason Rimmer
[EMAIL PROTECTED]


- Original Message -
From: "Al Fogleson" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 1995 5:29 PM
Subject: Re: Help with getting Orion to talke to Oracle.


> You need to copy the oracle drivers into your orion/lib directory I
actually
> unzipped the classes111.zip there myself.
>
> Al
>
> - Original Message -
> From: "J Davis" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Thursday, October 19, 2000 1:43 PM
> Subject: Help with getting Orion to talke to Oracle.
>
>
> > I have been pulling my hair out trying to get oracle and orion to talk
to
> > each other.  I am sure it is a simple error, but I can't seem to find
it.
> > Here is my problem:
> >
> > I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2,
> > j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip.
> >
> > I copied the tools.jar from the jdk into the c:\orion dir.
> >
> > I have taken the time to set the following ENV variables based off some
> > earlier messages:
> >
> > J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip
> > J2EE_HOME=c:\j2ee
> > JAVA_HOME=c:\jdk
> > PATH=(Original path);c:\jdk
> >
> > I tried exploding the oracle drivers in the orion/lib dir as well as the
> > jre/lib/ext dir.
> >
> > I tried adding the oracle zip file to the library tag in the
> application.xml
> > like so:
> >
> > 
> >
> > I setup the data-source file like so:
> >
> >  > class="com.evermind.sql.ConnectionDataSource"
> > name="Oracle VND Driver"
> > location="jdbc/vndCoreDS"
> > pooled-location="jdbc/vndPooledDS"
> > xa-location="jdbc/xa/vndXADS"
> > ejb-location="jdbc/vndDS"
> > connection-driver="oracle.jdbc.driver.OracleDriver"
> > username="login"
> > password="pass"
> > schema="./database-schemas/oracle.xml"
> > url="jdbc:oracle:thin:@machine:1521:sid"
> > inactivity-timeout="120"
> > />
> >
> > I built a simple class that looks like this to run from a remote
machine:
> >
> > import java.sql.*;
> > import javax.ejb.*;
> > import javax.sql.DataSource;
> > import javax.naming.*;
> > import com.micronpc.db.*;
> >
> > public class TestConn
> > {
> >   Context jndiContext;
> >
> >   public TestConn()
> >   {
> > try
> > {
> >   jndiContext = new InitialContext();
> >   DataSource ds =
(DataSource)jndiContext.lookup("jdbc/vndPooledDS");
> >   Connection conn = ds.getConnection();
> >   Statement s = conn.createStatement();
> >   String sql = "SELECT * from adv_sub_family_type";
> >   ResultSet rs = s.executeQuery(sql);
> >   while(rs != null && rs.next())
> >   {
> > System.out.println("Record:" + rs.getString(1));
> >   }
> > }
> > catch(Exception e)
> > {
> >   System.out.println("Got this exception:" + e.getMessage());
> >   e.printStackTrace();
> > }
> >   }
> >
> >   public static void main(String[] args)
> >   {
> > TestConn testConn1 = new TestConn();
> >   }
> > }
> >
> > My application-client.xml in the META-INF looks like this(although I am
> not
> > trying to use any of these objects yet.):
> >
> > 
> >  > Application Client 1.2//EN"
> > "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">
> > 
> > 
> > QuoteEntity
> > Entity
> > com.micronpc.api.configurator.QuoteEntityHome
> >
> > com.micronpc.api.configurator.QuoteEntityRemote
> > 
> > 
> > ModelQuoteEntity
> > Entity
> >
> > com.micronpc.api.configurator.ModelQuoteEntityHome
> >
> > com.micronpc.api.configurator.ModelQuoteEntityRemote
> > 
> > 
> > ProfileEntity
> > Entity
> > com.micronpc.api.configurator.ProfileEntityHome
> >
> > com.micronpc.api.configurator.ProfileEntityRemote
> > 
> > 
> >
> > my jndi.properties looks like this:
> >
> >
>
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
> > extFactory
> > java.naming.provider.url=ormi://ejbtestbox/micron
> > java.naming.security.principal=admin
> > java.naming.security.credentials=123
> >
> > my principales file looke like this:
> >
> > 
> >  > "http://www.orionserver.com/dtds/principals.dtd">
> >
> > 
> > 
> > 
> > administrators
> > 
> >  > name="com.evermind.server.AdministrationPermission" />
> > 
> > 
> > guests
> > 
> > 
> > users
> > 
> >  > name="com.evermind.server.rmi.RMIPermission" />
> > 
> > 
> > 
> > 
> > The default administrator
> > 
> > 
> > 
> > 
> > 
> > The default user
> > 
> > 
> > 
> > 
> > The default guest/anonyomous
> > user
> > 
> > 
> > 
> > 
> >
> > if I try to make a connection with a standalone app on the machine it
> works
> > fine.  If I try to go through orion I get the following errors.
> >
> > if I try it as vndPooledDS or vndCoreDS I get the following error:
> >
> > Got this exception:No suitable driver java.sql.SQLException: No suitable
> > driver a

Re: Orion in production

2000-10-19 Thread Al Fogleson

Besides Orion's site itself ? :)


- Original Message -
From: "Juan Lorandi (Chile)" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 5:13 PM
Subject: Orion in production


> Hi!
>
> I have been using orion for about 6 months now, and now, as I'm finishing
my
> app, I need to sell orion to my customers...
> For this, it would be *VERY* valuable to have a list of sites (on the
> internet or intranets) which use orion...
>
> So, basically, what I have in mind is that anybody on this list that
wishes
> to report a site as being partiallly/fully powered by orion,
> report it to my email address, [EMAIL PROTECTED], so that I can make a
list
> of these, to publish it on WWW
>
> I think this will prove useful for us all.
>
> TIA,
>
> JP
>





RE: JBuilder + Orion

2000-10-19 Thread Scott Stirling

If you want a good JPDA debugger, use JSwat.  It's free and open source:

http://www.bluemarsh.com

Scott Stirling

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ALLEN FOGLESON
> Sent: Thursday, October 19, 2000 12:44 PM
> To: Orion-Interest
> Subject: RE: JBuilder + Orion
>
>
>  Professional and enterprise actually. :)
>
>
> -Original Message-
> From: Christian Sell
> To: Orion-Interest
> Sent: 10/19/00 7:29 AM
> Subject: Re: JBuilder + Orion
>
> However, JPDA is only available with the professional (non-free) version
> of
> JBuilder






Re: Help with getting Orion to talke to Oracle.

2000-10-19 Thread Joel Shellman

Or I usually put the oracle drivers in JAVA_HOME/jre/lib/ext

Not sure of the technical differences between the two approaches, though.

-joel

- Original Message -
From: "Al Fogleson" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 1995 2:29 PM
Subject: Re: Help with getting Orion to talke to Oracle.


> You need to copy the oracle drivers into your orion/lib directory I
actually
> unzipped the classes111.zip there myself.
>
> Al
>
> - Original Message -
> From: "J Davis" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Thursday, October 19, 2000 1:43 PM
> Subject: Help with getting Orion to talke to Oracle.
>
>
> > I have been pulling my hair out trying to get oracle and orion to talk
to
> > each other.  I am sure it is a simple error, but I can't seem to find
it.
> > Here is my problem:
> >
> > I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2,
> > j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip.
> >
> > I copied the tools.jar from the jdk into the c:\orion dir.
> >
> > I have taken the time to set the following ENV variables based off some
> > earlier messages:
> >
> > J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip
> > J2EE_HOME=c:\j2ee
> > JAVA_HOME=c:\jdk
> > PATH=(Original path);c:\jdk
> >
> > I tried exploding the oracle drivers in the orion/lib dir as well as the
> > jre/lib/ext dir.
> >
> > I tried adding the oracle zip file to the library tag in the
> application.xml
> > like so:
> >
> > 
> >
> > I setup the data-source file like so:
> >
> >  > class="com.evermind.sql.ConnectionDataSource"
> > name="Oracle VND Driver"
> > location="jdbc/vndCoreDS"
> > pooled-location="jdbc/vndPooledDS"
> > xa-location="jdbc/xa/vndXADS"
> > ejb-location="jdbc/vndDS"
> > connection-driver="oracle.jdbc.driver.OracleDriver"
> > username="login"
> > password="pass"
> > schema="./database-schemas/oracle.xml"
> > url="jdbc:oracle:thin:@machine:1521:sid"
> > inactivity-timeout="120"
> > />
> >
> > I built a simple class that looks like this to run from a remote
machine:
> >
> > import java.sql.*;
> > import javax.ejb.*;
> > import javax.sql.DataSource;
> > import javax.naming.*;
> > import com.micronpc.db.*;
> >
> > public class TestConn
> > {
> >   Context jndiContext;
> >
> >   public TestConn()
> >   {
> > try
> > {
> >   jndiContext = new InitialContext();
> >   DataSource ds =
(DataSource)jndiContext.lookup("jdbc/vndPooledDS");
> >   Connection conn = ds.getConnection();
> >   Statement s = conn.createStatement();
> >   String sql = "SELECT * from adv_sub_family_type";
> >   ResultSet rs = s.executeQuery(sql);
> >   while(rs != null && rs.next())
> >   {
> > System.out.println("Record:" + rs.getString(1));
> >   }
> > }
> > catch(Exception e)
> > {
> >   System.out.println("Got this exception:" + e.getMessage());
> >   e.printStackTrace();
> > }
> >   }
> >
> >   public static void main(String[] args)
> >   {
> > TestConn testConn1 = new TestConn();
> >   }
> > }
> >
> > My application-client.xml in the META-INF looks like this(although I am
> not
> > trying to use any of these objects yet.):
> >
> > 
> >  > Application Client 1.2//EN"
> > "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">
> > 
> > 
> > QuoteEntity
> > Entity
> > com.micronpc.api.configurator.QuoteEntityHome
> >
> > com.micronpc.api.configurator.QuoteEntityRemote
> > 
> > 
> > ModelQuoteEntity
> > Entity
> >
> > com.micronpc.api.configurator.ModelQuoteEntityHome
> >
> > com.micronpc.api.configurator.ModelQuoteEntityRemote
> > 
> > 
> > ProfileEntity
> > Entity
> > com.micronpc.api.configurator.ProfileEntityHome
> >
> > com.micronpc.api.configurator.ProfileEntityRemote
> > 
> > 
> >
> > my jndi.properties looks like this:
> >
> >
>
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
> > extFactory
> > java.naming.provider.url=ormi://ejbtestbox/micron
> > java.naming.security.principal=admin
> > java.naming.security.credentials=123
> >
> > my principales file looke like this:
> >
> > 
> >  > "http://www.orionserver.com/dtds/principals.dtd">
> >
> > 
> > 
> > 
> > administrators
> > 
> >  > name="com.evermind.server.AdministrationPermission" />
> > 
> > 
> > guests
> > 
> > 
> > users
> > 
> >  > name="com.evermind.server.rmi.RMIPermission" />
> > 
> > 
> > 
> > 
> > The default administrator
> > 
> > 
> > 
> > 
> > 
> > The default user
> > 
> > 
> > 
> > 
> > The default guest/anonyomous
> > user
> > 
> > 
> > 
> > 
> >
> > if I try to make a connection with a standalone app on the machine it
> works
> > fine.  If I try to go through orion I get the following errors.
> >
> > if I try it as vndPooledDS or vndCoreDS I get the following error:
> >
> > Got this exception:No suitable driver java.sql.SQLException: No suitable
> > driver at java.sql.DriverManager.getConnection(DriverManager.java:477)
> > at java.sql.DriverManager.getConnecti

RE: EJB Help..

2000-10-19 Thread Kurt Hoyt
Title: RE: EJB Help..





I use ant. Check jakarta.apache.org for it. When I change a file with JBuilder or TextPad, I run ant in a console window. It builds the jar file and moves it to the right place for orion to pick it up.

Kurt in Atlanta


>-Original Message-
>From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, October 19, 2000 3:37 PM
>To: Orion-Interest
>Subject: EJB Help..
>
>
>Hi all,
>
>I am trying my hand at EJB with Orion, and I am wondering if 
>there is any
>way to avoid the hassle of always having to package the ejb 
>classes into a
>.jar file, and so on. Is there any way at all to develop and 
>deploy ejbs
>using an expanded dir structure, much like in the development of a .war
>file..where you have the whole www dir, WEB-INF, etc 
>expanded..but then jar
>it up and rename it to .war for deployment? It seems rather 
>tedious on ejb
>development every time a change is made, the whole thing has to be
>repackaged and deployed. I know there are some tools, such as JBuilder,
>VisualCafe, etc that do this for you somewhat nicely..but even 
>those take a
>little bit of time to do it. So, for the purposes of 
>development, where many
>changes are happening on any regular basis, how can I quickly 
>develop and
>test ejb, with Orion, or any app server for that matter. I do want the
>ability for the context.lookup() call to work. The reason 
>is..I have two
>computers, networked. I want to develop the ejbs on one 
>computer, and have
>my www stuff on the other hitting them over the network so 
>that i can get
>some kind of feel of the performance. I have a 4-way switch, so I can
>develop www stuff, then switch over to the other computer and 
>do some ejb
>stuff. I will run one instance of Orion on each computer. 
>However, I don't
>mind also being able to run www and ejb stuff in the same on 
>instance on one
>computer, as long as the lookup stuff is used the same way, 
>even though the
>ejb's are running locally.
>
>Any pointers on how to set up Orion to do this, including the
>application.xml  tag (how to point it to the right 
>place instead of
>the ejb.jar file, for example so that the ejbs will get picked 
>up by the
>server), web.xml, orion-web.xml, server.xml, etc..anything 
>that needs to be
>done to get this to work.
>
>Thanks so much for any help.
>





Re: The New Java Pet Store

2000-10-19 Thread Ray Harrison

I found the problem for this particular error - the petstore app tries to load the 
japanese
version of the pages and it chokes while doing it. It happens not only on Orion, but 
J2ee-ri as
well. If you remove the entry from the xml/requestmappings.xml file and remove the 
appropriate
entry from
the index.html file (you can do this all obviously from the earassembler or the 
webappassembler)..
--- Ray Harrison <[EMAIL PROTECTED]> wrote:
> Hi -
> Has anyone investigated the new java pet store (came out on October 11th, I 
>believe)? I just did
> a
> straight deploy - here's the message I receive on "Enter the Store"...
> 
>-
> java.lang.NullPointerException
> at
>
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getTagValue(ScreenFlowXmlDAO.java:332)
> at
>
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getScreens(ScreenFlowXmlDAO.java:155)
> at
>
com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadScreenDefinitions(ScreenFlowXmlDAO.java:97)
> at
> 
>com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowManager.init(ScreenFlowManager.java:52)
> at
>
com.sun.j2ee.blueprints.petstore.control.web.MainServlet.getScreenFlowManager(MainServlet.java:96)
> at 
>com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:37)
> at javax.servlet.GenericServlet.init(GenericServlet.java)
> at com.evermind.server.http.HttpApplication.wt(JAX)
> at com.evermind.server.http.HttpApplication.wb(JAX)
> at com.evermind.server.http.HttpApplication.um(JAX)
> at com.evermind.server.http.ef.su(JAX)
> at com.evermind.server.http.ef.dn(JAX)
> at com.evermind.util.f.run(JAX)
> 
> 
>-
> Orion Version 1.4.0
> Cloudscape data source
> AND
> MS Sql Server data source (the results are the same - the sources have worked before
> and continue to work on the previous pet store release (1.0.1)...
> 
> 
> Any clues as to where to start looking? I am not THAT interested in getting it to 
>work, but I am
> a
> bit curious
> 
> Cheers
> Ray Harrison
> 
> __
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/
> 


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: EJB Help..

2000-10-19 Thread Mike Cannon-Brookes

Kevin,

With any *ar file in Orion, you can use a directory instead.

eg

./myejbs.jar


can just be


./myejbs


where ./myejbs is a directory structure which has the same structure
(META-INF directories etc) as inside the myejbs.jar

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 5:37 AM
To: Orion-Interest
Subject: EJB Help..


Hi all,

I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle of always having to package the ejb classes into a
.jar file, and so on. Is there any way at all to develop and deploy ejbs
using an expanded dir structure, much like in the development of a .war
file..where you have the whole www dir, WEB-INF, etc expanded..but then jar
it up and rename it to .war for deployment? It seems rather tedious on ejb
development every time a change is made, the whole thing has to be
repackaged and deployed. I know there are some tools, such as JBuilder,
VisualCafe, etc that do this for you somewhat nicely..but even those take a
little bit of time to do it. So, for the purposes of development, where many
changes are happening on any regular basis, how can I quickly develop and
test ejb, with Orion, or any app server for that matter. I do want the
ability for the context.lookup() call to work. The reason is..I have two
computers, networked. I want to develop the ejbs on one computer, and have
my www stuff on the other hitting them over the network so that i can get
some kind of feel of the performance. I have a 4-way switch, so I can
develop www stuff, then switch over to the other computer and do some ejb
stuff. I will run one instance of Orion on each computer. However, I don't
mind also being able to run www and ejb stuff in the same on instance on one
computer, as long as the lookup stuff is used the same way, even though the
ejb's are running locally.

Any pointers on how to set up Orion to do this, including the
application.xml  tag (how to point it to the right place instead of
the ejb.jar file, for example so that the ejbs will get picked up by the
server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be
done to get this to work.

Thanks so much for any help.






Re: Orion can't find my jar file for my servlet....!

2000-10-19 Thread Al Fogleson

This is not a servlet error really, this is an xwindows error. try being
root and typing xhost + (a temporary fix this will open up your x server to
the world..) if that works you can man xhost to see how to open specific
IP's to connect to the Xserver. If this is not your box but a company box
(highly likely coming from a .gov domain) someone reconfigured the Xserver
to lock it down. Sysadmins do that when unknown users start hitting Xservers
hehe.

Al


- Original Message -
From: "Keith Kwiatek" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 2:57 PM
Subject: Orion can't find my jar file for my servlet!


> Hello,
>
> I loaded a new servlet of mine into the "classes" directory this new
> servlet needed a jar file, which I put into the ./orion/lib directory  (as
> well in the ./orion  and ./classes) ... all seemed to be fine. The servlet
> worked great for a long time. BUT I then I started to get the errors
below.
> I am pretty sure I didn't touch a thing configuration wise. All I had been
> doing was recompiling my servlet code. Now it seems it can' t find the jar
> file??!!! The other example servlets still run fine. Any ideas?
>
>
> 500 Internal Server Error
> java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as
> the value of the DISPLAY variable. at
> sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
> sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at
> java.lang.Class.forName0(Native Method) at
> java.lang.Class.forName(Class.java, Compiled Code) at
>
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
> .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled
> Code) at java.awt.Font.(Font.java, Compiled Code) at
> javachart.chart.Gc.(Gc.java:74) at
> javachart.chart.Plotarea.(Plotarea.java, Compiled Code) at
> javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at
> javachart.chart.Chart.(Chart.java, Compiled Code) at
> javachart.chart.BarChart.(BarChart.java, Compiled Code) at
> javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at
> javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
> javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
> javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
> MagicServlet.doGet(MagicServlet.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> com.evermind.server.http.d1.si(JAX, Compiled Code) at
> com.evermind.server.http.d1.forward(JAX, Compiled Code) at
> com.evermind.server.http.ed.sp(JAX, Compiled Code) at
> com.evermind.server.http.ed.so(JAX, Compiled Code) at
> com.evermind.util.f.run(JAX, Compiled Code
>
> ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET:
>
> 500 Internal Server Error
> java.lang.NoClassDefFoundError: javachart/chart/Gc at
> javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at
> javachart.chart.Chart.(Chart.java, Compiled Code) at
> javachart.chart.PieChart.(PieChart.java, Compiled Code) at
> javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at
> javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
> javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
> javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
> m.doGet(m.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
> com.evermind.server.http.d1.si(JAX, Compiled Code) at
> com.evermind.server.http.d1.forward(JAX, Compiled Code) at
> com.evermind.server.http.ed.sp(JAX, Compiled Code) at
> com.evermind.server.http.ed.so(JAX, Compiled Code) at
> com.evermind.util.f.run(JAX, Compiled Code)
>
>
>
>





Re: Shutdown sequence not working

2000-10-19 Thread Drew Kidder

If by "enable user admin" you mean not having the disabled="true" property 
set for that user (or whatever it is), that's not the case. I have removed 
that property. And I would think that orion should tell me that the user is 
invalid, rather than the wrong number of arguments.

How would I enable the admin user, aside from removing that tag that is 
present in the default principals.xml file?


At 12:51 PM 10/19/2000 -0500, you wrote:
>Hi Drew,
>
>you should edit principals.xml and enable user admin. Your command is fine,
>atleast it works for me.
>But I have found a problem with this command on Unix with J2SE 13. It 
>kills the
>server but not the process , then you cannot restart the orion server.


--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com






Re: Help with getting Orion to talke to Oracle.

2000-10-19 Thread Al Fogleson

You need to copy the oracle drivers into your orion/lib directory I actually
unzipped the classes111.zip there myself.

Al

- Original Message -
From: "J Davis" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 1:43 PM
Subject: Help with getting Orion to talke to Oracle.


> I have been pulling my hair out trying to get oracle and orion to talk to
> each other.  I am sure it is a simple error, but I can't seem to find it.
> Here is my problem:
>
> I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2,
> j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip.
>
> I copied the tools.jar from the jdk into the c:\orion dir.
>
> I have taken the time to set the following ENV variables based off some
> earlier messages:
>
> J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip
> J2EE_HOME=c:\j2ee
> JAVA_HOME=c:\jdk
> PATH=(Original path);c:\jdk
>
> I tried exploding the oracle drivers in the orion/lib dir as well as the
> jre/lib/ext dir.
>
> I tried adding the oracle zip file to the library tag in the
application.xml
> like so:
>
> 
>
> I setup the data-source file like so:
>
>  class="com.evermind.sql.ConnectionDataSource"
> name="Oracle VND Driver"
> location="jdbc/vndCoreDS"
> pooled-location="jdbc/vndPooledDS"
> xa-location="jdbc/xa/vndXADS"
> ejb-location="jdbc/vndDS"
> connection-driver="oracle.jdbc.driver.OracleDriver"
> username="login"
> password="pass"
> schema="./database-schemas/oracle.xml"
> url="jdbc:oracle:thin:@machine:1521:sid"
> inactivity-timeout="120"
> />
>
> I built a simple class that looks like this to run from a remote machine:
>
> import java.sql.*;
> import javax.ejb.*;
> import javax.sql.DataSource;
> import javax.naming.*;
> import com.micronpc.db.*;
>
> public class TestConn
> {
>   Context jndiContext;
>
>   public TestConn()
>   {
> try
> {
>   jndiContext = new InitialContext();
>   DataSource ds = (DataSource)jndiContext.lookup("jdbc/vndPooledDS");
>   Connection conn = ds.getConnection();
>   Statement s = conn.createStatement();
>   String sql = "SELECT * from adv_sub_family_type";
>   ResultSet rs = s.executeQuery(sql);
>   while(rs != null && rs.next())
>   {
> System.out.println("Record:" + rs.getString(1));
>   }
> }
> catch(Exception e)
> {
>   System.out.println("Got this exception:" + e.getMessage());
>   e.printStackTrace();
> }
>   }
>
>   public static void main(String[] args)
>   {
> TestConn testConn1 = new TestConn();
>   }
> }
>
> My application-client.xml in the META-INF looks like this(although I am
not
> trying to use any of these objects yet.):
>
> 
>  Application Client 1.2//EN"
> "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">
> 
> 
> QuoteEntity
> Entity
> com.micronpc.api.configurator.QuoteEntityHome
>
> com.micronpc.api.configurator.QuoteEntityRemote
> 
> 
> ModelQuoteEntity
> Entity
>
> com.micronpc.api.configurator.ModelQuoteEntityHome
>
> com.micronpc.api.configurator.ModelQuoteEntityRemote
> 
> 
> ProfileEntity
> Entity
> com.micronpc.api.configurator.ProfileEntityHome
>
> com.micronpc.api.configurator.ProfileEntityRemote
> 
> 
>
> my jndi.properties looks like this:
>
>
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
> extFactory
> java.naming.provider.url=ormi://ejbtestbox/micron
> java.naming.security.principal=admin
> java.naming.security.credentials=123
>
> my principales file looke like this:
>
> 
>  "http://www.orionserver.com/dtds/principals.dtd">
>
> 
> 
> 
> administrators
> 
>  name="com.evermind.server.AdministrationPermission" />
> 
> 
> guests
> 
> 
> users
> 
>  name="com.evermind.server.rmi.RMIPermission" />
> 
> 
> 
> 
> The default administrator
> 
> 
> 
> 
> 
> The default user
> 
> 
> 
> 
> The default guest/anonyomous
> user
> 
> 
> 
> 
>
> if I try to make a connection with a standalone app on the machine it
works
> fine.  If I try to go through orion I get the following errors.
>
> if I try it as vndPooledDS or vndCoreDS I get the following error:
>
> Got this exception:No suitable driver java.sql.SQLException: No suitable
> driver at java.sql.DriverManager.getConnection(DriverManager.java:477)
> at java.sql.DriverManager.getConnection(DriverManager.java:137) at
> com.evermind.sql.DriverManagerDataSource.getConnection(JAX) at
>
com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConnection(J
> AX) at com.evermind.sql.OrionPooledDataSource.eh(JAX) at
> com.evermind.sql.OrionPooledDataSource.d3(JAX, Compiled Code) at
> com.evermind.sql.OrionPooledDataSource.getConnection(JAX, Compiled Code)
> at TestConn.(TestConn.java, Compiled Code) at
> TestConn.main(TestConn.java:44)
>
> if I try it as vndDS I get the following error:
>
> Got this exception:null java.lang.NullPointerException at
> com.evermind.sql.OrionPooledDataSource.d2(JAX, Compiled Code) at
> com.evermind.sql.OrionPooledDataSource.d3(JAX, Compiled Code) at
> com.evermind.sql.ai.ek(

Re: Lookup with orion.jar

2000-10-19 Thread Al Fogleson

To perform a lookup you need the classes of those beans you are going to
lookup, and the jndi classes, and related superclasses. I dont know as there
are any superclasses you need but you would need the JNDI classes, and some
javax.rmi classes since you have to use PortableRemoteobject.Narrow(). You
could feasibly put all those in a jar file with the applet.

Ill give a caveat to this as I have not attempted a lookup from an applet.
We use an N-tier structure, and calling beans from an applet would be client
server. Can you possibly call a servlet from the applet and allow the
servlet to do the bean work? IMHO thats a better architecture. :)

Al

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 1:08 PM
Subject: Lookup with orion.jar


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Is it possible to do a JNDI lookup from an applet or stand-alone
> client against Orion, without using files from orion.jar? Or is the
> whole 2 MB file necessary to do this?
>
> Any help will be greatly appreciated.
>
> Yours,
> Christian Tellefsen
>
>
> -BEGIN PGP SIGNATURE-
> Version: PGP Personal Privacy 6.5.8
>
> iQA/AwUBOe8cjCZr3JnfcXIbEQLgZgCfazFp9mDbmI6AS6cmmmG6nJbvNz8AoI20
> QCCIdRERk+zGcGjoNgIxaIzz
> =3B7A
> -END PGP SIGNATURE-
>





RE: EJB Help..

2000-10-19 Thread Juan Lorandi (Chile)

I acomplish this by simply:

Creating a directory (in orion\applications) with the same name than the ear
(directory: Test.ear)
then there I put the contents of my .ear, then repeat the process for
ejb-jar and war files...

then, simply put your updated classes there(below your ejb-jar dir, like say
orion\applications\Test.ear\ejb-jar-ic.jar
to update the descriptor, use earassembler and open your .ear dir within
orion\applications.

Works great for me!

HTH,

JP

-Original Message-
From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 19 de Octubre de 2000 16:37
To: Orion-Interest
Subject: EJB Help..


Hi all,

I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle of always having to package the ejb classes into a
.jar file, and so on. Is there any way at all to develop and deploy ejbs
using an expanded dir structure, much like in the development of a .war
file..where you have the whole www dir, WEB-INF, etc expanded..but then jar
it up and rename it to .war for deployment? It seems rather tedious on ejb
development every time a change is made, the whole thing has to be
repackaged and deployed. I know there are some tools, such as JBuilder,
VisualCafe, etc that do this for you somewhat nicely..but even those take a
little bit of time to do it. So, for the purposes of development, where many
changes are happening on any regular basis, how can I quickly develop and
test ejb, with Orion, or any app server for that matter. I do want the
ability for the context.lookup() call to work. The reason is..I have two
computers, networked. I want to develop the ejbs on one computer, and have
my www stuff on the other hitting them over the network so that i can get
some kind of feel of the performance. I have a 4-way switch, so I can
develop www stuff, then switch over to the other computer and do some ejb
stuff. I will run one instance of Orion on each computer. However, I don't
mind also being able to run www and ejb stuff in the same on instance on one
computer, as long as the lookup stuff is used the same way, even though the
ejb's are running locally.

Any pointers on how to set up Orion to do this, including the
application.xml  tag (how to point it to the right place instead of
the ejb.jar file, for example so that the ejbs will get picked up by the
server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be
done to get this to work.

Thanks so much for any help.




Fw: Creating 2 Web-sites hosted from orion [V.Newbie]

2000-10-19 Thread Aaron Scott-Boddendijk

I joined the list posted this message but never got any replies or the round trip...


I'm now retrieving plenty of messages indicating at a rate that indicates I might
have missed any replies...


Please contact me off list if this has already been answered...

- Original Message - 
> I installed Orion - works great... but...
> 
> I have been asked to create an intranet site (intranet.intaz.co.nz) and
> a dev site (dev.intaz.co.nz) hosted on the same machine (WinNT4).
> 
> I got the initial site (dev.intaz.co.nz) working via client DNS search entry
> and an entry in the servers hosts file... Replaced the default-web-site
> folder
> contents with our intranet (that was living as a file:// based set of
> pages)...
> Works great...
> 
> Now I have to put the dev site in for JSP/Servelet and EJB development...
> 
> a) What do I have to change in NT to make the virtual host. (2 domains, 1
> IP#)
> b) is the 'node' entry in the 'server.xml' and a second
> 'default-web-app.xml' file
> (with their respective 'virtual-hosts="blah.intaz.co.nz"' entries) all I
> need for the
> orion side of things?
> 
> --
> Aaron Scott-Boddendijk
> INTAZ Limited
> +64 7 838 3371 Voice
> +64 7 838 3372 Fax






Orion in production

2000-10-19 Thread Juan Lorandi (Chile)

Hi!

I have been using orion for about 6 months now, and now, as I'm finishing my
app, I need to sell orion to my customers...
For this, it would be *VERY* valuable to have a list of sites (on the
internet or intranets) which use orion...

So, basically, what I have in mind is that anybody on this list that wishes
to report a site as being partiallly/fully powered by orion,
report it to my email address, [EMAIL PROTECTED], so that I can make a list
of these, to publish it on WWW

I think this will prove useful for us all.

TIA,

JP




Re: EJB Help..

2000-10-19 Thread Joel Shellman

We actually don't have any jar files at all for our EJBs. They are just in
the classpath (I think we have a library path="classpath" somewhere that
points to the class files). The module tag, I think can just point to a
directory.

-joel shellman

> Hi all,
>
> I am trying my hand at EJB with Orion, and I am wondering if there is any
> way to avoid the hassle of always having to package the ejb classes into a
> .jar file, and so on. Is there any way at all to develop and deploy ejbs
> using an expanded dir structure, much like in the development of a .war
> file..where you have the whole www dir, WEB-INF, etc expanded..but then
jar
> it up and rename it to .war for deployment? It seems rather tedious on ejb
> development every time a change is made, the whole thing has to be
> repackaged and deployed. I know there are some tools, such as JBuilder,
> VisualCafe, etc that do this for you somewhat nicely..but even those take
a
> little bit of time to do it. So, for the purposes of development, where
many
> changes are happening on any regular basis, how can I quickly develop and
> test ejb, with Orion, or any app server for that matter. I do want the
> ability for the context.lookup() call to work. The reason is..I have two
> computers, networked. I want to develop the ejbs on one computer, and have
> my www stuff on the other hitting them over the network so that i can get
> some kind of feel of the performance. I have a 4-way switch, so I can
> develop www stuff, then switch over to the other computer and do some ejb
> stuff. I will run one instance of Orion on each computer. However, I don't
> mind also being able to run www and ejb stuff in the same on instance on
one
> computer, as long as the lookup stuff is used the same way, even though
the
> ejb's are running locally.
>
> Any pointers on how to set up Orion to do this, including the
> application.xml  tag (how to point it to the right place instead
of
> the ejb.jar file, for example so that the ejbs will get picked up by the
> server), web.xml, orion-web.xml, server.xml, etc..anything that needs to
be
> done to get this to work.
>
> Thanks so much for any help.
>
>





Re: Question

2000-10-19 Thread APapada


Thank you very much for the reply.  If I were to start orion as an nt
service though, where there would be no console, would it go to a specific
log?

Thanks,
Andy





RE: ALTERNATIVES TO JDK1.3

2000-10-19 Thread Juan Lorandi (Chile)

Tried IBM's jdk? jikes? on the other hand, there MAY be some issues using
these compilers...

-Original Message-
From: David Sierra Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 19 de Octubre de 2000 15:52
To: Orion-Interest
Subject: ALTERNATIVES TO JDK1.3



Could you tell me if there is an alternative compiler to jdk 1.3?
I'm looking for other compilers but they should compile all my
middleware components (servlets, JSPs,EJBs,JavaBeans) 

TIA

 -- Sierr@ --





EJB Help..

2000-10-19 Thread Duffey, Kevin

Hi all,

I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle of always having to package the ejb classes into a
.jar file, and so on. Is there any way at all to develop and deploy ejbs
using an expanded dir structure, much like in the development of a .war
file..where you have the whole www dir, WEB-INF, etc expanded..but then jar
it up and rename it to .war for deployment? It seems rather tedious on ejb
development every time a change is made, the whole thing has to be
repackaged and deployed. I know there are some tools, such as JBuilder,
VisualCafe, etc that do this for you somewhat nicely..but even those take a
little bit of time to do it. So, for the purposes of development, where many
changes are happening on any regular basis, how can I quickly develop and
test ejb, with Orion, or any app server for that matter. I do want the
ability for the context.lookup() call to work. The reason is..I have two
computers, networked. I want to develop the ejbs on one computer, and have
my www stuff on the other hitting them over the network so that i can get
some kind of feel of the performance. I have a 4-way switch, so I can
develop www stuff, then switch over to the other computer and do some ejb
stuff. I will run one instance of Orion on each computer. However, I don't
mind also being able to run www and ejb stuff in the same on instance on one
computer, as long as the lookup stuff is used the same way, even though the
ejb's are running locally.

Any pointers on how to set up Orion to do this, including the
application.xml  tag (how to point it to the right place instead of
the ejb.jar file, for example so that the ejbs will get picked up by the
server), web.xml, orion-web.xml, server.xml, etc..anything that needs to be
done to get this to work.

Thanks so much for any help.




No Subject

2000-10-19 Thread kung

Sorry, this is just a testing of how to post message here. 




No Subject

2000-10-19 Thread kung

Sorry, this is just a testing of how to post message here. 




ALTERNATIVES TO JDK1.3

2000-10-19 Thread David Sierra Fernandez


Could you tell me if there is an alternative compiler to jdk 1.3?
I'm looking for other compilers but they should compile all my
middleware components (servlets, JSPs,EJBs,JavaBeans) 

TIA

 -- Sierr@ --





Orion can't find my jar file for my servlet....!

2000-10-19 Thread Keith Kwiatek

Hello,

I loaded a new servlet of mine into the "classes" directory this new
servlet needed a jar file, which I put into the ./orion/lib directory  (as
well in the ./orion  and ./classes) ... all seemed to be fine. The servlet
worked great for a long time. BUT I then I started to get the errors below.
I am pretty sure I didn't touch a thing configuration wise. All I had been
doing was recompiling my servlet code. Now it seems it can' t find the jar
file??!!! The other example servlets still run fine. Any ideas?


500 Internal Server Error
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable. at
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java, Compiled Code) at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled
Code) at java.awt.Font.(Font.java, Compiled Code) at
javachart.chart.Gc.(Gc.java:74) at
javachart.chart.Plotarea.(Plotarea.java, Compiled Code) at
javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at
javachart.chart.Chart.(Chart.java, Compiled Code) at
javachart.chart.BarChart.(BarChart.java, Compiled Code) at
javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
MagicServlet.doGet(MagicServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code

ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET:

500 Internal Server Error
java.lang.NoClassDefFoundError: javachart/chart/Gc at
javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at
javachart.chart.Chart.(Chart.java, Compiled Code) at
javachart.chart.PieChart.(PieChart.java, Compiled Code) at
javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
m.doGet(m.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code)







RE:[Re: 2 many messages - News Server needed. - Or we could split]

2000-10-19 Thread KirkYarina

At 07:03 PM 10/19/00 +0200, you wrote:
>At 12:23 19.10.00 , you wrote:
>
>>
>>BTW, ejb-interest seems to have died after some clueless idiot started 
>>resending the last couple month's posts back to the list.
>
>unbelievable

It may not be cause and effect...  or it may be somebody at Sun's gotten 
disgusted and turned it off for a while.

At least it's cut down on the "Urgent: I installed weblogic and it doesn't 
work" emails.


>(-) Robert Krüger





RE: JSP char code

2000-10-19 Thread houyunf

To be more specific, all the Chinese characters create dynamically are all right, like 
get property tag, or just within out.println. What cause the problem is the characters 
static in the JSP file. Thanks.

Hou Yunfeng
__

==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä 
http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/




Orion as Root on Solaris

2000-10-19 Thread Lorin Kobashigawa

Here's one of the threads, 
http://www.mail-archive.com/orion-interest@orionserver.com/msg04237.html

Basically, as i understand it the upshot was, there are 3 ways to do it.  

*Use JNDI code to switch the user of your JVM,
 see: http://www.orionsupport.com/articles/users.html

*install ipfilter for solaris to redirect 8080 or something to 80, 
 see: http://coombs.anu.edu.au/ipfilter/

*use an external box to redirect.  any firewall with NAT or a BSD or Linux box
 should be able to handle the job, and it doesn't hurt to have a firewall
anyway.



-Lkb
At 09:44 AM 10/19/00 -0500, Kemp Randy-W18971 wrote:
>When I asked the question if Orion server processes can be run as someone
other then root (under Solaris) and how, one reply mentioned that there was
a big discussion regarding this question, and to check the archive files.
I have done that but couldn't find the discussion.  Can anyone point me to
where I can find the archive file entry discussing this question before I
brought it up again?
>
>


/** 
 * @author: Lorin Kobashigawa-Bates <[EMAIL PROTECTED]>
 * @title:  CodeMonkey / COO - Robot6 Inc. 
 * @phone:  415.345.8872
 * @addr:   1177 Polk St. San Francisco, CA 94109
 */




Re: Question

2000-10-19 Thread Ismael Blesa Part

System.out and System.err are sent to the console from where the server has
been launched.

[EMAIL PROTECTED] wrote:

> What is the default error log on Orion.  For example, if I user
> 'System.err.println', where is this going to.  Do I need to initialize this
> through the System class or does Orion default it somewhere.
>
> Thanks,
> Andy





Re: Shutdown sequence not working

2000-10-19 Thread Ismael Blesa Part

Hi Drew,

you should edit principals.xml and enable user admin. Your command is fine,
atleast it works for me.
But I have found a problem with this command on Unix with J2SE 13. It kills the
server but not the process , then you cannot restart the orion server.

Drew Kidder wrote:

> I am a new Orion user, and have been studying the mail archives and
> documentation trying to get this thing figured out.  One of my main
> concerns was that I did not know how to shut Orion down gracefully.  I read
> the bit about using
>
> java -jar admin.jar ormi://localhost/ admin 123abc -shutdown
>
> but that does not work for me.  I get an error saying that there are not
> enough arguments, and then I get a usage message.  When I look at the usage
> message, my command appears to be correct.  What is the problem here???  I
> have even put the full name of the rmi server, along with the port, but
> that does not work either.
>
> Also, what is the default document root for Orion?  For example, with
> apache, it's $APACHE_HOME/htdocs.  What's the standard root for Orion? I
> tried setting the document-root tag in my orion-web.xml file, but that
> munged everything up...
>
> Any and all help would be appreciated.
>
> --
> Andrew Kidder
> L3 SW/Support Engineer, IBU
> Tivoli Systems
>
> 512-436-4544
> [EMAIL PROTECTED]
> http://www.tivoli.com





RE: support EJB2.0 or not?

2000-10-19 Thread Tim Drury


bing bing bing!!!  you got it right Jeff.  Everything compiles
and runs fine now except when I call createAddress() on my EJB
to create my Address dependent object, an exception is thrown
that the method is not found.  I'll figure that out soon, but
what worries me is that part of the ejb got stored (everything
up to the Address).  Why is that?  Do I have to explicitly start
and stop the transaction for a rollback to occur?  Surely not.
This is odd...

-tim


> -Original Message-
> From: Jeff Schnitzer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 1:13 AM
> To: Orion-Interest
> Subject: RE: support EJB2.0 or not?
> 
> 
> No, you don't need to specify the new DOCTYPE.  I haven't, and I'm
> making extensive use of EJB2.0 beans.
> 
> Tim, you probably are missing something important in the deployment
> descriptor.  It's hard to say what without seeing it.  Do you have
> 
>  2.x 
> 
> in your  block?  You should post your descriptor if you would
> like further help.
> 
> Jeff
> 
> > -Original Message-
> > From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 18, 2000 4:59 PM
> > To: Orion-Interest
> > Subject: RE: support EJB2.0 or not?
> > 
> > 
> > I believe the difference is in which dtd you specify in the 
> deployment
> > descriptor DOCTYPE
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Tim Drury
> > > Sent: Wednesday, October 18, 2000 5:21 PM
> > > To: Orion-Interest
> > > Subject: RE: support EJB2.0 or not?
> > >
> > >
> > >
> > > My guess is the Orion is assuming my EJB is a 1.1 entity
> > > bean.  What tell Orion that the bean is a 2.0 bean?
> > > Perhaps that is where my mistake lies.
> > >
> > > -tim
> > >
> > >
> > > > -Original Message-
> > > > From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, October 18, 2000 3:28 PM
> > > > To: Orion-Interest
> > > > Subject: RE: support EJB2.0 or not?
> > > >
> > > >
> > > > You need to examine your deployment descriptor and
> > > > class/interface defs ..
> > > > there are lots of rules to follow, and they're easy to miss.
> > > > I have CMP
> > > > beans and dependent objects in various types of relationships
> > > > all running
> > > > just fine, but I've spent many an hour trying to find
> > > > mistakes evidenced by
> > > > errors such as yours. Go through the contract in section 9 of
> > > > the spec, and
> > > > assume nothing  :)
> > > >
> > > > (I wish I could remember just which mistake it was that
> > > > caused that problem,
> > > > but I cant)
> > > >
> > > > jd
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED]]On Behalf 
> > Of Tim Drury
> > > > > Sent: Wednesday, October 18, 2000 12:18 PM
> > > > > To: Orion-Interest
> > > > > Subject: support EJB2.0 or not?
> > > > >
> > > > >
> > > > >
> > > > > When I try to write a 2.0 compliant entity bean:
> > > > >
> > > > > public abstract class ContactBean implement EntityBean
> > > > > {
> > > > >public abstract void setName(String s);
> > > > >public abstract String getName();
> > > > >...
> > > > >
> > > > > }
> > > > >
> > > > > Orion throws the error (at deployment):
> > > > >
> > > > > ... Bean class com.tfc.ejb.ContactBean must not be declared
> > > > > abstract
> > > > >
> > > > > So what did I do wrong?  Does Orion 1.3.8 or 1.4.0 support
> > > > > EJB 2.0 entity beans like the web page advertises or not?
> > > > >
> > > > > -tim
> > > >
> > > >
> > 
> > 
> > 
> 




RE: I hate "guest"

2000-10-19 Thread Russ White

have a session bean create the account entity based on parameters. Then the user
need not directly create the ejb. You could have another class that is operating
in another role do that.
HTH
Russ
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Schnitzer
> Sent: Thursday, October 19, 2000 6:05 AM
> To: Orion-Interest
> Subject: I hate "guest"
>
>
> Some variant of this has got to be one of the top five questions asked
> on this list, and it has never been answered.  I really, really, really
> need a simple answer:
>
> How do I assign security roles to "guest"?  Is it even possible?
>
> No matter what I put in the various principals.xml files (and believe
> me, I've tried just about everything) I can't seem to allow the
> unauthenticated user to call an EJB method.  It's driving me insane.  My
> girlfriend tells me that while sleeping I thrash about mumbilng
> "com.evermind.server.rmi.OrionRemoteException: guest is not allowed to
> call this EJB method..."  I'm not by nature a violent person, but if I
> ever meet this "guest", I'm going to reach out and throttle him :-)
>
> I have a reasonably straightforward system which represents users as
> entity beans and allows anyone to connect to the system and create an
> account.  Thus, there must be a moment in time when the user must
> interact with the EJB system to create the entity bean *before* he or
> she can be logged in.  I want to grant "guest" access to a single method
> on a single session bean.  Why can't I seem to do this?  I can't imagine
> that this pattern has not been implemented a bazillion times already.
>
> I was able to get everything working before by commenting all
> security-related material out of my EJBs' deployment descriptors (thus
> leaving the system wide open).  Now I'm ready to put security back into
> the system, but the web-application  tag doesn't seem to be
> implemented yet.  So I want to give a limited security role to "guest".
> Heeelp!
>
> Thanks,
> Jeff Schnitzer
> [EMAIL PROTECTED] 
>
>





Re: Question

2000-10-19 Thread Sarathy Mattaparti

It'll print on console
Sarathy

>
>What is the default error log on Orion.  For example, if I user
>'System.err.println', where is this going to.  Do I need to initialize this
>through the System class or does Orion default it somewhere.
>
>Thanks,
>Andy
>
>

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





Help with getting Orion to talke to Oracle.

2000-10-19 Thread J Davis

I have been pulling my hair out trying to get oracle and orion to talk to
each other.  I am sure it is a simple error, but I can't seem to find it.
Here is my problem:

I have installed orion 1.3.8 on a Windows 2000 server with jdk1.2.2,
j2ee1.2.1, jre1.2.2 and oracle8idrivers12_01.zip.  

I copied the tools.jar from the jdk into the c:\orion dir.

I have taken the time to set the following ENV variables based off some
earlier messages:

J2EE_CLASSPATH=c:\orion\lib\oracle8idrivers12_01.zip
J2EE_HOME=c:\j2ee
JAVA_HOME=c:\jdk
PATH=(Original path);c:\jdk

I tried exploding the oracle drivers in the orion/lib dir as well as the
jre/lib/ext dir.

I tried adding the oracle zip file to the library tag in the application.xml
like so:



I setup the data-source file like so:



I built a simple class that looks like this to run from a remote machine:

import java.sql.*;
import javax.ejb.*;
import javax.sql.DataSource;
import javax.naming.*;
import com.micronpc.db.*;

public class TestConn
{
  Context jndiContext;

  public TestConn()
  {
try
{
  jndiContext = new InitialContext();
  DataSource ds = (DataSource)jndiContext.lookup("jdbc/vndPooledDS");
  Connection conn = ds.getConnection();
  Statement s = conn.createStatement();
  String sql = "SELECT * from adv_sub_family_type";
  ResultSet rs = s.executeQuery(sql);
  while(rs != null && rs.next())
  {
System.out.println("Record:" + rs.getString(1));
  }
}
catch(Exception e)
{
  System.out.println("Got this exception:" + e.getMessage());
  e.printStackTrace();
}
  }

  public static void main(String[] args)
  {
TestConn testConn1 = new TestConn();
  }
}

My application-client.xml in the META-INF looks like this(although I am not
trying to use any of these objects yet.):


http://java.sun.com/j2ee/dtds/application-client_1_2.dtd">


QuoteEntity
Entity
com.micronpc.api.configurator.QuoteEntityHome

com.micronpc.api.configurator.QuoteEntityRemote


ModelQuoteEntity
Entity

com.micronpc.api.configurator.ModelQuoteEntityHome

com.micronpc.api.configurator.ModelQuoteEntityRemote


ProfileEntity
Entity
com.micronpc.api.configurator.ProfileEntityHome

com.micronpc.api.configurator.ProfileEntityRemote



my jndi.properties looks like this:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
extFactory
java.naming.provider.url=ormi://ejbtestbox/micron
java.naming.security.principal=admin
java.naming.security.credentials=123

my principales file looke like this:


http://www.orionserver.com/dtds/principals.dtd">




administrators




guests


users






The default administrator





The default user




The default guest/anonyomous
user





if I try to make a connection with a standalone app on the machine it works
fine.  If I try to go through orion I get the following errors.

if I try it as vndPooledDS or vndCoreDS I get the following error:

Got this exception:No suitable driver java.sql.SQLException: No suitable
driver  at java.sql.DriverManager.getConnection(DriverManager.java:477)
at java.sql.DriverManager.getConnection(DriverManager.java:137) at
com.evermind.sql.DriverManagerDataSource.getConnection(JAX) at
com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConnection(J
AX) at com.evermind.sql.OrionPooledDataSource.eh(JAX)   at
com.evermind.sql.OrionPooledDataSource.d3(JAX, Compiled Code)   at
com.evermind.sql.OrionPooledDataSource.getConnection(JAX, Compiled Code)
at TestConn.(TestConn.java, Compiled Code)at
TestConn.main(TestConn.java:44) 

if I try it as vndDS I get the following error:

Got this exception:null java.lang.NullPointerException  at
com.evermind.sql.OrionPooledDataSource.d2(JAX, Compiled Code)   at
com.evermind.sql.OrionPooledDataSource.d3(JAX, Compiled Code)   at
com.evermind.sql.ai.ek(JAX) at com.evermind.sql.ai.em(JAX)  at
com.evermind.sql.an.createStatement(JAX)at
TestConn.(TestConn.java, Compiled Code)   at
TestConn.main(TestConn.java:44) 

These exceptions were thrown running the client app from a remote machine.
I also tried the same app on the same machine with a seperate VM.

Servlet problems....

2000-10-19 Thread Keith Kwiatek

Hello,

I loaded a new servlet of mine into the "classes" directory this new
servlet needed a jar file, which I put into the ./orion/lib directory  (as
well in the ./orion  and ./classes) ... all seemed to be fine. The servlet
worked great for a long time. BUT I then I started to get the errors below.
I am pretty sure I didn't touch a thing configuration wise. All I had been
doing was recompiling my servlet code. Now it seems it can' t find the jar
file??!!! The other example servlets still run fine. Any ideas?


500 Internal Server Error
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable. at
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java, Compiled Code) at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled
Code) at java.awt.Font.(Font.java, Compiled Code) at
javachart.chart.Gc.(Gc.java:74) at
javachart.chart.Plotarea.(Plotarea.java, Compiled Code) at
javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at
javachart.chart.Chart.(Chart.java, Compiled Code) at
javachart.chart.BarChart.(BarChart.java, Compiled Code) at
javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
MagicServlet.doGet(MagicServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code

ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET:

500 Internal Server Error
java.lang.NoClassDefFoundError: javachart/chart/Gc at
javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at
javachart.chart.Chart.(Chart.java, Compiled Code) at
javachart.chart.PieChart.(PieChart.java, Compiled Code) at
javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
m.doGet(m.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code)






RE: support EJB2.0 or not?

2000-10-19 Thread Tim Drury


That's what I thought, but I cannot find the ejb2 DTD.
Can you point me in the right direction?

-tim

> -Original Message-
> From: Reddy Krishnan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 6:51 PM
> To: Orion-Interest
> Subject: RE: support EJB2.0 or not?
> 
> 
> 
> you will have to change the DOCTYPE in ejb-jar.xml file to 
> point to ejb2 dtd.
> -Original Message-
> From: Tim Drury [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 2:21 PM
> To: Orion-Interest
> Subject: RE: support EJB2.0 or not?
> 
> 
> 
> My guess is the Orion is assuming my EJB is a 1.1 entity
> bean.  What tell Orion that the bean is a 2.0 bean?
> Perhaps that is where my mistake lies.
> 
> -tim
> 
> 
> > -Original Message-
> > From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 18, 2000 3:28 PM
> > To: Orion-Interest
> > Subject: RE: support EJB2.0 or not?
> > 
> > 
> > You need to examine your deployment descriptor and 
> > class/interface defs ..
> > there are lots of rules to follow, and they're easy to miss. 
> > I have CMP
> > beans and dependent objects in various types of relationships 
> > all running
> > just fine, but I've spent many an hour trying to find 
> > mistakes evidenced by
> > errors such as yours. Go through the contract in section 9 of 
> > the spec, and
> > assume nothing  :)
> > 
> > (I wish I could remember just which mistake it was that 
> > caused that problem,
> > but I cant)
> > 
> > jd
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Tim Drury
> > > Sent: Wednesday, October 18, 2000 12:18 PM
> > > To: Orion-Interest
> > > Subject: support EJB2.0 or not?
> > >
> > >
> > >
> > > When I try to write a 2.0 compliant entity bean:
> > >
> > > public abstract class ContactBean implement EntityBean
> > > {
> > >public abstract void setName(String s);
> > >public abstract String getName();
> > >...
> > >
> > > }
> > >
> > > Orion throws the error (at deployment):
> > >
> > > ... Bean class com.tfc.ejb.ContactBean must not be declared
> > > abstract
> > >
> > > So what did I do wrong?  Does Orion 1.3.8 or 1.4.0 support
> > > EJB 2.0 entity beans like the web page advertises or not?
> > >
> > > -tim
> > 
> > 
> 




Lookup with orion.jar

2000-10-19 Thread Christian . Tellefsen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is it possible to do a JNDI lookup from an applet or stand-alone
client against Orion, without using files from orion.jar? Or is the
whole 2 MB file necessary to do this?

Any help will be greatly appreciated.

Yours,
Christian Tellefsen


-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8

iQA/AwUBOe8cjCZr3JnfcXIbEQLgZgCfazFp9mDbmI6AS6cmmmG6nJbvNz8AoI20
QCCIdRERk+zGcGjoNgIxaIzz
=3B7A
-END PGP SIGNATURE-




RE:[Re: 2 many messages - News Server needed. - Or we could split]

2000-10-19 Thread Robert Krueger

At 12:23 19.10.00 , you wrote:
>I vote for email...
>



>Besides, the Orion team's resources would be much better spent on 
>documentation.  Otherwise they're going to fail

or the list of open bug reports for that matter. getting new users up to 
speed is one thing but delivering paying customers a working rock stable 
product is the basis for everything. of course this has nothing to do with 
my personal situation as a paying customer with a few applications in 
production use ;-).

robert

>and this list won't matter anyway.
>
>Kirk
>
>BTW, ejb-interest seems to have died after some clueless idiot started 
>resending the last couple month's posts back to the list.

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





RE: JBuilder + Orion

2000-10-19 Thread ALLEN FOGLESON

 Professional and enterprise actually. :)


-Original Message-
From: Christian Sell
To: Orion-Interest
Sent: 10/19/00 7:29 AM
Subject: Re: JBuilder + Orion

However, JPDA is only available with the professional (non-free) version
of
JBuilder

-Original Message-
From: Russ White <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Mittwoch, 18. Oktober 2000 22:18
Subject: RE: JBuilder + Orion


>Probably because together is stepping on your system properties.
>JPDA debugging is much easier.
>When I develop with TogetherJ I use JBuilder to do my debugging(But you
could
>use many other tools). I have a JBuilder project that includes the
Together
>project. Then I can debug using the JPDA. Very slick.
>BTW Together rocks, but I have never tried using JPDA directly with it.
I
will
>have to investigate that. If I find a way I will post it.
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
>> Pontbriand
>> Sent: Wednesday, October 18, 2000 10:45 AM
>> To: Orion-Interest
>> Subject: Re: JBuilder + Orion
>>
>>
>> > - Original Message -
>> >
>> > And for what it's worth, setting up JProbe to run Orion is about as
>> > simple...
>> >
>> > Arved Sandstrom
>> >
>> >> -Original Message-
>> >>
>> >> - Adding orion.jar and ejb.jar to the required libraries of the
project
>> >> properties 'paths' tab.
>> >> - Setting the main class to
'com.evermind.server.ApplicationServer'
and
>> >> the VM parameters to '-Duser.dir=c:\orion' on the 'run' tab.
>> >>
>> >> Sven E. van 't Veer
>>
>> Unfortunately, when set up pretty much exactly as mentioned but in
Together
>> 4.1 (www.togethersoft.com), Orion chokes thusly:
>>
>> com.canlink.components.services.ProducerServicesException: catalog
creation
>> failed: Database error: File input/output error:
>> ./database/defaultdb.properties; nested exception is:
>>  java.sql.SQLException: File input/output error:
>> ./database/defaultdb.properties;
>>  ---> nested com.evermind.server.rmi.OrionRemoteException: Database
error:
>> File input/output error: ./database/defaultdb.properties; nested
exception
>> is:
>>  java.sql.SQLException: File input/output error:
>> ./database/defaultdb.properties
>>  at
>>
ProducerServices_StatelessSessionBeanWrapper3.createCatalog(ProducerServ
ices
>> _StatelessSessionBeanWrapper3.java:92)
>>  at
>>
com.canlink.catalog.CreateCatalogAction.perform(CreateCatalogAction.java
:62)
>>  at
>>
org.apache.struts.action.ActionServlet.processActionInstance(ActionServl
et.j
>> ava:794)
>>  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:702)
>>  at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:332)
>>  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.d3.so(JAX)
>>  at com.evermind.server.http.d3.sm(JAX)
>>  at com.evermind.server.http.ef.su(JAX)
>>  at com.evermind.server.http.ef.dn(JAX)
>>  at com.evermind.util.f.run(JAX)
>>
>> The '-Duser.dir=c:\orion' JVM argument is set correctly and the
>> defaultdb.properties file is in the right place and perfectly usable
to
>> Orion when it is run outside of Together.
>>
>> Any ideas as to why this happens only when Orion is run within
Together?
>>
>> P.Pontbriand
>> Canlink Interactive Technologies
>>
>>
>>
>>
>
>





RE:[Re: 2 many messages - News Server needed. - Or we could split]

2000-10-19 Thread KirkYarina

I vote for email...

IMHO, If you work for a company that doesn't have email and a POP or IMAP 
server then perhaps you should work on that instead.  If it does you should 
be using your work email address, rather than a personal domain, if your 
Orion use is work related.

It looks like you're running your polozoff.com mail server off an AT&T DSL 
connection; consider using procmail or something similar to forward a copy 
of orion-interest mail to your work email address.

Configuring and running a news server (been there) isn't as easy as it 
might seem, particularly if you're concerned about security, the periodic 
news DOS attacks, spam, etc.  If the newsgroup is publicly fed, or the 
spammers stumble across the server (they will),  you're broadcasting all 
our addresses out to the spammer community.

Besides, the Orion team's resources would be much better spent on 
documentation.  Otherwise they're going to fail and this list won't matter 
anyway.

Kirk

BTW, ejb-interest seems to have died after some clueless idiot started 
resending the last couple month's posts back to the list.

At 10:01 AM 10/19/00 -0500, you wrote:
>I don't agree.  A newsgroup is a better way of categorizing topics.  If
>you don't believe me take a look at the Weblogic and Toplink newsgroups.
>Mailing lists are good for simple discussions.  Filtering emails is not a
>reasonable solution for topical categorization of messages.  Especially if
>you have to use a web based email client at work (because of a firewall)
>and have a stand alone client at home.  Whereas a newsgroup always
>contains a set hierarchy, whether you access from deja.com or a stand
>alone client.
>
>-Alexandre
>
>On Thu, 19 Oct 2000 09:53:00 +0200
>Robert Krueger <[EMAIL PROTECTED]> wrote:
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>- - -
>
>Could not agree more. don't any of you subscribe to other tech lists? I'm
>surprised that there are people using orion that are not subscribed to
>ejb-interest (excellent list and a must for people working with ejb
>professionally IMHO) which has at least as much traffic as this one here.
>Please learn how to use a mail client with filters and let's deal with a
>high volume as soon as there is something to deal with and let's not start
>a religious war on newgroup vs. mailingl ist (I'm pro mailing list btw
>;-)). the negative side effects (people not knowing where to look,
>crossposting etc.) would clearly outweight the benefits of splitting up
>the
>list IMHO.
>
>robert
>
>At 19:21 18.10.00 , you wrote:
> >IMO, the mailing list is just fine. If there are too many messages for
>your
> >inbox, then you should filter it away. All the popular mail clients will
> >handle this.



> >--
> >David S. Kenzik
> >[EMAIL PROTECTED] - http://kenzik.com
> >Original Music - http://mp3.com/text
> >
> >
> >   Joseph B. Ottinger said...
> >
> >  > It's quite feasible for me to set up a news server (nntp, usenet
>style) on
> >  > my server if that's a viable solution. It'll take me a little bit of
>time,
> >  > as I'm not exactly familiar with running INN, but I can figure it
>out.
> >  >
> >  > On Wed, 18 Oct 2000, Duffey, Kevin wrote:
> >  >
> >  > > I would agree too. I think if you split the list into ejb and web,
> > it might



> >  > > > -Original Message-
> >  > > > From: Miles Daffin [mailto:[EMAIL PROTECTED]]
> >  > > > Sent: Wednesday, October 18, 2000 9:51 AM
> >  > > > To: Orion-Interest
> >  > > > Subject: Re: 2 many messages - News Server needed. - Or we could
>split
> >  > > > the list
> >  > > >
> >  > > >
> >  > > >
> >  > > > > Actually, I think the mail list is fine. I use a filter to
> >  > > > move these
> >  > > > > messages into their own folder.
> >  > > >
> >  > > > Good idea.



> >  >
> >  > ---
> >  > Joseph B. Ottinger   [EMAIL PROTECTED]
>
>(-) Robert Krüger


Kirk Yarina
[EMAIL PROTECTED]





Problem with applets

2000-10-19 Thread Christian . Tellefsen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We currently have a problem using Orion with applets on both IE and
Netscape (JRE 1.3.0-C).

If we, without exiting the browser, 

1. Start an applet which does a JNDI lookup
2. Close the browser window containing the applet
3. Start the applet again,

then all of these occur:

a) Java Plug-in hangs
b) IE hangs / Netscape refuses to show the applet

If we attempt to do this on an applet with the JNDI lookup removed,
everything works fine.

We are wondering, has anyone else tried to use Applets with Orion?
Did you experience the same problems we have, or did it work fine? 

We are not sure if there is some problem with our setup or whether
there is a problem in orion.jar. BTW our applet EMBED has
ARCHIVE=orion.jar, and uses Orion's classes to do the lookup.

Any help will be greatly appreciated! We are kind of stuck!

yours,
Christian Tellefsen


-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8

iQA/AwUBOe8PISZr3JnfcXIbEQIzDwCdGshaWs5YViq+tc7wLCWkmFqWQosAn2xj
4bi/ClD0uquCrFCFbAo2sEwq
=2upp
-END PGP SIGNATURE-




Question

2000-10-19 Thread APapada

What is the default error log on Orion.  For example, if I user
'System.err.println', where is this going to.  Do I need to initialize this
through the System class or does Orion default it somewhere.

Thanks,
Andy





Re: Orion under Unix archive

2000-10-19 Thread Jochen Strunk

Hi,

try searching the archive for native.user

regards,
jochen strunk

At 09:44 19.10.2000 -0500, you wrote:
>When I asked the question if Orion server processes can be run as someone 
>other then root (under Solaris) and how, one reply mentioned that there 
>was a big discussion regarding this question, and to check the archive 
>files.  I have done that but couldn't find the discussion.  Can anyone 
>point me to where I can find the archive file entry discussing this 
>question before I brought it up again?




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





JSP char code

2000-10-19 Thread houyunf

I have JSP files with Chinese character in it, I have no problem have them run 
correctly in Tomcat, but when move them to orion, all the Chinese characters are all 
messed up. Anyone has any idea.

Yes, I have
<%@ page contentType="text/html; charset=gb2312" %>
to indicating that I am using Chinese code set in each JSP file.


Hou Yunfeng
__

==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä 
http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/




Shutdown sequence not working

2000-10-19 Thread Drew Kidder

I am a new Orion user, and have been studying the mail archives and 
documentation trying to get this thing figured out.  One of my main 
concerns was that I did not know how to shut Orion down gracefully.  I read 
the bit about using

java -jar admin.jar ormi://localhost/ admin 123abc -shutdown

but that does not work for me.  I get an error saying that there are not 
enough arguments, and then I get a usage message.  When I look at the usage 
message, my command appears to be correct.  What is the problem here???  I 
have even put the full name of the rmi server, along with the port, but 
that does not work either.

Also, what is the default document root for Orion?  For example, with 
apache, it's $APACHE_HOME/htdocs.  What's the standard root for Orion? I 
tried setting the document-root tag in my orion-web.xml file, but that 
munged everything up...

Any and all help would be appreciated.  

--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com






Re: JBuilder + Orion

2000-10-19 Thread Christian Sell

However, JPDA is only available with the professional (non-free) version of
JBuilder

-Original Message-
From: Russ White <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Mittwoch, 18. Oktober 2000 22:18
Subject: RE: JBuilder + Orion


>Probably because together is stepping on your system properties.
>JPDA debugging is much easier.
>When I develop with TogetherJ I use JBuilder to do my debugging(But you
could
>use many other tools). I have a JBuilder project that includes the Together
>project. Then I can debug using the JPDA. Very slick.
>BTW Together rocks, but I have never tried using JPDA directly with it. I
will
>have to investigate that. If I find a way I will post it.
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
>> Pontbriand
>> Sent: Wednesday, October 18, 2000 10:45 AM
>> To: Orion-Interest
>> Subject: Re: JBuilder + Orion
>>
>>
>> > - Original Message -
>> >
>> > And for what it's worth, setting up JProbe to run Orion is about as
>> > simple...
>> >
>> > Arved Sandstrom
>> >
>> >> -Original Message-
>> >>
>> >> - Adding orion.jar and ejb.jar to the required libraries of the
project
>> >> properties 'paths' tab.
>> >> - Setting the main class to 'com.evermind.server.ApplicationServer'
and
>> >> the VM parameters to '-Duser.dir=c:\orion' on the 'run' tab.
>> >>
>> >> Sven E. van 't Veer
>>
>> Unfortunately, when set up pretty much exactly as mentioned but in
Together
>> 4.1 (www.togethersoft.com), Orion chokes thusly:
>>
>> com.canlink.components.services.ProducerServicesException: catalog
creation
>> failed: Database error: File input/output error:
>> ./database/defaultdb.properties; nested exception is:
>>  java.sql.SQLException: File input/output error:
>> ./database/defaultdb.properties;
>>  ---> nested com.evermind.server.rmi.OrionRemoteException: Database
error:
>> File input/output error: ./database/defaultdb.properties; nested
exception
>> is:
>>  java.sql.SQLException: File input/output error:
>> ./database/defaultdb.properties
>>  at
>>
ProducerServices_StatelessSessionBeanWrapper3.createCatalog(ProducerServices
>> _StatelessSessionBeanWrapper3.java:92)
>>  at
>>
com.canlink.catalog.CreateCatalogAction.perform(CreateCatalogAction.java:62)
>>  at
>>
org.apache.struts.action.ActionServlet.processActionInstance(ActionServlet.j
>> ava:794)
>>  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:702)
>>  at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:332)
>>  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.d3.so(JAX)
>>  at com.evermind.server.http.d3.sm(JAX)
>>  at com.evermind.server.http.ef.su(JAX)
>>  at com.evermind.server.http.ef.dn(JAX)
>>  at com.evermind.util.f.run(JAX)
>>
>> The '-Duser.dir=c:\orion' JVM argument is set correctly and the
>> defaultdb.properties file is in the right place and perfectly usable to
>> Orion when it is run outside of Together.
>>
>> Any ideas as to why this happens only when Orion is run within Together?
>>
>> P.Pontbriand
>> Canlink Interactive Technologies
>>
>>
>>
>>
>
>





Re: userThreads + calling EJBs from outside orion.

2000-10-19 Thread Christian Sell

Jeff,

the junitee.zip on the page referenced below seems to be broken (9k size?).

-Original Message-
From: Jeff Schnitzer <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Dienstag, 17. Oktober 2000 22:57
Subject: RE: userThreads + calling EJBs from outside orion.


>Why not test from within Orion?
> 
>You might want to look at http://www.infohazard.org/junitee
>  for a testrunner, servlet, and
>tutorial for using JUnit with Orion.
> 
>If you have any trouble with the site, let me know and I'll mail you a
>copy of the zipfile.
> 
>Jeff Schnitzer
>[EMAIL PROTECTED]  
> 
>
>-Original Message-
>From: Greg Matthews [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 16, 2000 11:11 PM
>To: Orion-Interest
>Subject: userThreads + calling EJBs from outside orion.
>
>
>i'm trying to create a dos shell program that i can use to test EJB's
>running inside orion.
> 
>
> 
>
>





RE:[Re: 2 many messages - News Server needed. - Or we could split]

2000-10-19 Thread Alexandre POLOZOFF  

I don't agree.  A newsgroup is a better way of categorizing topics.  If
you don't believe me take a look at the Weblogic and Toplink newsgroups.
Mailing lists are good for simple discussions.  Filtering emails is not a
reasonable solution for topical categorization of messages.  Especially if
you have to use a web based email client at work (because of a firewall)
and have a stand alone client at home.  Whereas a newsgroup always
contains a set hierarchy, whether you access from deja.com or a stand
alone client.

-Alexandre

On Thu, 19 Oct 2000 09:53:00 +0200
   Robert Krueger <[EMAIL PROTECTED]> wrote:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

Could not agree more. don't any of you subscribe to other tech lists? I'm
surprised that there are people using orion that are not subscribed to
ejb-interest (excellent list and a must for people working with ejb
professionally IMHO) which has at least as much traffic as this one here.
Please learn how to use a mail client with filters and let's deal with a
high volume as soon as there is something to deal with and let's not start
a religious war on newgroup vs. mailingl ist (I'm pro mailing list btw
;-)). the negative side effects (people not knowing where to look,
crossposting etc.) would clearly outweight the benefits of splitting up
the
list IMHO.

robert

At 19:21 18.10.00 , you wrote:
>IMO, the mailing list is just fine. If there are too many messages for
your
>inbox, then you should filter it away. All the popular mail clients will
>handle this.
>
>I am sure I am not the only one who feels this way, nor am the only one
who
>belongs to many other special-interest lists, all delivered via email and
>filtered.
>
>I belong to roughly 40 or so development lists, some of which average
40-50
>messages a day. They happily get filtered away into their own folders.
(In
>fact, I just archived my Postfix users list from the past year-- 14,000+
>messages.)
>
>If the list does need to be split, it should be split by the Orion folks
as
>they deem necessary.
>
>Please realize however, when talking about splitting the list into
different
>development disciplines, that is no longer Orion specific, it now becomes
a
>Java app development list-- which there are already many.
>
>If someone volunteers to setup a web-based "message board" or a separate
>NNTP server, then that is their perogative. But I do believe that not
>keeping the product support channels centralized will not only confuse
the
>new users of Orion, but also be the cause of frustration trying to find
out
>which method of support is actually productive.
>
>Thanks for listening.
>
>--
>David S. Kenzik
>[EMAIL PROTECTED] - http://kenzik.com
>Original Music - http://mp3.com/text
>
>
>   Joseph B. Ottinger said...
>
>  > It's quite feasible for me to set up a news server (nntp, usenet
style) on
>  > my server if that's a viable solution. It'll take me a little bit of
time,
>  > as I'm not exactly familiar with running INN, but I can figure it
out.
>  >
>  > On Wed, 18 Oct 2000, Duffey, Kevin wrote:
>  >
>  > > I would agree too. I think if you split the list into ejb and web,
> it might
>  > > limit the traffic a bit. Also, maybe a newbie list, or possibly a
> mailing
>  > > list about how to configure Orion, set it up, install ejbs,
servlets,
>  > > applications, etc..there are a lot of questions on that front. A
> fourth (the
>  > > first three being web, ejb, and configuration/setup) would be
database
>  > > related, if possible.
>  > >
>  > >
>  > > > -Original Message-
>  > > > From: Miles Daffin [mailto:[EMAIL PROTECTED]]
>  > > > Sent: Wednesday, October 18, 2000 9:51 AM
>  > > > To: Orion-Interest
>  > > > Subject: Re: 2 many messages - News Server needed. - Or we could
split
>  > > > the list
>  > > >
>  > > >
>  > > >
>  > > > > Actually, I think the mail list is fine. I use a filter to
>  > > > move these
>  > > > > messages into their own folder.
>  > > >
>  > > > Good idea.
>  > > >
>  > > > > However, I do feel that some improvement is possible. I
>  > > > recomend splitting
>  > > > > the list into a few other lists.
>  > > >
>  > > > Yes - create 2 news groups. The main point of this is the
>  > > > automatic ordering
>  > > > of threads that this allows, in my email client at least. I
>  > > > can see a root
>  > > > message and the whole, dialogic line of consequent messages.
>  > > > What's so wrong
>  > > > with that?
>  > > >
>  > > > > Probably the most obvious split is between
>  > > > > developers using Orion and administers trying to maintain,
>  > > > configure and
>  > > > > install it.
>  > > >
>  > > > Like I said - 2 news groups.
>  > > >
>  > > >
>  > >
>  > >
>  >
>  > ---
>  > Joseph B. Ottinger   [EMAIL PROTECTED]
>  > http://cupid.suninternet.com/~joeo  HOMES.COM Developer
>  >
>

(-) Robert Kr=FCger
(-) SIGNAL 7 Gesellschaft f=FCr Informationstechnologie mbH
(-) Br=F

Re: Oracle on Orion

2000-10-19 Thread Rafael Alvarez

Hi!
Is there any error message during deploy? Orion stops the
auto-creation process if there is any SQLException.

I also found that Orion don't create tables for beans that where
already deployed, even if you drop them.


-- 
Best regards,
 Rafaelmailto:[EMAIL PROTECTED]






Orion under Unix archive

2000-10-19 Thread Kemp Randy-W18971

When I asked the question if Orion server processes can be run as someone other then 
root (under Solaris) and how, one reply mentioned that there was a big discussion 
regarding this question, and to check the archive files.  I have done that but 
couldn't find the discussion.  Can anyone point me to where I can find the archive 
file entry discussing this question before I brought it up again?




Re: I hate "guest"

2000-10-19 Thread Nick Newman

Hi Jeff,

My understanding is that "guest" is the system-dependent name that Orion
uses for the concept of the unauthenticated user.  (The specs explicitly
state that the name used is system dependent, which seems a bit odd, but
never mind).  If I'm right on that, then I would not necessarily expect you
to be able to assign security roles to "guest".  However, couldn't you
achieve what you want simply by not specifying ANY security restrictions
for that one method?

Nick

At 03:05 AM 10/19/00 -0700, you wrote:
>Some variant of this has got to be one of the top five questions asked
>on this list, and it has never been answered.  I really, really, really
>need a simple answer:
> 
>How do I assign security roles to "guest"?  Is it even possible?
> 
>No matter what I put in the various principals.xml files (and believe
>me, I've tried just about everything) I can't seem to allow the
>unauthenticated user to call an EJB method.  It's driving me insane.  My
>girlfriend tells me that while sleeping I thrash about mumbilng
>"com.evermind.server.rmi.OrionRemoteException: guest is not allowed to
>call this EJB method..."  I'm not by nature a violent person, but if I
>ever meet this "guest", I'm going to reach out and throttle him :-)
> 
>I have a reasonably straightforward system which represents users as
>entity beans and allows anyone to connect to the system and create an
>account.  Thus, there must be a moment in time when the user must
>interact with the EJB system to create the entity bean *before* he or
>she can be logged in.  I want to grant "guest" access to a single method
>on a single session bean.  Why can't I seem to do this?  I can't imagine
>that this pattern has not been implemented a bazillion times already.
> 
>I was able to get everything working before by commenting all
>security-related material out of my EJBs' deployment descriptors (thus
>leaving the system wide open).  Now I'm ready to put security back into
>the system, but the web-application  tag doesn't seem to be
>implemented yet.  So I want to give a limited security role to "guest".
>Heeelp!
> 
>Thanks,
>Jeff Schnitzer
>[EMAIL PROTECTED]  





Weird content in getServletName()

2000-10-19 Thread Thomas Krantz


In a taglib, I am printing the content in
pageContext.getServletConfig().getServletName() to get
the JSP page the tag is called from. Very often this
method returns .css-files and .gif-files. 

I am pretty sure I am not using my tags in any GIF images.

Any clues?

/ Thomas

--
"Hard work often pays off after time, 
 But laziness always pays off now."

PGP Public Key: http://www.algonet.se/~tok/pgp.txt





Useful taglibs

2000-10-19 Thread David Ekholm

I'm looking for a free taglib or java package that produces graphs for the
web (in this case). There are some of them out there at jars.com for
example, but which one do you guys recommend? Any experience?

/David




Re: customize finder method

2000-10-19 Thread Joe Walnes

>I agree Joe, but can you tell me how did you find out about this? I had the
>same problem long time ago and I end up with Giustino's solution! Just want
>to learn how to find the best answer to my questions.

Figured it out :-)

If $1 is a String, it is escaped and quoted before putting it in the SQL
statement. So if $1 = "Joe's Test", it gets interpolated as 'Joe\'s Test'.
Therefore:

like '%$1%'  -->  like '%'Joe\'s Test'%'   (invalid SQL)

like '%' + $1 + '%'  -->  like '%' + 'Joe\'s Test' + '%'  (valid SQL)

-Joe Walnes







RE: customize finder method

2000-10-19 Thread Amir Peivandi

I agree Joe, but can you tell me how did you find out about this? I had the
same problem long time ago and I end up with Giustino's solution! Just want
to learn how to find the best answer to my questions.

:)

Amir


-Original Message-
From: Joe Walnes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 7:17 AM
To: Orion-Interest
Subject: Re: customize finder method


Actually it makes more sense to place the % in the finder method as it
abstracts the SQL from the underlying code. A developer working with entity
beans should never need to use any SQL (even if it only is one character).

The reason the attempted finder method isn't working is to do with how JDBC
prepared statements work.

To fix the problem, in your  tag in the deployment
descriptor, replace:

like '%$1%'

... with ...

like '%' + $1 + '%'

-Joe Walnes

- Original Message -
From: "DeVincentiis Giustino" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 11:59 AM
Subject: R: customize finder method


Hi Leung,
You should'nt use the '%' symbols in the finder definition, instead you
should attach them to the parameter you pass to the finder method.
i.e.
finder definition:

finder calling:
findBy...("%" + description + "%");

Hope this help
Giustino De Vincentiis


-Messaggio originale-
Da: Yeung Man Leung [mailto:[EMAIL PROTECTED]]
Inviato: giovedì 19 ottobre 2000 9.57
A: Orion-Interest
Oggetto: customize finder method


Hi all,
I have try to customize the a findBy method in one of my Bean in the
following.




cat.ejb.Category

findByDesc


java.lang.String




   However when I try to execute the findBy method,
I got the following exception:
com.evermind.server.rmi.OrionRemoteException: Database error:
ORA-01006: bind variable does not exist

Did anyone know what went wrong in my sql, thx

Leung







orionsupport.com attempting to ping my system???

2000-10-19 Thread c d

Can anyone explain why I received multiple attempts to
connect to my system on port 113 (NetBIOS, right?)
from orionsupport.com immediately after my browsing
some information on that site and orionserver.com?

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




RE: DTD for orion-ejb-jar?

2000-10-19 Thread Lopez Esteban

I think that this is because EJB 2.0 is in draft stage, then the url for the
dtd is not valid and Spy cannot found the dtd but orion uses it internaly.
In ORION.JAR there are dtd files, you can extract this files and change the
url of the XML file to point to this files and use Spay to check your
dployment descriptor then you must restore the original url. There are
diferences between SUN tags and Orion tags. 

> -Original Message-
> From: John D'Ausilio [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 6:28 PM
> To:   Orion-Interest
> Subject:  RE: DTD for orion-ejb-jar?
> 
> You are correct, but that was not what I asked about :)
> 
> orion-ejb-jar.dtd is broken (rather than ejb-jar.dtd) .. if you deploy a
> message-driven bean, and try and validate the deployed file (in a
> validating
> editor like Spy), the dtd lacks (at least) the message-driven-deployment
> entity definition
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Lopez Esteban
> > Sent: Wednesday, October 18, 2000 2:15 PM
> > To: Orion-Interest
> > Subject: RE: DTD for orion-ejb-jar?
> >
> >
> > In orion 1.4.0 there is a dtd for EJB 2.0 and there is an example of
> > message-driven bean (ATM)
> >
> > > -Original Message-
> > > From: John D'Ausilio [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 18, 2000 11:43 AM
> > > To:   Orion-Interest
> > > Subject:  DTD for orion-ejb-jar?
> > >
> > > Is there a more up-to-date version of this DTD somewhere? The one
> > > referenced
> > > in the xml dosn't know anything about EJB2 stuff, like
> > > , or  tag in CMP finder-method tag
> > >
> > > jd
> > >
> 




RE: Oracle on Orion

2000-10-19 Thread Arved Sandstrom



What 
is the nature of the console errors? That is, when you run Orion the first time 
around, you'll get your auto-create messages, success or failure. Should be 
quite revealing.
 
I 
initially suspected table name length, but some of those that you say succeed 
seem to be no shorter than some that fail, so without an idea of what the 
messages say...
 
FWIW 
we routinely use Oracle, and some of the tables are autocreated. Works 
OK.
 
Arved 
Sandstrom

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Chris 
  EvansSent: Wednesday, October 18, 2000 7:15 PMTo: 
  Orion-InterestSubject: Oracle on OrionHey, 
  Has anybody been successful in deploying EJBs on Orion to an Oracle 
  database?  I'm having trouble getting Orion to auto create tables in 
  Oracle.  It seems to skip certain table names in the ejb-jar.xml file I 
  use.  The tables it creates consistently are Category, Item and Note. 
  Here's the file: 
   
  http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> 
             
      
  Generates globally unique identifiers by combining the 
  identity of a given GUIDFactory with a generated value unique among all values 
  generated by the given GUIDFactory.     
  GUID_Factory_Component 
      
  GUIDFactory     
  com.canlink.components.base.GUIDFactoryHome 
      
  com.canlink.components.base.GUIDFactory 
      
  com.canlink.components.base.GUIDFactoryBean 
      
  Container     
  com.canlink.components.base.GUIDFactoryPK 
      
  False     
       
  factoryID     
       
       
  currentObjectID     
       
        
      
  Persistent Business Object representing an ordered list of 
  products     
  Catalog_Component     
  Catalog     
  com.canlink.components.entities.catalog.CatalogHome 
      
  com.canlink.components.entities.catalog.Catalog 
      
  com.canlink.components.entities.catalog.CatalogBean 
      
  Container     
  com.canlink.components.base.EntityPK 
      
  False     
       
  identity     
       
       
  name     
       
       
  organizationIdentity     
       
       
  ownerIdentity     
       
       
  creationDate     
       
       
  layout     
       
       
  status     
       
       
  ejb/GUIDFactory     
  Entity     
  com.canlink.components.base.GUIDFactoryHome 
      
  com.canlink.components.base.GUIDFactory 
      
  GUIDFactory     
       
        
      
  Persistent Business Object representing a grouping of 
  catalog entries     
  Category_Component     
  Category     
  com.canlink.components.entities.category.CategoryHome 
      
  com.canlink.components.entities.category.Category 
      
  com.canlink.components.entities.category.CategoryBean 
      
  Container     
  com.canlink.components.base.EntityPK 
      
  False     
       
  identity     
       
       
  title     
       
       
  description     
       
       
  extendedDescription     
       
       
  image     
       
       
  thumbnail     
       
       
  creationDate     
       
        
      
  Persistent Business Object representing a products 
  Note     
  Note_Component     
  Note     
  com.canlink.components.entities.note.NoteHome 
      
  com.canlink.components.entities.note.Note 
      
  com.canlink.components.entities.note.NoteBean 
      
  Container     
  com.canlink.components.entities.note.NotePK 
      
  False     
       
  title     
       
       
  description     
       
       
  creationDate     
       
        
      
  Persistent Business Object representing a 
  productItem     
  Item_Component     
  Item     
  com.canlink.components.entities.item.ItemHome 
      
  com.canlink.components.entities.item.Item 
      
  com.canlink.components.entities.item.ItemBean 
      
  Container     
  com.canlink.components.entities.item.ItemPK 
      
  False     
       
  productCode     
       
       
  productTitle     
    

Re: customize finder method

2000-10-19 Thread Joe Walnes

Actually it makes more sense to place the % in the finder method as it
abstracts the SQL from the underlying code. A developer working with entity
beans should never need to use any SQL (even if it only is one character).

The reason the attempted finder method isn't working is to do with how JDBC
prepared statements work.

To fix the problem, in your  tag in the deployment
descriptor, replace:

like '%$1%'

... with ...

like '%' + $1 + '%'

-Joe Walnes

- Original Message -
From: "DeVincentiis Giustino" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 11:59 AM
Subject: R: customize finder method


Hi Leung,
You should'nt use the '%' symbols in the finder definition, instead you
should attach them to the parameter you pass to the finder method.
i.e.
finder definition:

finder calling:
findBy...("%" + description + "%");

Hope this help
Giustino De Vincentiis


-Messaggio originale-
Da: Yeung Man Leung [mailto:[EMAIL PROTECTED]]
Inviato: giovedì 19 ottobre 2000 9.57
A: Orion-Interest
Oggetto: customize finder method


Hi all,
I have try to customize the a findBy method in one of my Bean in the
following.




cat.ejb.Category

findByDesc


java.lang.String




   However when I try to execute the findBy method,
I got the following exception:
com.evermind.server.rmi.OrionRemoteException: Database error:
ORA-01006: bind variable does not exist

Did anyone know what went wrong in my sql, thx

Leung







R: customize finder method

2000-10-19 Thread DeVincentiis Giustino



Hi 
Leung,
You 
should'nt use the '%' symbols in the finder definition, instead you should 
attach them to the parameter you pass to the finder method.
i.e. 

finder 
definition:
finder 
calling:
findBy...("%" + description + "%");
 
Hope 
this help
Giustino De Vincentiis
 

  -Messaggio originale-Da: Yeung Man Leung 
  [mailto:[EMAIL PROTECTED]]Inviato: giovedì 19 ottobre 2000 
  9.57A: Orion-InterestOggetto: customize finder 
  method
  Hi all,
      I have try to customize 
  the a findBy method in one of my Bean in the following.
          
                  
      
   
      
      
  cat.ejb.Category    
  findByDesc    
      
  java.lang.String    
      
      
   
   
     However when I try to execute 
  the findBy method,
      I got the following 
  exception:
      
  com.evermind.server.rmi.OrionRemoteException: Database error: ORA-01006: bind 
  variable does not exist
      
      Did anyone know what went 
  wrong in my sql, thx
   
  Leung


I hate "guest"

2000-10-19 Thread Jeff Schnitzer

Some variant of this has got to be one of the top five questions asked
on this list, and it has never been answered.  I really, really, really
need a simple answer:
 
How do I assign security roles to "guest"?  Is it even possible?
 
No matter what I put in the various principals.xml files (and believe
me, I've tried just about everything) I can't seem to allow the
unauthenticated user to call an EJB method.  It's driving me insane.  My
girlfriend tells me that while sleeping I thrash about mumbilng
"com.evermind.server.rmi.OrionRemoteException: guest is not allowed to
call this EJB method..."  I'm not by nature a violent person, but if I
ever meet this "guest", I'm going to reach out and throttle him :-)
 
I have a reasonably straightforward system which represents users as
entity beans and allows anyone to connect to the system and create an
account.  Thus, there must be a moment in time when the user must
interact with the EJB system to create the entity bean *before* he or
she can be logged in.  I want to grant "guest" access to a single method
on a single session bean.  Why can't I seem to do this?  I can't imagine
that this pattern has not been implemented a bazillion times already.
 
I was able to get everything working before by commenting all
security-related material out of my EJBs' deployment descriptors (thus
leaving the system wide open).  Now I'm ready to put security back into
the system, but the web-application  tag doesn't seem to be
implemented yet.  So I want to give a limited security role to "guest".
Heeelp!
 
Thanks,
Jeff Schnitzer
[EMAIL PROTECTED]  




customize finder method

2000-10-19 Thread Yeung Man Leung



Hi all,
    I have try to customize 
the a findBy method in one of my Bean in the following.
        
                
    
 
    
    
cat.ejb.Category    
findByDesc    
    
java.lang.String    
    
    
 
 
   However when I try to execute the 
findBy method,
    I got the following 
exception:
    
com.evermind.server.rmi.OrionRemoteException: Database error: ORA-01006: bind 
variable does not exist
    
    Did anyone know what went wrong 
in my sql, thx
 
Leung


Re: 2 many messages - News Server needed. - Or we could split the list

2000-10-19 Thread Robert Krueger


Could not agree more. don't any of you subscribe to other tech lists? I'm 
surprised that there are people using orion that are not subscribed to 
ejb-interest (excellent list and a must for people working with ejb 
professionally IMHO) which has at least as much traffic as this one here. 
Please learn how to use a mail client with filters and let's deal with a 
high volume as soon as there is something to deal with and let's not start 
a religious war on newgroup vs. mailingl ist (I'm pro mailing list btw 
;-)). the negative side effects (people not knowing where to look, 
crossposting etc.) would clearly outweight the benefits of splitting up the 
list IMHO.

robert

At 19:21 18.10.00 , you wrote:
>IMO, the mailing list is just fine. If there are too many messages for your
>inbox, then you should filter it away. All the popular mail clients will
>handle this.
>
>I am sure I am not the only one who feels this way, nor am the only one who
>belongs to many other special-interest lists, all delivered via email and
>filtered.
>
>I belong to roughly 40 or so development lists, some of which average 40-50
>messages a day. They happily get filtered away into their own folders. (In
>fact, I just archived my Postfix users list from the past year-- 14,000+
>messages.)
>
>If the list does need to be split, it should be split by the Orion folks as
>they deem necessary.
>
>Please realize however, when talking about splitting the list into different
>development disciplines, that is no longer Orion specific, it now becomes a
>Java app development list-- which there are already many.
>
>If someone volunteers to setup a web-based "message board" or a separate
>NNTP server, then that is their perogative. But I do believe that not
>keeping the product support channels centralized will not only confuse the
>new users of Orion, but also be the cause of frustration trying to find out
>which method of support is actually productive.
>
>Thanks for listening.
>
>--
>David S. Kenzik
>[EMAIL PROTECTED] - http://kenzik.com
>Original Music - http://mp3.com/text
>
>
>   Joseph B. Ottinger said...
>
>  > It's quite feasible for me to set up a news server (nntp, usenet style) on
>  > my server if that's a viable solution. It'll take me a little bit of time,
>  > as I'm not exactly familiar with running INN, but I can figure it out.
>  >
>  > On Wed, 18 Oct 2000, Duffey, Kevin wrote:
>  >
>  > > I would agree too. I think if you split the list into ejb and web, 
> it might
>  > > limit the traffic a bit. Also, maybe a newbie list, or possibly a 
> mailing
>  > > list about how to configure Orion, set it up, install ejbs, servlets,
>  > > applications, etc..there are a lot of questions on that front. A 
> fourth (the
>  > > first three being web, ejb, and configuration/setup) would be database
>  > > related, if possible.
>  > >
>  > >
>  > > > -Original Message-
>  > > > From: Miles Daffin [mailto:[EMAIL PROTECTED]]
>  > > > Sent: Wednesday, October 18, 2000 9:51 AM
>  > > > To: Orion-Interest
>  > > > Subject: Re: 2 many messages - News Server needed. - Or we could split
>  > > > the list
>  > > >
>  > > >
>  > > >
>  > > > > Actually, I think the mail list is fine. I use a filter to
>  > > > move these
>  > > > > messages into their own folder.
>  > > >
>  > > > Good idea.
>  > > >
>  > > > > However, I do feel that some improvement is possible. I
>  > > > recomend splitting
>  > > > > the list into a few other lists.
>  > > >
>  > > > Yes - create 2 news groups. The main point of this is the
>  > > > automatic ordering
>  > > > of threads that this allows, in my email client at least. I
>  > > > can see a root
>  > > > message and the whole, dialogic line of consequent messages.
>  > > > What's so wrong
>  > > > with that?
>  > > >
>  > > > > Probably the most obvious split is between
>  > > > > developers using Orion and administers trying to maintain,
>  > > > configure and
>  > > > > install it.
>  > > >
>  > > > Like I said - 2 news groups.
>  > > >
>  > > >
>  > >
>  > >
>  >
>  > ---
>  > Joseph B. Ottinger   [EMAIL PROTECTED]
>  > http://cupid.suninternet.com/~joeo  HOMES.COM Developer
>  >
>

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





Re: Cart example is not stateful!?

2000-10-19 Thread Kuno Baeriswyl


Thank very much for your reply. But, there is still one unclear thing.
Sure, stateful don't mean persistent, but during one session the attributs
of a bean shall be retained.
Do it means, that the plateform creates for each call of my program
a new session for me?
Arved Sandstrom wrote:
 "Stateful"
in "stateful session bean" does not mean "persistent". What it means is
that state, say your Collection, is retained in between method calls to
that session bean.To
answer your last question, stateful session beans are not persistent because
they were not intended to be. That's what entity beans are for. Or you
can add JDBC to the SB.Hope
this clarifies things.Arved
Sandstrom

-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kuno Baeriswyl
Sent: Wednesday, October 18,
2000 12:32 PM
To: Orion-Interest
Subject: Cart example is not
stateful!?
 
Hi all,
I need to implementing a stateful Session Bean. So, I took the Cart-example
and added the following thinks to look the values of a stateful bean who
shall be in the container (because by first call of this program, I added
some beans).
But, all Beans are destroyed. I can't see the STATEFUL beans of the
last program-call!
Why there not persistent?
Client:

  // init Context
   java.util.Properties p = new java.util.Properties();
   p.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
   p.put(Context.PROVIDER_URL,"ormi://localhost/caddie");
   p.put(Context.SECURITY_PRINCIPAL,"admin");
   p.put(Context.SECURITY_CREDENTIALS,"metrocine");
   Context context = new InitialContext(p);
// get Cart bean
   Object homeObject = context.lookup("java:comp/env/Cart");
   CartHome home = (CartHome)PortableRemoteObject.narrow(homeObject,
CartHome.class);
   Cart cart = (Cart)PortableRemoteObject.narrow(home.create("kuno"),
Cart.class);
// print-out of all item stored in the stateful bean
   java.util.Collection items = cart.getItems();
   java.util.Iterator iterator = items.iterator();
   while(iterator.hasNext()){
    System.out.println((String)iterator.next());
   }
   // Add some new items to the Cart.
   cart.add("Milk");
   cart.add("Apples");
   cart.add("Pizza");
ejb-jar.xml
--

 Caddie for the shop of Metrocine
 prototype v1.0
 
  
   Shopping Cart
   A simple shopping cart.
   Cart
   metrocine.caddie.interfaces.CartHome
   metrocine.caddie.interfaces.Cart
   metrocine.caddie.ejb.CartEJB
   Stateful
   Container
  
 
 


 
--

--  http://zap.to/kuno
- Homepage  -    http://www.eif.ch
--
--    026/ 494.19.56   
- Telefon -  026/ 429.66.11  
--
-- [EMAIL PROTECTED]  
- eMail -   [EMAIL PROTECTED] 
--

 


--

--  http://zap.to/kuno - Homepage 
-    http://www.eif.ch
--
--    026/ 494.19.56   
- Telefon -  026/ 429.66.11  
--
-- [EMAIL PROTECTED]  
- eMail -   [EMAIL PROTECTED] 
--