Re: Orion on Solaris 8

2001-06-12 Thread Marcus Lachmanez

The way to run a process in the background even after the login process is
terminated is very simple just
start orion in this way 'nohup java -jar orion.jar' This should work.

Marcus

Johan Fredriksson wrote:

 inline
 - Original Message -
 From: Joerg Weishaupt [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, June 11, 2001 10:54 AM
 Subject: Orion on Solaris 8

  Hi,
 
  I'm having two problems with Orion (1.4.5) on Solaris 8 with JDK 1.3.1
 
  a) I'm unable to set the process into the background. As soon as I log
 off from the SSH session the Orion process gets killed.
 Startup is done by calling:
 nohup java -server -jar -Xconcurrentio -Xms128m -Xmx384m orion.jar -out
 $ORION_SERVER/log/server-out.log -err $ORION_SERVER/log/server-err.log
 
 

 Check orionsupport.com, or use bash.

  b) All German specific vocales (Umlaute) are shown as a ? only.
 

 The shell you are running orion under has to have german language enabled.

 If you can type a double s at the prompt, then it should be set up
 correctly.

  Maybe someone has some ideas ?
 
  TIA
  Joerg Weishaupt
 
 

 Johan





RE: Oracle deal gag... but on a different note.

2001-06-12 Thread Joseph B. Ottinger

On Mon, 11 Jun 2001, Jay Armstrong wrote:

 Joseph,
 
 Generally, I agree, but...
 
  I am not applauding the support for WebLogic, WebsFear, IPlanit, etc, but
  if I report a problem with WebLogic to BEA, eventually it will filter to
  the gurus, who will respond (usually they ask for a reconfigure, restart,
  and a dump).  
 
 And usually if people know your problem, they'll get to it here, too.
 
 Agree.  But most major customers avoid semi-open products because of the
 perception (right or wrong) that they can't purchase support, even if they
 have money to burn.  

Sure. Is Orion semi-open now? Because I've never seen anything of the
sort, and I think I would have by now...

 I have argued that the orion-interest response is generally more accurate
 (than BEA, IBM  Sun) because the big players must hide their embarassing
 flaws from the competition.  This is why I believe Oracle MAY (not for
 sure! No flames please!) put pressure on Ironflare to be less forthcoming
 about internal flaws.

Sure, I can understand this -- good thing we have orionsupport.com, which
isn't affiliated with Ironflare. This is why I've never been willing to
advertise anything on orionsupport, and why I'm not directly affiliated in
any way with Ironflare - because I want the freedom to some day post
something like Orion totally sucks in area XYZ (not mentioning anything
like JMS, for example, am I?) without worrying about receiving a warning
from the Swedish Mafia. 


  Who will handle this for Orion/Oracle?  Karl and Magnus?  They rarely
  respond now, so don't you think they could get even more overwhelmed?
  
  Please, point me to where Ellison talked about support.
 
 Heh, you haven't LOOKED at Oracle much, have you? They *already* have
 support networks in place...
 
 The buck stops here sign is on Karl's and Magnus' desk, right?  I hope
 they don't usually ride in the same car together all time. :)

Well, I didn't know they HAD desks - I can see Satan doing all his work on
a futon for some reason - but at this point, we don't know how much
responsibility Oracle has taken. *shrug* We'll see.

 Stuck in the asylum,
 Jay
 
 At 03:42 PM 6/11/01 -0500, you wrote:
 On Mon, 11 Jun 2001, Jay Armstrong wrote:
 
  Nathan,
  
  A lot of what you're saying is true.  I acknowledge that Orion is
  relatively fast and has some great features (like auto-reconfigure), but I
  recall that Orion used to claim that it was the fastest J2EE product (or
  something like that), then had to remove that claim from the
  orionserver.com site (I think BEA challenged the claim).  
 
 No, BEA didn't challenge the claim. BEA refuses anyone (IBM, etc.) to
 publish performance specs for comparison purposes. The result was that
 Orion couldn't say We did this in X, and BEA did it in Y. Orion is
 hardly unique in this.
 
  Also, one of the first questions I get asked when recommending software for
  clients is about support.  It's probably the primary reason why major
  systems do not rely on open products, or semi-open products like Orion.
 
 Or Oracle... but wait, that might make the Oracle deal a win for Orion
 users.
 
  Yes, Karl and Magnus built a fabulous product, but where's the support
  (documentation, help desk, etc)?
 
 I've done well without it.
 
  I am not applauding the support for WebLogic, WebsFear, IPlanit, etc, but
  if I report a problem with WebLogic to BEA, eventually it will filter to
  the gurus, who will respond (usually they ask for a reconfigure, restart,
  and a dump).  
 
 And usually if people know your problem, they'll get to it here, too.
 
  Who will handle this for Orion/Oracle?  Karl and Magnus?  They rarely
  respond now, so don't you think they could get even more overwhelmed?
  
  Please, point me to where Ellison talked about support.
 
 Heh, you haven't LOOKED at Oracle much, have you? They *already* have
 support networks in place...
 
 
  Jay
  
  At 09:32 AM 6/11/01 -0500, you wrote:
  On a different note concerning the Oracle deal:
  
  I wasn't at JavaOne, but I've been reading all about it on the web.  One
  news story that I've seen a lot about is Larry Ellison and Bill Coleman's
  little fight.  Oracle has put Orion in the big leagues... I mean, Karl
 could
  have produced all sorts of documentation that said Orion is better then
  Weblogic, but BEA would have paid it no attention.  However, when Oracle
  says Oracle is better then Weblogic, BEA certainly takes notice!
  
  I consider this a great victory for Ironflare, the J2EE community, and
 every
  single young person hacking away in his garage.  This proves it--a few
  talented and committed developers can accomplish anything they set their
  minds too.  I think Larry Ellison said it best, when, at JavaOne, he said
  We have thrown out literally all of our old Java code.  The reason we
 threw
  away all of our old J2EE implementations is we had to build a high
  performance, scaleable version of J2EE. We think that this is a huge
  breakthrough for 

Re: Security bug with application clients?

2001-06-12 Thread Lachezar Dobrev



 WRONG!!!
 As I see it... There is nothing in 
the post, that says SESSION or HTTP or JSP or SERVLET.
 I have stumbled upon this problem 
many times. I've raised that question on this list many times.
 However... Except for threads like 
"Orion deal blah, blah" I hardly see any meaningful mail on this list. Have to 
use it however.
 The problem comes from other 
place.

 SITCH:
 Step 1: Set up an InitialContext 
(url, factory, principal, credentials)
 Step 1.1: Do your job (create, 
use, remove etc.)

  watch here 
Step 2: TRY to get another 
Context with something different as parameters (let's say different user, url, 
password, any of these, except for the factory).

 RESULT
 You get an InitialContext, that 
points exactly to the same target as the first one. The same target server, the 
same target application, the same user, the same password. This is NOT how it 
should be.

 The only way to get a difefrent 
context is to receive an Exception while communicating. Then you can get 
different Context.

 WHY???
 Someone on the list proposed to use 
"dedicated.connection=true" in the InitialContext hashtable parameters. Haven't 
seen it to work...


 Hoping, to put the guns away, and do 
some job, isn't that why we are here?

 Lachezar.

  its 
  in the "clean things up" step that something went wrong. 
  
  You 
  need to do a session.invalidate(), and then create a new guest session with a 
  session.create("true"). Here is the bit in the RequestProcessor of the 
  BluePrint (petstore):
  
   if (event 
  instanceof LogoutEvent) 
  { 
  ...whatever 
  ... 
  session.invalidate();

  whatever 
   
  HttpSession validSession = req.getSession(true); 

  ...whatever ...
   }
  
  This 
  is usually done in a servlet. I would do the same thing here. Instead of using 
  the client -  slsb - whatever ... use client - servlet - slsb 
  - whatever bean. This way, you can abstract whatever login/logout and 
  session control directly with the servlet, and you also abstract instancing 
  the slsb - whatever bean. The servlet can also be loadbalanced (the slsb 
  can't be) so if you want failover capability, you get it. 
  
  regards,
  
  the 
  elephantwalker
  
  
  
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael 
JaraSent: Monday, June 11, 2001 6:51 PMTo: 
Orion-InterestSubject: Security bug with application 
clients?
Hi,

I'm trying to get the security portion of a 
project working, in which a java client connects to a stateless session 
beanafter login. As far as I can tell, Orion doesn't seem to 
properly pass around principal objects in stateless session 
beans.

This is the sequence that my test client 
runs:

1. Prompt user for user ID  
password
2. Create an InitialContext containing the user 
ID and password (as "java.naming.security.principal" and 
"java.naming.security.credentials", respectively.)
3. Look up the stateless session bean's 
home
4. home.create() the stateless session 
bean

So far, so good. The stateless session 
bean correctly identifies the user ID within its session context's 
principal. Now I clean things up and repeat the process:

5. remove() the stateless session 
bean
6. close() the InitialContext (just in case... 
I even went so far as to remove all of its environment 
properties.)
7. Log on again: prompt for a different user ID 
 password
8. Create a newinitial context as in step 
2.
9. Look up the stateless session bean's 
home
10. home.create() the stateless session 
bean

This is where things go wrong. I get the 
principal out of the stateless session bean's session context, which 
indicates that I'm logged in as the first user! The problem is that 
the bean is never calling "setSessionContext" on the second creation. 
If I re-start the client however, it works correctly.

The only way I can think of to get around this 
is to use a stateful session bean instead... I don't like that, 
because I don't need to maintain state! Has anyone else encountered 
this problem? Found a solution?

Thanks,
Mike


starting using orion

2001-06-12 Thread Ta Nguyen Binh Duong
Title: starting using orion





Hi all,
I've just started using Orion..
Please tell me how can I make my own application in Orion: where can I put my web directory, and how about the configuration file?

Thanks so much.


Binh Duong
[EMAIL PROTECTED]





clustering two orions on the same machine

2001-06-12 Thread Darren Mosley

Hi,

Newbie to orion im afraid.

ive tried following the guide to clustering, which says it can be tested
between two orions serer on the same machine as long as thier ports
differ.

I start the load balancing, but when i start both orions up i get the
following message on both:

Unable to initialize clustering : Error initializing clustering(at
localhost/127.0.0.1:9128) : Unable to connect : Unknown Error
(java.lang.InstantiationException)

I havent specified a different host or port in the cluster-config tags
in my web-apps - should i? Is there something i missed, cos i thought
i'd followed the guide to a tee.

Cheers

Darren




Fwd: Re: Error running java -jar orion.jar -install

2001-06-12 Thread Javier Soques

Thank you Vadym, that worked!


spasiva

Javier

 
 --- vadym krevs [EMAIL PROTECTED] wrote:
  Hi, Javier.
  
  I have had a similar problem. Here is how I fixed
  it. The IBM jdk 1.3.0 
  includes an old version of xerces in the
  JDK_ROOT/jre/lib/ext/ folder. 
  That old version is loaded before orion's copy of
  xerces, and hence all 
  problems. I solved the problem by making a backup
 of
  the IBM JDK's 
  version, downloading the latest revision of
  xerces.jar from 
  http://xml.apache.org/xerces-j/index.html and
  replacing the 
  JDK_ROOT/jre/lib/ext/xerces.jar with the
  downloaded version.
  
  Vadym
  
  
  
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Censorship or slow server ?

2001-06-12 Thread Tony Fonager

I posted a message to this list 25 hours ago, exposing some bad experiences
with Orion.

How come this has not shown up yet, 25 hours later ... ???

Or has the moderator of this list removed my message, as it was a bit
negative ??



-
Regards,
Tony Fonager

http://www.netcoders.dk




SV: Censorship or slow server ?

2001-06-12 Thread Magnus Rydin
Title: SV: Censorship or slow server ?





I've had some posting problems the last 7 days.
Try again, the software will soon be updated.
WR


 -Ursprungligt meddelande-
 Från: Tony Fonager [mailto:[EMAIL PROTECTED]]
 Skickat: den 12 juni 2001 04:56
 Till: Orion-Interest
 Ämne: Censorship or slow server ?
 Prioritet: Hög
 
 
 I posted a message to this list 25 hours ago, exposing some 
 bad experiences
 with Orion.
 
 How come this has not shown up yet, 25 hours later ... ???
 
 Or has the moderator of this list removed my message, as it was a bit
 negative ??
 
 
 
 -
 Regards,
 Tony Fonager
 
 http://www.netcoders.dk
 





RE: starting using orion

2001-06-12 Thread Jason Coward
Title: starting using orion



You can put your web application directories wherever 
you want, so long as your configuration files point to the appropriate 
location. The configuration files are all located in the /config 
subdirectory of your Orion install path. You should probably review the 
documentation regarding these files, so you are familiar with all the 
possibilities of configuration and deployment of J2EE applications on 
Orion.

Hope that helps get you started...

drumshamen

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Ta Nguyen Binh 
DuongSent: Tuesday, June 12, 2001 3:57 AMTo: 
Orion-InterestSubject: starting using orion
Hi all, I've just 
started using Orion.. Please tell me how can I 
make my own application in Orion: where can I put my web directory, and how 
about the configuration file?
Thanks so much. 
Binh Duong [EMAIL PROTECTED] 


RE: Oracle deal gag... but on a different note.

2001-06-12 Thread Jay Armstrong

At 02:18 AM 6/12/01 -0500, you wrote:
On Mon, 11 Jun 2001, Jay Armstrong wrote:

 Joseph,
 
 Generally, I agree, but...
 
  I am not applauding the support for WebLogic, WebsFear, IPlanit, etc,
but
  if I report a problem with WebLogic to BEA, eventually it will filter to
  the gurus, who will respond (usually they ask for a reconfigure,
restart,
  and a dump).  
 
 And usually if people know your problem, they'll get to it here, too.
 
 Agree.  But most major customers avoid semi-open products because of the
 perception (right or wrong) that they can't purchase support, even if they
 have money to burn.  

Sure. Is Orion semi-open now? Because I've never seen anything of the
sort, and I think I would have by now...

My definition of semi-open: Free for development with no time expiration;
not a time-limited trial. Pay for production.  That is, products like Orion.

 I have argued that the orion-interest response is generally more accurate
 (than BEA, IBM  Sun) because the big players must hide their embarassing
 flaws from the competition.  This is why I believe Oracle MAY (not for
 sure! No flames please!) put pressure on Ironflare to be less forthcoming
 about internal flaws.

Sure, I can understand this -- good thing we have orionsupport.com, which
isn't affiliated with Ironflare. This is why I've never been willing to
advertise anything on orionsupport, and why I'm not directly affiliated in
any way with Ironflare - because I want the freedom to some day post
something like Orion totally sucks in area XYZ (not mentioning anything
like JMS, for example, am I?) without worrying about receiving a warning
from the Swedish Mafia. 

You see, Joseph, it's this kind of humor that makes people think of waking
up next to their favorite racehorse's head.

  Who will handle this for Orion/Oracle?  Karl and Magnus?  They rarely
  respond now, so don't you think they could get even more overwhelmed?
  
  Please, point me to where Ellison talked about support.
 
 Heh, you haven't LOOKED at Oracle much, have you? They *already* have
 support networks in place...
 
 The buck stops here sign is on Karl's and Magnus' desk, right?  I hope
 they don't usually ride in the same car together all time. :)

Well, I didn't know they HAD desks - I can see Satan doing all his work on
a futon for some reason - but at this point, we don't know how much
responsibility Oracle has taken. *shrug* We'll see.

They may not have desks yet, but they can probably afford to order big,
hand-carved, mahogony ones now. 

From your previous comment about looking at Oracle, let me cite an example
about supporting integrated products.  A couple of years ago, I found an
error in Adrian Cockroft's book, Sun Performance and Tuning regarding the
formulas for shared memory and semaphore settings in etc/system.  Of
course, Adrian (creator of the VirtualAdrian tools) is a god and I'm just a
troll (as someone recently pointed out), but even trolls get lucky now and
then.

SunOS versions have a sort of mixed Unix ancestry of BSD and SystemV --
it's hard to tell for sure where one begins and the other ends.
Unfortunately, Oracle handles resource contention for multiple users in a
multiprocessor system differently, depending on whether it's running on BSD
or SystemV.  I'm not looking to start a SunOS/Oracle discussion here.  If
you disagree, just assume I'm crazy, and let's take that war off line.

You can also set some things in Oracle's init.ora file that, presumably,
influence performance (such as the number of spin locks, etc).  Which takes
precedence (etc/system or init.ora) isn't clear.  Oracle provides some
recommended settings for given Solaris configurations, but I didn't find an
explanation of how to juggle the values. (Again, just assume I'm nuts and
that this is true for the sake of argument).

Because of the many real world problems with Oracle on Solaris, they
created a special joint team to resolve issues.  I never found any of them
who could accurately explain this problem.  Before Sun and Oracle fans join
the Armstrong Barbecue Party, no, I didn't spend years looking.

My point is that the dance between Orion and Oracle could be just as
complex.  

For example, WebLogic does a nice job (so I'm told) of handling
transactional integrity issues for redundant, clustered EJBs when the
database connection pool goes down after a database update is made and
before a client response goes out from the EJB container.  I have not
explored this kind of issue with the Orion/Oracle combination.  (There are
already threads on this, such as clustering two orions on the same machine).

Karl/Magnus have not, apparently, hired the people on the Ironflare side to
free them up to address such questions.  Just because Oracle has a support
infrastucture, call center, help desk, etc, does not mean that Oracle has
anyone who can deal with the really tough problems.  

Before getting flamed again, I am NOT picking on Orion/Oracle here.  I
believe orion-interest and 

Error in deploying EJBs on OC4J

2001-06-12 Thread Venkata_Nallam

Hello,
While I am deploying EJB in OC4J, following error has occured.
Entrmine is my application.mysessionbean.jar is my sessionbean.

 Web war files are working fine.

Any suggestion in this regard will be appreciated.

Error in application Entrmine: Error loading package at
file:/E:/OC4J/j2ee/home/applications/Entrmin
e/mysessionbean.jar, Unable to find/read assembly info for
E:\OC4J\j2ee\home\applications\Entrmine/m
ysessionbean.jar (META-INF/ejb-jar.xml)



Regards
kumar





Web-security-constraints URGENT help needed!

2001-06-12 Thread Lachezar Dobrev



 Preface: I have a password protected 
site. Servlets, JSPs and pages.

 Requirement: I want to disable 
security checking for CERTAIN items.

 Question: Simple: Can I and How Do 
I?

 Looking forward to hearing from 
you.

 Lachezar.


Re: starting using orion

2001-06-12 Thread Vadym Krevs

The *application-creation-howto.html* included in the orion 
documentation 
(http://www.orionserver.com/mirrordownload.jsp?file=orion1.5.2-doc.zip) 
describes the process. The zip also contains descriptions of all 
configuration files.

Regards,
Vadym

Ta Nguyen Binh Duong wrote:

 Hi all,
 I've just started using Orion..
 Please tell me how can I make my own application in Orion: where can I 
 put my web directory, and how about the configuration file?

 Thanks so much.

 Binh Duong
 [EMAIL PROTECTED]





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





Problem Deploying EJBs on 1.5.2

2001-06-12 Thread Andrew Wellman

Hi All,
I am having a problem deploying my EJBs on 1.5.2
-- I just upgraded yesterday.  Everything ran stellar on 1.4.5.
However, in order to get my EJBs to work on 1.4.5, I had to deploy them
then stop the server and copy over the orion-ejb-jar.xml file into my
source and re-deploy.  When I restarted, the container would detect
these descriptors and use what ever information I customized in them --
primarily table names and findBy methods.  With 1.5.2 it does not seem
to detect these descriptiors any more.  As a result, several of my
findBy methods do not work and others point to database tables that do
not exists. In fact, Orion is creating the wrong tables on deployment.
Does anyone have any ideas?

Thanks,
AJ Wellman







Re: Security bug with application clients?

2001-06-12 Thread Michael Jara



I think maybe I didn't make something clear. 
I am using a java "application" client, NOT a web client. As such, I 
cannot invalidate sessions, make posts, etc.

Orion seems to be written primarily as a web app 
server, and I have seen very littleinformation on using it as a direct 
application server (inOrion literature or intheOracle 
OC4Jdocs.) Since very few people are using Orion in this way, I 
guess I should expect to see a few bugs here and there. (I'm guessing that 
this is an application-client specific issue.)

Anyway, I could be wrong in beleiving that the 
problem is in stateless session beans... As Lachezar pointed out, it might 
be in the InitialContext.

By the way, I saw this behavior in Orion 1.4.5 and 
in the latest release, 1.5.2.

Any suggestions are appreciated,
Mike

  - Original Message - 
  From: 
  Jara, 
  Michael 
  To: Orion-Interest 
  Sent: Monday, June 11, 2001 7:50 PM
  Subject: Security bug with application 
  clients?
  
  Hi,
  
  I'm trying to get the security portion of a 
  project working, in which a java client connects to a stateless session 
  beanafter login. As far as I can tell, Orion doesn't seem to 
  properly pass around principal objects in stateless session 
beans.
  
  This is the sequence that my test client 
  runs:
  
  1. Prompt user for user ID  
  password
  2. Create an InitialContext containing the user 
  ID and password (as "java.naming.security.principal" and 
  "java.naming.security.credentials", respectively.)
  3. Look up the stateless session bean's 
  home
  4. home.create() the stateless session 
  bean
  
  So far, so good. The stateless session bean 
  correctly identifies the user ID within its session context's principal. 
  Now I clean things up and repeat the process:
  
  5. remove() the stateless session 
  bean
  6. close() the InitialContext (just in case... I 
  even went so far as to remove all of its environment properties.)
  7. Log on again: prompt for a different user ID 
   password
  8. Create a newinitial context as in step 
  2.
  9. Look up the stateless session bean's 
  home
  10. home.create() the stateless session 
  bean
  
  This is where things go wrong. I get the 
  principal out of the stateless session bean's session context, which indicates 
  that I'm logged in as the first user! The problem is that the bean is 
  never calling "setSessionContext" on the second creation. If I re-start 
  the client however, it works correctly.
  
  The only way I can think of to get around this is 
  to use a stateful session bean instead... I don't like that, because I 
  don't need to maintain state! Has anyone else encountered this 
  problem? Found a solution?
  
  Thanks,
  Mike


FLAME BAIT

2001-06-12 Thread Jay Armstrong

I truly apologize in advance, but I just couldn't resist passing along this
article.

On page 90 of the June 4 issue of ComputerWorld, there's an article,
Encrypt Everything!  You can see it online at
http://www.computerworld.com/cwi/story/0,1199,NAV47_STO61040,00.html.

It begins, Last week, word got out about a draft report from a committee
of the European Parliament regarding Echelon, the National Security
Agency's (NSA) system for eavesdropping on telephone calls, faxes and
e-mail messages. In the leaked report, the committee urges businesses and
even ordinary citizens to encrypt all e-mail to protect it from
unauthorized snooping. 
So why don't we? Why aren't we routinely using encryption on everything we
send out on the Internet already? Short answer: Because we don't believe we
need it.

Crazy?  Hah!  Well, okay, I am.  But, apparently, I have a lot of company.

Jay






Re: Error in deploying EJBs on OC4J

2001-06-12 Thread Ray Harrison

Venkata -
It is looking for your META-INF\ejb-jar.xml file in your directory structure. Finding 
it and
putting it in the right place in your application distribution will fix your problem. 
If you are
new to OCJ4 (hence Orion) you will want to take a look at www.orionsupport.com (with 
further links
for other helpful information - Orion Primers, etc).

Cheers
Ray
--- Venkata_Nallam [EMAIL PROTECTED] wrote:
 Hello,
   While I am deploying EJB in OC4J, following error has occured.
 Entrmine is my application.mysessionbean.jar is my sessionbean.
 
  Web war files are working fine.
 
 Any suggestion in this regard will be appreciated.
 
 Error in application Entrmine: Error loading package at
 file:/E:/OC4J/j2ee/home/applications/Entrmin
 e/mysessionbean.jar, Unable to find/read assembly info for
 E:\OC4J\j2ee\home\applications\Entrmine/m
 ysessionbean.jar (META-INF/ejb-jar.xml)
 
 
 
 Regards
 kumar
 
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Re: Security bug with application clients?

2001-06-12 Thread Tim Endres

 I think maybe I didn't make something clear.  I am using a java application 
client, NOT a web client.  As such, I cannot invalidate sessions, make posts, etc.
 

I will repeat that we have seen that Orion's InitialContext and Principal identity
features do not work. They do not work in servlets, they do not work in client apps.
They do not work for JMS. They do not work, Sam I am. We have given up on using any
container authentication short of guest. This is only for dynamic identities.
It appears that static identity via the 'jndi.properties' file works ok.

 Orion seems to be written primarily as a web app server, and I have seen very little 
information on using it as a direct application server (in Orion literature or in the 
Oracle OC4J docs.)  Since very few people are using Orion in this way, I guess I 
should expect to see a few bugs here and there.  (I'm guessing that this is an 
application-client specific issue.)


We use Orion with standalone Java client applications. They work fine.
Except for authentication, which does not work.





Re: RE: Oracle deal gag... but on a different note.

2001-06-12 Thread John Hogan

Their j2ee implementations seemed like a bunch of open source glued 
together.  Throw in the oddDuck idea of running ejb's inside the db 
server and it's no wonder they threw it away.  Perhaps because they 
couldn't give it away.


_

Get your free E-mail at http://www.ireland.com




Another interesting observation

2001-06-12 Thread Kemp Randy-W18971

I was looking through the Oracle documentation on Orion, and I noticed another 
interesting observation.  Apache is hooked up as a front end, passing requests to OC4J 
(Orion) J2EE applications.  Apache is still part of the Oracle equation.




RE: Oracle deal gag... but on a different note.

2001-06-12 Thread Joseph B. Ottinger

On Tue, 12 Jun 2001, Jay Armstrong wrote:

 Sure, I can understand this -- good thing we have orionsupport.com, which
 isn't affiliated with Ironflare. This is why I've never been willing to
 advertise anything on orionsupport, and why I'm not directly affiliated in
 any way with Ironflare - because I want the freedom to some day post
 something like Orion totally sucks in area XYZ (not mentioning anything
 like JMS, for example, am I?) without worrying about receiving a warning
 from the Swedish Mafia. 
 
 You see, Joseph, it's this kind of humor that makes people think of waking
 up next to their favorite racehorse's head.
 

Not sure what your point is, here, pardner. After all, I was saying this
is why Orionsupport isn't directly affiliated, so that we wouldn't have to
worry about that in any case... and then you say something that leads me
to believe you took the exact wrong meaning. You've been doing that a
lot; this kind of dedication takes a peculiar sort of effort.

  The buck stops here sign is on Karl's and Magnus' desk, right?  I hope
  they don't usually ride in the same car together all time. :)
 Well, I didn't know they HAD desks - I can see Satan doing all his work on
 a futon for some reason - but at this point, we don't know how much
 responsibility Oracle has taken. *shrug* We'll see.
 They may not have desks yet, but they can probably afford to order big,
 hand-carved, mahogony ones now. 

I hope so! They deserve them. At any rate, I have a little more
information about the deal now than I did; your dire warnings are, IMHO,
unfounded. Sure, there are some nasty implications for those poor souls
still waiting for Godot^WIronflare to provide Oracle-level support for
Orion, but even those are merely implications and not a fomral reality
yet.

 From your previous comment about looking at Oracle, let me cite an example
 about supporting integrated products.  A couple of years ago, I found an
 error in Adrian Cockroft's book, Sun Performance and Tuning regarding the
 formulas for shared memory and semaphore settings in etc/system.  Of
 course, Adrian (creator of the VirtualAdrian tools) is a god and I'm just a
 troll (as someone recently pointed out), but even trolls get lucky now and
 then.

Are you a BLIND troll, that's the real question.

[snip, snippety snip snip snip!] 

 My point is that the dance between Orion and Oracle could be just as
 complex. 

Sure, could be. But isn't. :) I'm not trying to hold some special knowldge
over your head, and it's quite possible that what I know is public
knowledge, but until I confirm that, I ain't saying.

 Karl/Magnus have not, apparently, hired the people on the Ironflare side to
 free them up to address such questions.  Just because Oracle has a support
 infrastucture, call center, help desk, etc, does not mean that Oracle has
 anyone who can deal with the really tough problems.  

Doubt THAT - the whole reason they licensed Orion is because they found
that they were getting the real tough problems and their lousy
infrastructure wasn't set up for it. Not a matter of THEIR SKILL, mind
you, but of the original thought that went into their misbegotten app
server crap.

 Before getting flamed again, I am NOT picking on Orion/Oracle here.  I
 believe orion-interest and orionsupport are more responsive and accurate,
 generally, than the big companies.  I would still have great confidence in
 just about any Orion/Oracle combination.  We shall, as you say, *shrug* see.

You sure? Why do you?

 I would like to see Oracle at least attempt to hire some of the people
 around the world who contributed their valuable time to debugging Orion
 free of charge.  NOT ME.  I'm not looking for a job with Orionacle.

Me either... but I'm not sure if this is your actual gripe. If it is, hey,
um, wow... you're over-reacting by a lot, IMHO.

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





Re: Error in deploying EJBs on OC4J

2001-06-12 Thread Brynolf Andersson

The best way to get answers on OC4J is to use the Oracle technet 
(http://otn.oracle.com/index.html). It's free but you do need to register.
The Discussion forums are monitored by Oracle and they answer the questions 
as soon as they have an answer


From: Venkata_Nallam [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Error in deploying EJBs on OC4J
Date: Tue, 12 Jun 2001 19:51:57 +0530

Hello,
   While I am deploying EJB in OC4J, following error has occured.
Entrmine is my application.mysessionbean.jar is my sessionbean.

  Web war files are working fine.

Any suggestion in this regard will be appreciated.

Error in application Entrmine: Error loading package at
file:/E:/OC4J/j2ee/home/applications/Entrmin
e/mysessionbean.jar, Unable to find/read assembly info for
E:\OC4J\j2ee\home\applications\Entrmine/m
ysessionbean.jar (META-INF/ejb-jar.xml)



Regards
kumar



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





Re: Error in deploying EJBs on OC4J

2001-06-12 Thread Kuassi Mensah


Hello,
i suspect a typo
make sure ejb-jar.xml is present under META-INF of the ejb root in
the .ear
for OC4J related questions, please use Oracle's TechNet dedicated forum
located here
http://technet.oracle.com:89/cgi-bin/forumdisplay.cgi?action=topicsforum=Oracle9iAS%20J2EEnumber=99
Kuassi Mensah
Venkata_Nallam wrote:
Hello,
 While I am deploying EJB
in OC4J, following error has occured.
Entrmine is my application.mysessionbean.jar is my sessionbean.
Web war files are working fine.
Any suggestion in this regard will be appreciated.
Error in application Entrmine: Error loading package at
file:/E:/OC4J/j2ee/home/applications/Entrmin
e/mysessionbean.jar, Unable to find/read assembly info for
E:\OC4J\j2ee\home\applications\Entrmine/m
ysessionbean.jar (META-INF/ejb-jar.xml)
Regards
kumar


begin:vcard 
n:;Kuassi
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Kuassi Mensah
end:vcard



A connection with the server could not be established error ...

2001-06-12 Thread Tony Fonager

I have a problem with an otherwise  successfull Orion test implementation.

It works well, no errors are generated or trapped during our stress test,
but sometimes when calling a webpage on the Orionserver, I get this error in
Internet Explorer browser :

A connection with the server could not be established

I refuses to give me a connection to the server ?!?!?!? Sometimes I just get
the wellknown page in Internet Explorer, where it said the server cannot be
located or DNS error ...

If I refresh, the normal result comes up ... if I continue to press refresh,
the same situation can occur again.

It must be told, that the machine running this test i VERY stressed, taking
up 95% of the processortime during the test.

But I cannot accept, that my calls to the Orion server gets cut off - then I
would prefer a slow response time, rather then not even getting a connection
...

Any ideas what I can do about this ?


-
Friendly greetings from Denmark,
Tony Fonager

Netcoders ApS - http://www.netcoders.dk
Chart.dk - http://www.chart.dk
iGroups - http://www.igroups.dk 




Getting Orion support from Oracle

2001-06-12 Thread Don








Id be very careful about misrepresenting to
oracle support that you have an Oracle product with Orion installed in it so
you can get assistance on a problem you have with the Orion ONLY product because
you feel that the Orion documentation or support is less than optimal.



Thats called fraud in some parts of the world.



An unlike recent threads discussing contract
or license violations, I suspect you could get sued by Oracle.








RE: A connection with the server could not be established error ...

2001-06-12 Thread elephantwalker

Tony,

ie is a little flakey with its 'friendly' messages. Try using ns to see what
the exact error is, or turn-off the 'friendly' messages from ie.

regards,

the elephantwalker




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tony Fonager
Sent: Tuesday, June 12, 2001 12:25 PM
To: Orion-Interest
Subject: A connection with the server could not be established error
...


I have a problem with an otherwise  successfull Orion test implementation.

It works well, no errors are generated or trapped during our stress test,
but sometimes when calling a webpage on the Orionserver, I get this error in
Internet Explorer browser :

A connection with the server could not be established

I refuses to give me a connection to the server ?!?!?!? Sometimes I just get
the wellknown page in Internet Explorer, where it said the server cannot be
located or DNS error ...

If I refresh, the normal result comes up ... if I continue to press refresh,
the same situation can occur again.

It must be told, that the machine running this test i VERY stressed, taking
up 95% of the processortime during the test.

But I cannot accept, that my calls to the Orion server gets cut off - then I
would prefer a slow response time, rather then not even getting a connection
...

Any ideas what I can do about this ?


-
Friendly greetings from Denmark,
Tony Fonager

Netcoders ApS - http://www.netcoders.dk
Chart.dk - http://www.chart.dk
iGroups - http://www.igroups.dk





RE: Getting Orion support from Oracle

2001-06-12 Thread elephantwalker



The 
Oracle support que demands a csi number...no number, no support. With the csi 
number, oracle knows exactly what you have licensed. Unless you guess at the csi 
number, its kind-of difficult to fool them.

However, otn and the documentation from oracle is available for no cost. 
We can all take advantage of that.

Regards,

the 
elephantwalker


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  DonSent: Tuesday, June 12, 2001 12:59 PMTo: 
  Orion-InterestSubject: Getting Orion support from 
  Oracle
  
  Id be very careful about misrepresenting 
  to oracle support that you have an Oracle product with Orion installed in it 
  so you can get assistance on a problem you have with the Orion ONLY product 
  because you feel that the Orion documentation or support is less than 
  optimal.
  
  Thats called fraud in some parts of the 
  world.
  
  An unlike recent threads discussing 
  contract or license violations, I suspect you could get sued by 
  Oracle.


RE: Censorship or slow server ?

2001-06-12 Thread Hani Suleiman


Off you go to our local asylum. (sorry, couldn't resist)

--- Original Message ---
From: Tony Fonager [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: 6/12/01 7:56:12 AM


I posted a message to this list 25 hours ago, exposing some
bad experiences
with Orion.

How come this has not shown up yet, 25 hours later ... ???

Or has the moderator of this list removed my message, as it
was a bit
negative ??



-
Regards,
Tony Fonager

http://www.netcoders.dk








RE: Oracle deal gag

2001-06-12 Thread Jeff Schnitzer

 From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
 
 Seriously, smartass, I'd like a 'yes' or 'no' answer from you: do you
 really think the CIA doesn't monitor the web?

I'm not a smartass.  I'm just out to get you :-)

From Catch-22:

They're trying to kill me, Yossarian told him calmly.
No one's trying to kill you, Clevinger cried.
Then why are they shooting at me? Yossarian asked.
They're shooting at *everyone*, Clevinger answered.  They're
trying to kill everyone.
And what difference does that make?

The difference between cynicism and paranoia is the difference between:

The CIA is monitoring email on the internet.
The CIA is monitoring *my* email on the internet.


I can, with almost complete confidence, assure you that nobody at
Ironflare is censoring your email.  From longtime observation of this
list, I have discovered that the mailing list software Sucks Bigtime.
I'm sorry to say this, because someone at Ironflare probably put a
significant amount of time into it in a noble but misguided attempt to
show off the Orion server.  Unfortunately natural brilliance and a
thorough understanding of J2EE do not automatically translate into
detailed knowledge of ESMTP and the specific manner in which the
hundreds of mail agents out there butcher it.  The consequence is that
with *frequent* occurance mail is lost, mail is delivered out of order,
the list blacks out for weekends at a time, vacation messages get sent
to everyone, mail senders get back dozens of bounce messages, etc.  I
started that thread you mentioned (Orion Team Needs New List
Software), and it's still very much true.  I suspect that vanity
prevents Ironflare from converting to Mailman or some other mature
package.

As to why Karl never responded to your message about licensing
violation, hey, maybe he's too busy working on the broken list software.
Or more likely, Orion.  Think about it.  What's a two-person company in
Sweden going to do about somebody 10,000 miles away abusing a $1500
license?  The practical limitations of enforcement pretty much mean that
anyone that wants to can steal the software.  For a small company and a
relatively inexpensive product you just have to hope that there are
enough honest customers out there to pay your bills.  Fortunately it
looks like there are.


I don't understand why you think the Oracle deal is anything but a
fanstastic coup for both us (the Orion community) and Ironflare.  It
validates the product, puts a significant amount of $$$ in the pockets
of Karl  Magnus, makes it a lot easier for us to sell Orion to
clients, and *radically* increases our market value as experts with The
Oracle J2EE Solution as well as the obscure Swedish app server we know
and love.  Larry and Karl make a deal, and suddenly my resume gets a
steroid injection!  I couldn't be happier!

Will Oracle draw from this community?  Send them a resume and find out!
What kind of validation are you looking for?  Sure we (the users) spend
a lot of time debugging the app server - but hey, nobody is forcing us
to run the autoupdater.  And a lot of people, myself included, consider
this just the least we can offer to Ironflare for providing us with a
free server.  Free for noncommercial use has bought them a lot more
than $1500 worth of my time, and I'm quite content about it.


Jeff Schnitzer
[EMAIL PROTECTED]




Re: Oracle deal gag... but on a different note.

2001-06-12 Thread Christopher J. Woods

Joseph B. Ottinger wrote:
 
 On Tue, 12 Jun 2001, Jay Armstrong wrote:

[...]

Greetings,

I respectfully request that those carrying on the conspiracy thread of
discussion please take it off-list. It has comprised, I estimate, at
least 50% of the orion-interest list the past few days.

Thanks!

Chris Woods
[EMAIL PROTECTED]




RE: Oracle deal gag... but on a different note.

2001-06-12 Thread Jay Armstrong

Joseph,

At 12:57 PM 6/12/01 -0500, you wrote:
On Tue, 12 Jun 2001, Jay Armstrong wrote:

 Sure, I can understand this -- good thing we have orionsupport.com, which
 isn't affiliated with Ironflare. This is why I've never been willing to
 advertise anything on orionsupport, and why I'm not directly affiliated in
 any way with Ironflare - because I want the freedom to some day post
 something like Orion totally sucks in area XYZ (not mentioning anything
 like JMS, for example, am I?) without worrying about receiving a warning
 from the Swedish Mafia. 
 
 You see, Joseph, it's this kind of humor that makes people think of waking
 up next to their favorite racehorse's head.
 

Not sure what your point is, here, pardner. After all, I was saying this
is why Orionsupport isn't directly affiliated, so that we wouldn't have to
worry about that in any case... and then you say something that leads me
to believe you took the exact wrong meaning. You've been doing that a
lot; this kind of dedication takes a peculiar sort of effort.

My point is that some slow people, like me, can't always tell right away
when you are kidding (remember A Swedish Idea). Mafia-Godfather
I-horsehead in movie director's bed.  Get it?

  The buck stops here sign is on Karl's and Magnus' desk, right?  I hope
  they don't usually ride in the same car together all time. :)
 Well, I didn't know they HAD desks - I can see Satan doing all his work on
 a futon for some reason - but at this point, we don't know how much
 responsibility Oracle has taken. *shrug* We'll see.
 They may not have desks yet, but they can probably afford to order big,
 hand-carved, mahogony ones now. 

I hope so! They deserve them. At any rate, I have a little more
information about the deal now than I did; your dire warnings are, IMHO,
unfounded. Sure, there are some nasty implications for those poor souls
still waiting for Godot^WIronflare to provide Oracle-level support for
Orion, but even those are merely implications and not a fomral reality
yet.

Okay.  Somehow, I don't think Karl is going to ever teach me the secret
Ironflare handshake.

 From your previous comment about looking at Oracle, let me cite an example
 about supporting integrated products.  A couple of years ago, I found an
 error in Adrian Cockroft's book, Sun Performance and Tuning regarding the
 formulas for shared memory and semaphore settings in etc/system.  Of
 course, Adrian (creator of the VirtualAdrian tools) is a god and I'm just a
 troll (as someone recently pointed out), but even trolls get lucky now and
 then.

Are you a BLIND troll, that's the real question.

[snip, snippety snip snip snip!] 

BLIND and DUMB.  You're slipping, not snipping, Joseph.

 My point is that the dance between Orion and Oracle could be just as
 complex. 

Sure, could be. But isn't. :) I'm not trying to hold some special knowldge
over your head, and it's quite possible that what I know is public
knowledge, but until I confirm that, I ain't saying.

Secret handshake and secret decoder ring...

 Karl/Magnus have not, apparently, hired the people on the Ironflare side to
 free them up to address such questions.  Just because Oracle has a support
 infrastucture, call center, help desk, etc, does not mean that Oracle has
 anyone who can deal with the really tough problems.  

Doubt THAT - the whole reason they licensed Orion is because they found
that they were getting the real tough problems and their lousy
infrastructure wasn't set up for it. Not a matter of THEIR SKILL, mind
you, but of the original thought that went into their misbegotten app
server crap.

Maybe so.  What about Karl's pledge 6 months ago that hiring the right
people was Ironflare's first order of business?  They've hired one
recently, or so I've heard.

 Before getting flamed again, I am NOT picking on Orion/Oracle here.  I
 believe orion-interest and orionsupport are more responsive and accurate,
 generally, than the big companies.  I would still have great confidence in
 just about any Orion/Oracle combination.  We shall, as you say, *shrug*
see.

You sure? Why do you?

I have confidence; however, most of my major (Fortune 500) clients have not
shown confidence in products where the only two people in the world who
understand the guts of it live 8,000 miles away and might get hit by a bolt
of lightening at the same time.  Something like, Oops, we regret to inform
you that we cannot support your $30M startup because the only two people
who can answer that question are unavailable.

You seem to have inside knowledge about this.  Does Oracle (or anyone
besides Karl and Magnus) have a copy of the Orion Server source code?

 I would like to see Oracle at least attempt to hire some of the people
 around the world who contributed their valuable time to debugging Orion
 free of charge.  NOT ME.  I'm not looking for a job with Orionacle.

Me either... but I'm not sure if this is your actual gripe. If it is, hey,
um, wow... you're over-reacting by a lot, 

Can't get taglibs to work in orion

2001-06-12 Thread Tim Pouyer



I downloaded the custom tags provided on orion's 
site and installed them on my orion 1.5.2 server. But when I try to go to 
the jsp page that uses them I get a 'page cannot be displayed error'. I 
can run jsp's that do not utilize orion's taglibs so I think it might have 
something to do with my deployment descriptors. In my web.xml file in 
web-inf directory i have the following tags:


?xml version="1.0"?
!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
web-app
display-nameHolder Project/display-name

login-config
auth-methodBASIC/auth-method
/login-config
taglib 
taglib-uriutiltags/taglib-uri
taglib-location/WEB-INF/lib/utiltags.jar/taglib-location 
/taglib 

/web-app
and I put %@ taglib uri="utiltags" 
prefix="util" % at the top of my jsp.With all subsequent code 
referenced like this util:sometag
if someone could please explain what I am doing wrong I 
would greatly appreciate it.


Re: Censorship or slow server ?

2001-06-12 Thread Stan Ng
Title: SV: Censorship or slow server ?




I have to agree with Mr. Schnitzer that the 
currentmailing list software is inadequate. I think it would be 
better to switch to GNU Mailman and reallocate the time spent fussing over the 
mailing list software towards more productive ends. Just my 
2c...

BTW, what are the reasons for staying withthe 
current mailing list software?


  - Original Message - 
  From: 
  Magnus 
  Rydin 
  To: Orion-Interest 
  Sent: Tuesday, June 12, 2001 5:30 
AM
  Subject: SV: Censorship or slow server 
  ?
  
  I've had some posting problems the last 7 days. 
  Try again, the software will soon be updated. 
  WR 


It didn't dawn on me

2001-06-12 Thread Kemp Randy

It didn't dawn on me, that as I sit here being a part
time Oracle DBA, and playing with J2EE on Resin,
Orion, and Jboss in development, I now know the
complete Oracle picture, and since we have an Oracle
site license, I can run the new Orion software for
nothing through Oracle.  Of course, I'm the same
person who inserted a CD into a Sun server, and
couldn't get it to eject.  How was I to know you need
to type EJECT?  Luckily, I didn't have to open a
support ticket for this issue.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: Security bug with application clients?

2001-06-12 Thread cybermaster

Web Application Authentication seems to work fine - a client of mine is
using FORM based authentication for a simple app. I don't know what you mean
by dynamic identities - we store userid info in a relational db.

I have not checked the j2ee specs for required behaviour of non-Web
application clients - what do the specs say? However, I suspect the problem
may have to do with the RoleManager, which to my knowledge isn't
configurable at this time in Orion and relies on *.xml (non-dynamic as in
rel. db?) role definitions. You may want to try to use RoleManager.login
(instead of setting the JNDI properties) on your application client - I have
not tried it, so don't know wether this works. You may have noticed there is
no logout method specified - I don't know how a Web Session does that
internally (but it sure works)

--peter

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Endres
Sent: Tuesday, June 12, 2001 10:51 AM
To: Orion-Interest
Subject: Re: Security bug with application clients?

 I think maybe I didn't make something clear.  I am using a java
application client, NOT a web client.  As such, I cannot invalidate
sessions, make posts, etc.


I will repeat that we have seen that Orion's InitialContext and Principal
identity
features do not work. They do not work in servlets, they do not work in
client apps.
They do not work for JMS. They do not work, Sam I am. We have given up on
using any
container authentication short of guest. This is only for dynamic
identities.
It appears that static identity via the 'jndi.properties' file works ok.

 Orion seems to be written primarily as a web app server, and I have seen
very little information on using it as a direct application server (in Orion
literature or in the Oracle OC4J docs.)  Since very few people are using
Orion in this way, I guess I should expect to see a few bugs here and there.
(I'm guessing that this is an application-client specific issue.)


We use Orion with standalone Java client applications. They work fine.
Except for authentication, which does not work.






RE: Can't get taglibs to work in orion

2001-06-12 Thread cybermaster









Your setup
looks fine  same works for me. I assume some typo somewhere else  e.g. within
the tag.

Turn off the
nice error messages or whatever it is called in IE, to find out whats going
on.



 --peter



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Tim Pouyer
Sent: Tuesday, June 12, 2001 4:30
PM
To: Orion-Interest
Subject: Can't get taglibs to work
in orion



I downloaded the custom tags provided on
orion's site and installed them on my orion 1.5.2 server. But when I try
to go to the jsp page that uses them I get a 'page cannot be displayed
error'. I can run jsp's that do not utilize orion's taglibs so I think it
might have something to do with my deployment descriptors. In my web.xml
file in web-inf directory i have the following tags:



?xml version=1.0?

!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD
Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd

web-app

display-nameHolder Project/display-name

login-config

auth-methodBASIC/auth-method

/login-config

taglib 

taglib-uriutiltags/taglib-uri

taglib-location/WEB-INF/lib/utiltags.jar/taglib-location


/taglib 

/web-app

and I put %@ taglib uri=utiltags
prefix=util % at the top of my jsp.With all subsequent
code referenced like this util:sometag

if someone could please explain what I am doing
wrong I would greatly appreciate it.








RE: A connection with the server could not be established error ...

2001-06-12 Thread Shane Witbeck

FYI, there is an option in IE to NOT show friendly error messages which is
more helpful when debugging.

Shane Witbeck
www.digitalsanctum.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
Sent: Tuesday, June 12, 2001 4:07 PM
To: Orion-Interest
Subject: RE: A connection with the server could not be established
error ...


Tony,

ie is a little flakey with its 'friendly' messages. Try using ns to see what
the exact error is, or turn-off the 'friendly' messages from ie.

regards,

the elephantwalker




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tony Fonager
Sent: Tuesday, June 12, 2001 12:25 PM
To: Orion-Interest
Subject: A connection with the server could not be established error
...


I have a problem with an otherwise  successfull Orion test implementation.

It works well, no errors are generated or trapped during our stress test,
but sometimes when calling a webpage on the Orionserver, I get this error in
Internet Explorer browser :

A connection with the server could not be established

I refuses to give me a connection to the server ?!?!?!? Sometimes I just get
the wellknown page in Internet Explorer, where it said the server cannot be
located or DNS error ...

If I refresh, the normal result comes up ... if I continue to press refresh,
the same situation can occur again.

It must be told, that the machine running this test i VERY stressed, taking
up 95% of the processortime during the test.

But I cannot accept, that my calls to the Orion server gets cut off - then I
would prefer a slow response time, rather then not even getting a connection
...

Any ideas what I can do about this ?


-
Friendly greetings from Denmark,
Tony Fonager

Netcoders ApS - http://www.netcoders.dk
Chart.dk - http://www.chart.dk
iGroups - http://www.igroups.dk







using jDriver from BEA WebLogic

2001-06-12 Thread Ta Nguyen Binh Duong
Title: using jDriver from BEA WebLogic





Hi all,
How can I use the WebLogic jDriver for MS SQL Server 7 in jsp pages with Orion? This driver has a license file, and when I start the jsp page, there's an error: LicenseNotFoundException. How can I show the server way to the license file? I've changed my system classpath toward the license file, but it did not affect. Does Orion use the system classpath or it has another one?

Thanks


Binh Duong
[EMAIL PROTECTED]





RE: Can't get taglibs to work in orion

2001-06-12 Thread Aaron Tavistock



Might 
be something to do with the fact that the web.xml dtd requires a certain 
ordering. I've run into this before and it was extremely difficult to 
figure out exactly what happened. After I discovered the problem I then 
could not fathom Sun wrote the dtd to require a particullaar 
order.

Either 
way, try putting the taglib lines before your security 
constraint.

  -Original Message-From: Tim Pouyer 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 12, 2001 
  3:30 PMTo: Orion-InterestSubject: Can't get taglibs to 
  work in orion
  I downloaded the custom tags provided on orion's 
  site and installed them on my orion 1.5.2 server. But when I try to go 
  to the jsp page that uses them I get a 'page cannot be displayed error'. 
  I can run jsp's that do not utilize orion's taglibs so I think it might have 
  something to do with my deployment descriptors. In my web.xml file in 
  web-inf directory i have the following tags:
  
  
  ?xml version="1.0"?
  !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
  2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
  web-app
  display-nameHolder Project/display-name
  
  login-config
  auth-methodBASIC/auth-method
  /login-config
  taglib 
  taglib-uriutiltags/taglib-uri
  taglib-location/WEB-INF/lib/utiltags.jar/taglib-location 
  
  /taglib 
  
  /web-app
  and I put %@ taglib uri="utiltags" 
  prefix="util" % at the top of my jsp.With all subsequent code 
  referenced like this util:sometag
  if someone could please explain what I am doing wrong I 
  would greatly appreciate it.


javax.servlet.Config

2001-06-12 Thread Yi Su

Hi, Group, 
I've found a class javax.servlet.Config in Orion.jar.
But there is no such a class defination in in the
Servlet Specs (2.3). Could someone enlight me on this
issue please?

Regards, 
Yeoman



Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie




Please help me

2001-06-12 Thread mahesh_ca

Hi Everybody
   I am having problem in getting orion connected to Oracle 8i on Solaris 8 . I cannot 
execute the addressbook example due to that though i have successfully tested the 
Orion-Primer which is without EJBs

   I keep getting SQL IOException . Network Adapter Error When it is deploying the 
application.jar file

  I have following configuration
 1) Solaris 8
 2) Oracle 8i
 3) j2sdk1.3.1 as i want to implement SSL
 4) j2sdkee1.3.1
 5) Orion1.4.0
  I am using CMP for Entity Bean 

I have following data-source
data-source
 class=oracle.jdbc.pool.OracleDataSource
 name=Oracle
 location=jdbc/devDS
 xa-location=jdbc/xa/devXA
 ejb-location=jdbc/devDS
 connection-driver=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:system/manager@station-one:1521:application
 username=system
 password=manager
 inactivity-timeout=30
 schema=database-schemas/oracle.xml
/

  I have gone through all through the mailing list but no success. Can you please help 
me with this.

Thanks
Mahesh


__
123India.com - India's Premier Portal 
Get your Free Email Account at http://www.123india.com






Re: Please help me

2001-06-12 Thread denis despinoy

data-source

Change the following line the read the evermind class
copy and paste the line from the Hypersonic datasource
class 
...

  class=REPLACE THIS TO READ the evermind class
oracle.jdbc.pool.OracleDataSource
  name=Oracle


  location=jdbc/devDS
  xa-location=jdbc/xa/devXA
  ejb-location=jdbc/devDS
  connection-driver=oracle.jdbc.driver.OracleDriver

url=jdbc:oracle:thin:system/manager@station-one:1521:application
  username=system
  password=manager
  inactivity-timeout=30
  schema=database-schemas/oracle.xml
 /
 


--- [EMAIL PROTECTED] wrote:
 Hi Everybody
I am having problem in getting orion connected to
 Oracle 8i on Solaris 8 . I cannot execute the
 addressbook example due to that though i have
 successfully tested the Orion-Primer which is
 without EJBs
 
I keep getting SQL IOException . Network Adapter
 Error When it is deploying the application.jar file
 
   I have following configuration
  1) Solaris 8
  2) Oracle 8i
  3) j2sdk1.3.1 as i want to implement SSL
  4) j2sdkee1.3.1
  5) Orion1.4.0
   I am using CMP for Entity Bean 
 
 I have following data-source
 data-source
  class=oracle.jdbc.pool.OracleDataSource
  name=Oracle
  location=jdbc/devDS
  xa-location=jdbc/xa/devXA
  ejb-location=jdbc/devDS
  connection-driver=oracle.jdbc.driver.OracleDriver

url=jdbc:oracle:thin:system/manager@station-one:1521:application
  username=system
  password=manager
  inactivity-timeout=30
  schema=database-schemas/oracle.xml
 /
 
   I have gone through all through the mailing list
 but no success. Can you please help me with this.
 
 Thanks
 Mahesh
 
 

__
 123India.com - India's Premier Portal 
 Get your Free Email Account at
 http://www.123india.com
 
 
 


=


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: Security bug with application clients?

2001-06-12 Thread Dvornikov Victor

Please give more details. It is confusing to hear that it doesn't work when
in my case all works. I checked 3 different cases:
1) WEB authentication - OK,
2) application-clent with jndi.prop file - OK.
3) remote client with properties set via Initial Context
(+RMIInitialContextFactory instead of ClientInitialContextFact) - OK.
So what's the point? 

 -Original Message-
 From: cybermaster [SMTP:[EMAIL PROTECTED]]
 Sent:   13  2001 01:20
 To:   Orion-Interest
 Subject:  RE: Security bug with application clients?
 
 Web Application Authentication seems to work fine - a client of mine is
 using FORM based authentication for a simple app. I don't know what you
 mean
 by "dynamic" identities - we store userid info in a relational db.
 
 I have not checked the j2ee specs for required behaviour of non-Web
 application clients - what do the specs say? However, I suspect the
 problem
 may have to do with the RoleManager, which to my knowledge isn't
 configurable at this time in Orion and relies on *.xml ("non-dynamic as in
 rel. db"?) role definitions. You may want to try to use RoleManager.login
 (instead of setting the JNDI properties) on your application client - I
 have
 not tried it, so don't know wether this works. You may have noticed there
 is
 no logout method specified - I don't know how a Web Session does that
 internally (but it sure works)
 
   --peter
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Endres
 Sent: Tuesday, June 12, 2001 10:51 AM
 To: Orion-Interest
 Subject: Re: Security bug with application clients?
 
  I think maybe I didn't make something clear.  I am using a java
 "application" client, NOT a web client.  As such, I cannot invalidate
 sessions, make posts, etc.
 
 
 I will repeat that we have seen that Orion's InitialContext and Principal
 identity
 features do not work. They do not work in servlets, they do not work in
 client apps.
 They do not work for JMS. They do not work, Sam I am. We have given up on
 using any
 container authentication short of "guest". This is only for "dynamic"
 identities.
 It appears that static identity via the 'jndi.properties' file works ok.
 
  Orion seems to be written primarily as a web app server, and I have seen
 very little information on using it as a direct application server (in
 Orion
 literature or in the Oracle OC4J docs.)  Since very few people are using
 Orion in this way, I guess I should expect to see a few bugs here and
 there.
 (I'm guessing that this is an application-client specific issue.)
 
 
 We use Orion with standalone Java client applications. They work fine.
 Except for authentication, which does not work.
 
 




Re: Can't get taglibs to work in orion

2001-06-12 Thread Gordon Reynolds \(Cyonara\)



Tim,

 I think your 
taglib-location should point to a taglib descriptor file instead. 
Following
 is an example fromone of 
myapplications:

 taglib 
taglib-uri/util/taglib-uri 
taglib-locationweb-inf/tlds/tags.tld/taglib-location 
/taglib
 Also note the slash before 
'util' and the absence of the slash before 'web-inf'.

Gordon.

- Original Message - 

  From: 
  Tim Pouyer 
  To: Orion-Interest 
  Sent: Tuesday, June 12, 2001 3:29 
PM
  Subject: Can't get taglibs to work in 
  orion
  
  I downloaded the custom tags provided on orion's 
  site and installed them on my orion 1.5.2 server. But when I try to go 
  to the jsp page that uses them I get a 'page cannot be displayed error'. 
  I can run jsp's that do not utilize orion's taglibs so I think it might have 
  something to do with my deployment descriptors. In my web.xml file in 
  web-inf directory i have the following tags:
  
  
  ?xml version="1.0"?
  !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
  2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
  web-app
  display-nameHolder Project/display-name
  
  login-config
  auth-methodBASIC/auth-method
  /login-config
  taglib 
  taglib-uriutiltags/taglib-uri
  taglib-location/WEB-INF/lib/utiltags.jar/taglib-location 
  
  /taglib 
  
  /web-app
  and I put %@ taglib uri="utiltags" 
  prefix="util" % at the top of my jsp.With all subsequent code 
  referenced like this util:sometag
  if someone could please explain what I am doing wrong I 
  would greatly appreciate it.


Re: using jDriver from BEA WebLogic

2001-06-12 Thread SCOTT FARQUHAR

I think from reading other people's posts, that the system's classpath is not used 
when running a jar.

You can put it into one of the lib or classes directories.

 [EMAIL PROTECTED] 06/13/01 11:32am 
Hi all,
How can I use the WebLogic jDriver for MS SQL Server 7 in jsp pages with
Orion? This driver has a license file, and when I start the jsp page,
there's an error: LicenseNotFoundException. How can I show the server way to
the license file? I've changed my system classpath toward the license file,
but it did not affect. Does Orion use the system classpath or it has another
one?
Thanks

Binh Duong
[EMAIL PROTECTED] 



---
This message has been scanned by MailSweeper.
---



---
This e-mail is solely for the use of the intended recepient
and may contain information which is confidential or
privileged. Unauthorised use of its contents is prohibited.
If you have received this e-mail in error, please notify 
the sender immediately via e-mail and then delete the 
original e-mail.
---