Re: URGENT: talking with other app server?

2000-11-09 Thread James Ho

Hi there,

So..basically..if I build a system that needs to contact to different
app servers, I'd have to grab each of their classes?

Will there be, in the future, be specified by Sun,  the way this is
done?  like..maybe a common protocol they have to speak or something?

Regards, James,

On Thu, 9 Nov 2000 10:28:26 +0530, you wrote:

>Hi James.
>
>I think , you can implement it.
>Your servlet  will just act as a client for other Application server.
>
>For weblogic, you can download the evaluation version of Weblogic which is
>free.
>After deploying the bean to Weblogic you can include following lines
>in the servlet.
>
>Properties p = new Properties();
>p.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialC
>ontextFactory");
>
>p.put(javax.naming.Context.PROVIDER_URL,"t3://:7001");
>p.put(Context.SECURITY_PRINCIPAL,"");
>p.put(Context.SECURITY_CREDENTIALS,"");
>
> Context cx = new InitialContext(p);
> Object objHome  = cx.lookup(""); [jndi-name  which is
>specified in weblogic-ejb-jar.xml]
>.etc.
>
>While running Orion you have to also provide the classpath for Weblogic to
>get Initial Context factory
>which can be
>\classes .
>
>
>- Original Message -
>From: James Ho <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Sent: Tuesday, November 07, 2000 9:31 AM
>Subject: URGENT: talking with other app server?
>
>
>> Hi everyone.
>>
>> Is it possible for a servlet deployed in orion talk to other app server
>> to access its beans?  if so, how? what is the requirement?
>>
>>
>> I have got Orion using JNDI to use another Orion's bean, my main concern
>> is the fact that when initiating the JNDI context, I would have to
>> setthe property:
>> Properties props = new Properties();
>> props.put("java.naming.factory.initial",
>> "com.evermind.server.rmi.RMIInitialContextFactory");
>> props.put("java.naming.provider.url", provider.getPath());
>> props.put("java.naming.security.principal",
>> provider.getRemoteLogin());
>> props.put("java.naming.security.credentials",
>> provider.getRemotePasswd());
>> props.put("dedicated.connection","true");
>> props.put("classLoader",StampHome.class.getClassLoader());
>> context = new InitialContext(props);
>>
>> What if talking with weblogic?  I would have to change the
>> ContextFactory..can I download any impl from weblogic and use it (for
>> free) ?
>>
>> If you can help, please reply Asap, thanks a million!
>>
>> James.
>
>





RE: Non-Commercial

2000-11-09 Thread J.T. Wenting
Title: Non-Commercial



development certainly (as it explicitly says so). For the rest (please 
give an official statement) non-commercial usually means non-profit 
organizations and educational use.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Lee, Se 
  HeeSent: Thursday, November 09, 2000 23:42To: 
  Orion-InterestSubject: Non-Commercial
  Sorry for stupid question... 
  Anyway, it seems like Orion server is free for non-commercial 
  usage Does that mean that for non-profit organizational use, it's free??? 
  or is it for development license?
  Se Hee 


SQL insert statements for CMP beans

2000-11-09 Thread Vidur Dhanda

Hello,

Is there anyway to examine the SQL insert statements that are generated
for CMP beans?  I'm trying to understand a curious problem -- A CMP bean
(X) has a field that is another CMP bean (Y).  Y's primary key is a
serializable.  It is legal for X to not have a Y assigned to it.  I
create a bunch of X beans that do not have any values assigned to Y.
The creates work fine.  I expect that the database columns will have
nulls as the value for the Y column when the entity ref is null and Y's
primary key otherwise.  Now, I examine the database -- Hypersonic SQL.
The values for the Y column are not null!  Instead, they are
"aced000570" -- I guess, some header information from Java
serialization.

My suspicion is that Orion is not checking whether the entity ref is
null when generating the SQL.  But, that's not possible since it has to
extract the primary key from the entity ref.  How do I solve this?

Thanks,
Vidur

--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com






Does Orion support CMP using user defined types?

2000-11-09 Thread Ken Shitamoto

Does Orion support CMP using user defined types?
e.g. oracle objects?

thanks in advance,

Ken

__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/




RE: Servlet regains control after execution of .Forward()

2000-11-09 Thread Scott Lawrence
Title: Servlet regains control after execution of .Forward()



Just 
put a return after the call to forward.
 
The 
forward call is not magical.  It's just a method call and when the method 
completes, the thread continues to System.out.println("BUGGER ME! I 
AM HERE AFTER ALL");  The only thing the spec calls for is that the 
response be committed and closed by the container before the forward method 
returns.  The only way (from an interface perspective) to skip that last 
System.out call without is to throw an exception in the forward call that's 
declared in the throws clause of the service method.  The container could 
then interpret interpret the is exception as the result of a successful forward 
and basically ignore it but the spec does not call for this and to my knowledge, 
no server that I does this... they'd have to use the IOException or 
ServletException in an unorthodox way to accomplish this...  In any case, 
just put a return after the forward.
 
 
The 
following is an excerpt from Servlet2_2-spec.pdf
 
8.4 Forward

The forward method of the RequestDispatcher interface 
may only be called by the calling
servlet if no output has been committed to the client. If output exists in 
the response buffer that has
not been committed, it must be reset (clearing the buffer) before the target 
servlet’s service
method is called. If the response has been committed, an IllegalStateException must be
thrown.
The path elements of the request object exposed to the target servlet must 
reflect the path used to
obtain the RequestDispatcher. The only exception to this is if the 
RequestDispatcher
was obtained via the getNamedDispatcher 
method. In this case, the path 
elements of the
request object reflect those of the original request.
Before the forward method of the RequestDispatcher interface 
returns, the response must
be committed and closed by the servlet container. -Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Grant 
DoranSent: Thursday, November 09, 2000 6:52 PMTo: 
Orion-InterestSubject: Servlet regains control after execution of 
.Forward()

  Hi, 
  (Orion 1.3.8, Windows NT 4, JDK1.3) This should not be possible, but it is happening. After executing the 
  forward() method, control IS returning to the forwarding servlet. I have 
  checked the archives and found that this has been an issue in previous 
  versions of orion.
  Here is the offending fragment: --- if (condition XXX) {   request.getSession().setAttribute("username",username); 
    
  request.getSession().setAttribute("password",password);   System.out.println("[GATEWAYSERVLET]User has now logged in and 
  is being redirected to reception");   
  request.getSession().setAttribute("LoginFailure","false");   
  getServletContext().getRequestDispatcher("/index.jsp").forward(request, 
  response); } else 
  {   
  System.out.println("[GATEWAYSERVLET]Authentication failure. Username:[" + 
  username + "] Password:[" + password + "]");
    
  request.getSession().setAttribute("LoginFailure","true");   
  getServletContext().getRequestDispatcher("/login.jsp").forward(request, 
  response); } System.out.println("BUGGER ME! I AM HERE AFTER ALL");  
  
  Here is the output  
  [GATEWAYSERVLET]User has now logged in and is being 
  redirected to reception [INDEX.JSP]Session is 
  established. UserId = gdoran. Printing frames with menus etc. BUGGER ME! I AM HERE AFTER ALL  
  
  How can this be? Execution of the servlet(thread) is supposed 
  to cease immediately and control handed to the target. 
  Am I missing something? 
  While I'm at it, does anyone know where I can obtain a good 
  pattern example of JSP/Servlet based authentication, with a login page for any 
  unauthenticated requests. I am pushing all requests through a single 
  controller servlet and checking their session object for the required 
  attributes, but I seem to be having problems with retrieving the session. 
  Sometimes the attributes are there, sometimes they aren't. 
  Any guidance would be greatly appreciated. 
  Grant Doran Principle Architect 
  iLaunch inc. (02) 
  89257055 [EMAIL PROTECTED]  
  
    


RE: Multiple websites/virtual domains on one server not found

2000-11-09 Thread Mike Cannon-Brookes

Locations of web sites has nothing to do with context roots.

In your web-site.xml file, in the  element, set the path or
root (can't remember which) to /twsm and it should work.

-mike

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Drew Kidder
> Sent: Friday, November 10, 2000 8:58 AM
> To: Orion-Interest
> Subject: Multiple websites/virtual domains on one server not found
>
>
> I've been perusing the back emails from the list regarding
> virtual domains
> and multiple sites on one host.  I have the following setup,
> running Orion
> 1.3.8:
>
> 1.  I have set up one site under $ORION_HOME/applications/cs2k, and the
> other under $ORION_HOME/applications/twsm.
> 2.  In $ORION_HOME/config, I have created a cs2k-web-site.xml and
> twsm-web-site.xml. In the default-web-site.xml I have added all the
> requisite information as per the docs, and per the emails which I
> have read
> in the archive.
>
> Earlier, I was running the twsm site as the only site under this
> installation. I also had it as the default app (meaning that
> http://orionhost/ would pull up the app).  Now that I have two
> apps running
> under orion, I'm not sure how to call them.  Going to http://orionhost/
> still gives me the twsm site, but http://orionhost/twsm does not give me
> the twsm site, and http://orionhost/cs2k does not give me the cs2k site.
>
> What should the URL be to access each of these sites?  In the respective
> application.xml files, I have added the  directive to the
>  module definition.  For example, the twsm looks like
> this:  /twsm.  Shouldn't that force
> it to look
> for http://orionhost/ ?
>
> Any help would be appreciated.
>
> --
> Andrew Kidder
> L3 SW/Support Engineer, IBU
> Tivoli Systems
>
> 512-436-4544
> [EMAIL PROTECTED]
> http://www.tivoli.com
>
>
>
>





Multiple beans in one jar

2000-11-09 Thread Jim Crossley

I seem to get different behavior when I package beans in my ear file
differently.

Within one application (ear), I have one servlet, one session bean, and
one entity bean.  Very simply, the first tells the second to create the
third.

When I package the servlet up into its war file and each bean into its
own jar file, and then all three into the ear file, everything works
fine when auto-deployed on orion.

However, if I package the two beans up into the same jar file, I get a
NameNotFoundException and the transaction is rolled back.  The
ejb-jar.xml file looks as I would expect -- like a combination of the
separate ejb-jar.xml files in the working ear.  

Before I dig too much further, I was wondering if this was a known bug. 
Should I just get in the habit of putting each bean in its own jar file?

Thanks.




Servlet regains control after execution of .Forward()

2000-11-09 Thread Grant Doran
Title: Servlet regains control after execution of .Forward()





Hi,


(Orion 1.3.8, Windows NT 4, JDK1.3)
This should not be possible, but it is happening. After executing the forward() method, control IS returning to the forwarding servlet. I have checked the archives and found that this has been an issue in previous versions of orion.

Here is the offending fragment:
---
if (condition XXX)
{
  request.getSession().setAttribute("username",username);
  request.getSession().setAttribute("password",password);
  System.out.println("[GATEWAYSERVLET]User has now logged in and is being redirected to reception");
  request.getSession().setAttribute("LoginFailure","false");
  getServletContext().getRequestDispatcher("/index.jsp").forward(request, response);
}
else
{
  System.out.println("[GATEWAYSERVLET]Authentication failure. Username:[" + username + "] Password:[" + password + "]");

  request.getSession().setAttribute("LoginFailure","true");
  getServletContext().getRequestDispatcher("/login.jsp").forward(request, response);
}
System.out.println("BUGGER ME! I AM HERE AFTER ALL");



Here is the output

[GATEWAYSERVLET]User has now logged in and is being redirected to reception
[INDEX.JSP]Session is established. UserId = gdoran. Printing frames with menus etc.
BUGGER ME! I AM HERE AFTER ALL



How can this be? Execution of the servlet(thread) is supposed to cease immediately and control handed to the target.


Am I missing something?


While I'm at it, does anyone know where I can obtain a good pattern example of JSP/Servlet based authentication, with a login page for any unauthenticated requests. I am pushing all requests through a single controller servlet and checking their session object for the required attributes, but I seem to be having problems with retrieving the session. Sometimes the attributes are there, sometimes they aren't. 

Any guidance would be greatly appreciated.


Grant Doran 
Principle Architect 
iLaunch inc. 
(02) 89257055
[EMAIL PROTECTED]  



 






Non-Commercial

2000-11-09 Thread Lee, Se Hee
Title: Non-Commercial





Sorry for stupid question...


Anyway, it seems like Orion server is free for non-commercial usage Does that mean that for non-profit organizational use, it's free??? or is it for development license?

Se Hee





Multiple websites/virtual domains on one server not found

2000-11-09 Thread Drew Kidder

I've been perusing the back emails from the list regarding virtual domains 
and multiple sites on one host.  I have the following setup, running Orion 
1.3.8:

1.  I have set up one site under $ORION_HOME/applications/cs2k, and the 
other under $ORION_HOME/applications/twsm.
2.  In $ORION_HOME/config, I have created a cs2k-web-site.xml and 
twsm-web-site.xml. In the default-web-site.xml I have added all the 
requisite information as per the docs, and per the emails which I have read 
in the archive.

Earlier, I was running the twsm site as the only site under this 
installation. I also had it as the default app (meaning that 
http://orionhost/ would pull up the app).  Now that I have two apps running 
under orion, I'm not sure how to call them.  Going to http://orionhost/ 
still gives me the twsm site, but http://orionhost/twsm does not give me 
the twsm site, and http://orionhost/cs2k does not give me the cs2k site.

What should the URL be to access each of these sites?  In the respective 
application.xml files, I have added the  directive to the 
 module definition.  For example, the twsm looks like 
this:  /twsm.  Shouldn't that force it to look 
for http://orionhost/ ?

Any help would be appreciated.

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

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






RE: Debugging Question (Please Help !!!!)

2000-11-09 Thread michel_climber

In this moment all my ejb has System.out.println("flags"), but the probles
is that Orion doesn't show the flags (messages) in the console.
How could I get that orion show my flags in the console ?

In runing Orion in this way: java - jar orion.jar

Thanks




On Thu, 9 Nov 2000 15:21:10 -0300 , Orion-Interest wrote:

>  You can either use System.out.println (works for me)
>  Or you can use the Logger in "java:comp/Logger", but I don´t have the
>  interface to it
>  I'm sure you can figure it out using JAD (JAva Decompiler)
>  
>  JP
>  
>  -Original Message-
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>  Sent: Jueves, 09 de Noviembre de 2000 13:03
>  To: Orion-Interest
>  Subject: Debugging Question
>  
>  
>  Greetings !
>  
>  I have developed many ejb that are runing on Orion, these ejb has many
>  System.out.println("flags") (flags), and the Orion Console doesn't show
the
>  flag messages, and when my ejb was runing On Voyager (another app server)
my
>  messages were displayed at the console.
>  My question is: 
>  1.)Does Orion support show my ejb flags in the console or in any file ?
>  2.)How could I do it ?
>  
>  Thanks a lot
>  
>  Bye
>  
>  Michel
>  
>  
>  
>  
>  
>  ___
>  Say Bye to Slow Internet!
>  http://www.home.com/xinbox/signup.html
>  
>





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





xerces limitation?

2000-11-09 Thread Joshua Goodall


if I begin my ejb-jar.xml with:



rather than  (sans encoding)

then Orion cannot parse it. Is this a known limitation of Xerces?

- Joshua





RE: Getting reference of DataSourceUserManager

2000-11-09 Thread Juan Lorandi (Chile)

The applying security to a security domain is, per the spec, App Server
specific.
The only thing about security in J2EE is the definition of roles/permissions
that
principals must have to access web resources and/or EJB methods.

So, any code you add to your app will be most likely server specific, except
for role declarations + security contraints in web.xml or ejb-jar.xml

Also, within Orion the security domain may (and is likely to) be specified
separatly for each app/web app
Think about if you want it to be different:

The server's admin group (which can shutdown the server)
You app's admin group (which can add products to a catalog, for instance)

You may define wich classes act as UserManager/RoleManager in
orion-application.xml, using the usermanager-tags

soon Joe Whalnes (I really hope i'ts spelled that way), will have a full
tutorial in orionsupport.com about
Orion's UserManager API

You can find the draft in:

http://www.orionsupport.com/tutorials/usermanager/intro.jsp




-Original Message-
From: Jim Crossley [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 15:33
To: Orion-Interest
Subject: Re: Getting reference of DataSourceUserManager


What do you mean by "configured your app properly"?  Which tags/files
are involved?  

Is the UserManager stuff part of J2EE or specific to Orion?

Thanks.

"Juan Lorandi (Chile)" wrote:
> 
> you may find the current UserManager & RoleManager in
> 
> "java:comp/UserManager"
> "java:comp/RoleManager"
> 
> If you configured your app properly, UserManager and RoleManager must be
> instances of DataSourceUserManager
> 
> HTH,
> 
> JP
> 
> -Original Message-
> From: Gerald [mailto:[EMAIL PROTECTED]]
> Sent: Miércoles, 08 de Noviembre de 2000 18:32
> To: Orion-Interest
> Subject: Getting reference of DataSourceUserManager
> 
> In orion-application.xml, one can specify the use of DataSourceUserManager
> which allows Orion to manage user information via a database.
> 
> How can I get a reference to an instance of this user manager so that I
can
> add, delete and look up users and groups? Should I just instantiate my own
> copy of the object, or must I get it through Orion?
> 
> Thanks.




RE: Latest version

2000-11-09 Thread Rick Bos

You have to do:

java -jar autoupdate.jar 

to automatically update.

> -Original Message-
> From: Todd Huss [SMTP:[EMAIL PROTECTED]]
> Sent: November 9, 2000 3:02 PM
> To:   Orion-Interest
> Subject:  Latest version
> 
> I see people on the list talking about version 1.4.4. Where is that
> available, I only see 1.4.0 on the website?
> 
> Thanks,
> Todd
> 




how do I set redeploy of beans

2000-11-09 Thread Daniel G. Koulomzin


How do I set auto-redeploy of EJB jars on or off?
-Dan
 
 
-- 
Daniel G. Koulomzin
Digital Media On Demand
244 Brighton Ave. 3rd Floor
Allston MA 02134
 


RE: Debugging Question

2000-11-09 Thread jiten patankar


unsubscribe
Or let me know how I can unsubscribe . I am not using ORion Anymore


-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 10:21 AM
To: Orion-Interest
Subject: RE: Debugging Question


You can either use System.out.println (works for me)
Or you can use the Logger in "java:comp/Logger", but I don´t have the
interface to it
I'm sure you can figure it out using JAD (JAva Decompiler)

JP

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 13:03
To: Orion-Interest
Subject: Debugging Question


Greetings !

I have developed many ejb that are runing on Orion, these ejb has many
System.out.println("flags") (flags), and the Orion Console doesn't show the
flag messages, and when my ejb was runing On Voyager (another app server) my
messages were displayed at the console.
My question is: 
1.)Does Orion support show my ejb flags in the console or in any file ?
2.)How could I do it ?

Thanks a lot

Bye

Michel





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Latest version

2000-11-09 Thread Todd Huss

I see people on the list talking about version 1.4.4. Where is that
available, I only see 1.4.0 on the website?

Thanks,
Todd





RE: Setting up EJB's only -- both zipped and not zipped

2000-11-09 Thread Russ White

Any servlet or jsp can act as a client of Orion's. You simplly set your other
server up just like any other ejb client.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp
> Randy-W18971
> Sent: Thursday, November 09, 2000 1:58 PM
> To: Orion-Interest
> Subject: Setting up EJB's only -- both zipped and not zipped
>
>
> If another web server handles everything but EBJ and Orion handles
> that, what steps must I take to just include the EJB's in Orion?
> What If I don't want to pack the EJB in Orion, what steps should I take?
>
>
>





RE: Problems with CMP PrimKey...

2000-11-09 Thread Juan Lorandi (Chile)

though the attributes must be declared as public, they are semantically
private
the spec enforces semantically private/read-only/write-only attributes

-Original Message-
From: Sean P. McNamara [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 14:10
To: Orion-Interest
Subject: Problems with CMP PrimKey...



OK... I've made some progress on this, but it's left me with a few
more questions.  First, I should say that I'm running 1.3.8, which
AFAIK is the latest stable release.

The problem with my descriptor is that it didn't include a
 element inside each , adding that let me move
further, but then I was told that it couldn't find the attribute "ssn" 
(my primkey field) in the class.

It turns out that it wasn't finding it since the attribute was
private.  Does this mean that all my attributes in a CMP bean need to
be public?  If so, I'm not sure why, since reflection since JDK1.2
allows you to view private attributes based on security properties.

Can anyone shed some light on this?

Thanks!


Sean P. McNamara writes:
 > 
 > Hi All-
 > 
 > I'm new to Orion Server, and am in the process of developing a sample
 > application to test out CMP.
 > 
 > The problem I'm having is that although I've defined a
 > primary-key-class and primkey-field, I receive errors that the
 > primkey-field is not a CMP field, even though the descriptor is set up 
 > that way.
 > ...
 > And when starting the server, they error that is displayed is:
 > 
 > Auto-deploying
 > /home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar (No
 > previous deployment found)... Error compiling
 > file:/home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar:
 > The specified primkey-field 'ssn' was not found among the cmp-fields
 > for the bean com.soma.axon.ejb.entity.Employee


-- 
Sean P. McNamara<[EMAIL PROTECTED]> 
SOMA Technologies, Inc. <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>




RE: Getting reference of DataSourceUserManager

2000-11-09 Thread Russ White

Orion specific

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley
> Sent: Thursday, November 09, 2000 1:33 PM
> To: Orion-Interest
> Subject: Re: Getting reference of DataSourceUserManager
>
>
> What do you mean by "configured your app properly"?  Which tags/files
> are involved?
>
> Is the UserManager stuff part of J2EE or specific to Orion?
>
> Thanks.
>
> "Juan Lorandi (Chile)" wrote:
> >
> > you may find the current UserManager & RoleManager in
> >
> > "java:comp/UserManager"
> > "java:comp/RoleManager"
> >
> > If you configured your app properly, UserManager and RoleManager must be
> > instances of DataSourceUserManager
> >
> > HTH,
> >
> > JP
> >
> > -Original Message-
> > From: Gerald [mailto:[EMAIL PROTECTED]]
> > Sent: Miércoles, 08 de Noviembre de 2000 18:32
> > To: Orion-Interest
> > Subject: Getting reference of DataSourceUserManager
> >
> > In orion-application.xml, one can specify the use of DataSourceUserManager
> > which allows Orion to manage user information via a database.
> >
> > How can I get a reference to an instance of this user manager so that I can
> > add, delete and look up users and groups? Should I just instantiate my own
> > copy of the object, or must I get it through Orion?
> >
> > Thanks.
>
>





RE: Getting reference of DataSourceUserManager

2000-11-09 Thread Arved Sandstrom

You specify the user manager, currently either EJBUserManager or
DataSourceUserManager, using the user-manager tag in orion-application.xml.
See the Orion docs for that deployment file.

The user manager stuff is specific to Orion, as similar stuff is for any
other app server.

Arved Sandstrom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley
Sent: Thursday, November 09, 2000 2:33 PM
To: Orion-Interest
Subject: Re: Getting reference of DataSourceUserManager


What do you mean by "configured your app properly"?  Which tags/files
are involved?

Is the UserManager stuff part of J2EE or specific to Orion?

Thanks.

"Juan Lorandi (Chile)" wrote:
>
> you may find the current UserManager & RoleManager in
>
> "java:comp/UserManager"
> "java:comp/RoleManager"
>
> If you configured your app properly, UserManager and RoleManager must be
> instances of DataSourceUserManager
>
> HTH,
>
> JP
>
> -Original Message-
> From: Gerald [mailto:[EMAIL PROTECTED]]
> Sent: Miércoles, 08 de Noviembre de 2000 18:32
> To: Orion-Interest
> Subject: Getting reference of DataSourceUserManager
>
> In orion-application.xml, one can specify the use of DataSourceUserManager
> which allows Orion to manage user information via a database.
>
> How can I get a reference to an instance of this user manager so that I
can
> add, delete and look up users and groups? Should I just instantiate my own
> copy of the object, or must I get it through Orion?
>
> Thanks.






Oracle Lite

2000-11-09 Thread Andrew Chisholm

I'm trying to define a data source for Oracle Lite. To test, I'm using the
"useless news" example that comes with Orion. OLite provides a native JDBC
driver that Oracle says is 1.22 compliant.

Here is my datasources file:




This creates the news table in the OLite database. The News component adds
rows to the table, but does not display news items in the item list. (I can
run Oracle Navigator and see the rows in the table.) If I enter some text in
the Search field and click Search, Windows (2kPro) generates a DrWatson
file: OLite crashes with an "access violation". This crashes Orion.

I have written a stand-alone Java program that shows the OLite JDBC driver
to be operating ok. The program uses forName to load/register the OLite JDBC
driver, gets a connection, executes a query, and dumps the resultset. This
works.

Should I use a different class for the data-source, like OrionCMTDataSource,
since the OLite JDBC driver is only 1.22 compliant? If so, how? I've tried
this by using the following datasource file, but I get a Java
nullpointerexception when I run Orion:





Any comments? 

Thanks,
Andrew




Setting up EJB's only -- both zipped and not zipped

2000-11-09 Thread Kemp Randy-W18971

If another web server handles everything but EBJ and Orion handles that, what steps 
must I take to just include the EJB's in Orion?  What If I don't want to pack the EJB 
in Orion, what steps should I take?





Re: Problems with CMP PrimKey...

2000-11-09 Thread Sven van 't Veer



"Sean P. McNamara" wrote:

> It turns out that it wasn't finding it since the attribute was
> private.  Does this mean that all my attributes in a CMP bean need to
> be public?  If so, I'm not sure why, since reflection since JDK1.2
> allows you to view private attributes based on security properties.
> 
When using CMP al the fields in your entity bean that use CMP, including
your primary key field need to be public (see EJB spec section 9.4.1)
since the container must have acces to these fields (it does not call
get/set methods to access the data).

sven

-- 
==
Sven E. van 't Veer  
http://www.cachoeiro.net
Java Developer  [EMAIL PROTECTED]
==




Re: Getting reference of DataSourceUserManager

2000-11-09 Thread Jim Crossley

What do you mean by "configured your app properly"?  Which tags/files
are involved?  

Is the UserManager stuff part of J2EE or specific to Orion?

Thanks.

"Juan Lorandi (Chile)" wrote:
> 
> you may find the current UserManager & RoleManager in
> 
> "java:comp/UserManager"
> "java:comp/RoleManager"
> 
> If you configured your app properly, UserManager and RoleManager must be
> instances of DataSourceUserManager
> 
> HTH,
> 
> JP
> 
> -Original Message-
> From: Gerald [mailto:[EMAIL PROTECTED]]
> Sent: Miércoles, 08 de Noviembre de 2000 18:32
> To: Orion-Interest
> Subject: Getting reference of DataSourceUserManager
> 
> In orion-application.xml, one can specify the use of DataSourceUserManager
> which allows Orion to manage user information via a database.
> 
> How can I get a reference to an instance of this user manager so that I can
> add, delete and look up users and groups? Should I just instantiate my own
> copy of the object, or must I get it through Orion?
> 
> Thanks.




RE: Problems with CMP PrimKey...

2000-11-09 Thread Russ White

it is part of the ejb spec.

all fields must be public so they can be directly manipulated by the container.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sean P.
> McNamara
> Sent: Thursday, November 09, 2000 12:10 PM
> To: Orion-Interest
> Subject: Problems with CMP PrimKey...
> 
> 
> 
> OK... I've made some progress on this, but it's left me with a few
> more questions.  First, I should say that I'm running 1.3.8, which
> AFAIK is the latest stable release.
> 
> The problem with my descriptor is that it didn't include a
>  element inside each , adding that let me move
> further, but then I was told that it couldn't find the attribute "ssn" 
> (my primkey field) in the class.
> 
> It turns out that it wasn't finding it since the attribute was
> private.  Does this mean that all my attributes in a CMP bean need to
> be public?  If so, I'm not sure why, since reflection since JDK1.2
> allows you to view private attributes based on security properties.
> 
> Can anyone shed some light on this?
> 
> Thanks!
> 
> 
> Sean P. McNamara writes:
>  > 
>  > Hi All-
>  > 
>  > I'm new to Orion Server, and am in the process of developing a sample
>  > application to test out CMP.
>  > 
>  > The problem I'm having is that although I've defined a
>  > primary-key-class and primkey-field, I receive errors that the
>  > primkey-field is not a CMP field, even though the descriptor is set up 
>  > that way.
>  > ...
>  > And when starting the server, they error that is displayed is:
>  > 
>  > Auto-deploying
>  > /home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar (No
>  > previous deployment found)... Error compiling
>  > file:/home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar:
>  > The specified primkey-field 'ssn' was not found among the cmp-fields
>  > for the bean com.soma.axon.ejb.entity.Employee
> 
> 
> -- 
> Sean P. McNamara  <[EMAIL PROTECTED]> 
> SOMA Technologies, Inc. <[EMAIL PROTECTED]>
>   <[EMAIL PROTECTED]>
>   <[EMAIL PROTECTED]>
> 
> 




RE: Running Orion ejbsample problem

2000-11-09 Thread Louis

Ah, I found another principals.xml in
$ORION\application-deployments\ejbsamples\ , I copy the principals.xml from
$ORION\config to that folder,
and run the ejbsample again, I still got same error.



Louis
  - Original Message -
  From: Juan Lorandi (Chile)
  To: 'Louis'
  Sent: Thursday, November 09, 2000 9:42 AM
  Subject: RE: Running EJB example problem


  Uh, there's a principals.xml in $ORION\config that is authentication for
the server, to manage it,
  and there's a principals.xml for each app in
  $ORION\application-deployments\YOURAPP\principals.xml

  this is the principal domain for any given application
-Original Message-
From: Louis [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 22:43
To: Juan Lorandi (Chile)
Subject: Re: Running EJB example problem


Thanks for your reply.

I did it already.  Here is my principals.xml


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


 
  
   users
   
   
  
  
   guests
  
  
   administrators
   
   
  
 
 
  
   The default user
   
   
  
  
   The default guest/anonyomous user
   
  
  
   The default administrator
   
   
   
  
 



And this is my data-sources.xml


http://www.orionserver.com/dtds/data-sources.dtd">


  




But it not working.
Here is the error output:

D:\orion\demo\ejb\cart>java -classpath
../../../orion.jar;../../../ejb.jar;../..
/../jndi.jar;. CartClient
Exception in thread "main" java.lang.SecurityException: Invalid
username/passwor
d for ejbsamples (admin)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.gg(JAX)
at com.evermind.server.rmi.bb.f_(JAX)
at com.evermind.server.rmi.RMIServer.f_(JAX, Compiled Code)
at com.evermind.server.rmi.RMIContext.lookup(JAX)
at com.evermind.server.Application.ap7(JAX, Compiled Code)
at
com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX, Compiled Code)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
72)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250
)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.(InitialContext.java:182)
at CartClient.main(CartClient.java:17)



Louis

  - Original Message -
  From: Juan Lorandi (Chile)
  To: 'Louis'
  Sent: Thursday, November 09, 2000 8:19 AM
  Subject: RE: Running EJB example problem


  Go to the principals.xml
  in the user tag, set deactivated="false"

  HTH

  JP
-Original Message-
From: Louis [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 17:18
To: Orion-Interest
Subject: Running EJB example problem



Hi,
I got a problem to run the EJB example from orion.  I try to run
the ProductClient, and it give me Invalid username/password for ejbsamples
(admin).  Anyone can help me?  Thanks



Louis





RE: Debugging Question

2000-11-09 Thread Juan Lorandi (Chile)

You can either use System.out.println (works for me)
Or you can use the Logger in "java:comp/Logger", but I don´t have the
interface to it
I'm sure you can figure it out using JAD (JAva Decompiler)

JP

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 13:03
To: Orion-Interest
Subject: Debugging Question


Greetings !

I have developed many ejb that are runing on Orion, these ejb has many
System.out.println("flags") (flags), and the Orion Console doesn't show the
flag messages, and when my ejb was runing On Voyager (another app server) my
messages were displayed at the console.
My question is: 
1.)Does Orion support show my ejb flags in the console or in any file ?
2.)How could I do it ?

Thanks a lot

Bye

Michel





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Entity bean reference mapping

2000-11-09 Thread Juan Gargiulo

I need help with the following problem:

One field of my Member entity bean is a reference to the MemberInfo entity
bean. I'm using CMP but I can't get Orion to deploy this. It keeps showing
this error:

"Internal error, unset persistence type for memberInfo: 0".

I already tried setting the persistence-type to "integer" but it didn't
work.


Here is my configuration:
My XML deployment descriptor in orion-ejb-jar.xml has the following:
















Thanks,


Juan Gargiulo








RE: EJB SLSB Question

2000-11-09 Thread Juan Lorandi (Chile)

nope, session beans are used by only one client at a time, but why would you
want a SLSB to have a persisted handle anyway?
This would be best modeled with a Stateful Session Bean, and would be as
resource expensive as your current, SLSB-based pattern is

My 2c,

JP

-Original Message-
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 09 de Noviembre de 2000 1:05
To: Orion-Interest
Subject: EJB SLSB Question


I can't find a _definite_ answer to my question.  Hopefully, someone can
give me some pointers.  Is it legal, per EJB 1.1, for multiple client
threads to access a SLSB?  Here's why this is important for me.
Apparently, there is no portable way for a SLSB to tell a client that it
has timed out.  Hence, if a client caches a SLSB, it is prone to some
"random" error.  So, I figured, I will write a "keep-alive" thread and
wrap the SLSB in an application object as a delegate.  And in the SLSB,
I will implement a no-op - ping(). Now, there's the possibility, that
the SLSB will be in a method call when the keep-alive thread decides to
do a ping.  DO I need to guard against that?

Thanks,
Vidur

--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
[EMAIL PROTECTED]
www.active-solutions-inc.com






Problems with CMP PrimKey...

2000-11-09 Thread Sean P. McNamara


OK... I've made some progress on this, but it's left me with a few
more questions.  First, I should say that I'm running 1.3.8, which
AFAIK is the latest stable release.

The problem with my descriptor is that it didn't include a
 element inside each , adding that let me move
further, but then I was told that it couldn't find the attribute "ssn" 
(my primkey field) in the class.

It turns out that it wasn't finding it since the attribute was
private.  Does this mean that all my attributes in a CMP bean need to
be public?  If so, I'm not sure why, since reflection since JDK1.2
allows you to view private attributes based on security properties.

Can anyone shed some light on this?

Thanks!


Sean P. McNamara writes:
 > 
 > Hi All-
 > 
 > I'm new to Orion Server, and am in the process of developing a sample
 > application to test out CMP.
 > 
 > The problem I'm having is that although I've defined a
 > primary-key-class and primkey-field, I receive errors that the
 > primkey-field is not a CMP field, even though the descriptor is set up 
 > that way.
 > ...
 > And when starting the server, they error that is displayed is:
 > 
 > Auto-deploying
 > /home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar (No
 > previous deployment found)... Error compiling
 > file:/home/tank/OrionProjects/ResumeManager/rel/ResumeManager-ejb.jar:
 > The specified primkey-field 'ssn' was not found among the cmp-fields
 > for the bean com.soma.axon.ejb.entity.Employee


-- 
Sean P. McNamara<[EMAIL PROTECTED]> 
SOMA Technologies, Inc. <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>




RE: Getting reference of DataSourceUserManager

2000-11-09 Thread Juan Lorandi (Chile)

you may find the current UserManager & RoleManager in

"java:comp/UserManager"
"java:comp/RoleManager"

If you configured your app properly, UserManager and RoleManager must be
instances of DataSourceUserManager

HTH,

JP

-Original Message-
From: Gerald [mailto:[EMAIL PROTECTED]]
Sent: Miércoles, 08 de Noviembre de 2000 18:32
To: Orion-Interest
Subject: Getting reference of DataSourceUserManager



In orion-application.xml, one can specify the use of DataSourceUserManager 
which allows Orion to manage user information via a database.

How can I get a reference to an instance of this user manager so that I can 
add, delete and look up users and groups? Should I just instantiate my own 
copy of the object, or must I get it through Orion? 

Thanks.





Debugging Question

2000-11-09 Thread michel_climber

Greetings !

I have developed many ejb that are runing on Orion, these ejb has many
System.out.println("flags") (flags), and the Orion Console doesn't show the
flag messages, and when my ejb was runing On Voyager (another app server) my
messages were displayed at the console.
My question is: 
1.)Does Orion support show my ejb flags in the console or in any file ?
2.)How could I do it ?

Thanks a lot

Bye

Michel





___
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html





Re: deployment="true" -- what does this do?

2000-11-09 Thread Robert Krueger

At 09:33 09.11.00 , you wrote:
>In the orion development docs, it recommends setting deployment="true" but
>does not say why.  What does this buy you?
>
>Also, is it possible to have a web application that references ejb's but is
>not part of a war?  I've deployed my .ear file and everything worked fine.
>My web designers are having to rebuild and re-deploy that ear file every
>time they make a change.  I've tried setting the name attribute in the
>default-web-site.xml file to point to a directory (which had the web.xml
>file in the  WEB-INF directory), but it could not find my ejb class files.
>I tried putting the ejb class files in the lib directory, but no luck there.
>How do you set orion to look at a directory for it's web files instead of a
>war?

unpack the whole thing and point orion to the directory that's the top of 
you ear structure. works without any problems. could you post your 
directory layout and your entry in server.xml for the application?

robert


(-) 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





Help: struts on Orion 1.4.0

2000-11-09 Thread Montebove Luciano

Hi all,

I followed the instructions in the struts INSTALL file for installing struts
on Orion Aplication Server (1.4.0 on JDK 1.3.0 and 1.2.2) but I get the
following exception in the browser:

javax.servlet.jsp.JspException: Missing resources attribute
org.apache.struts.action.MESSAGE
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:232)
.

and in global-application.log:

09/11/00 12.38 strutsExample: org.apache.struts.action.ActionServlet: Cannot
load application resources bundle
org.apache.struts.example.ApplicationResources
java.util.MissingResourceException: Can't find resource for base name
org.apache.struts.example.ApplicationResources, locale it_IT
at java.util.ResourceBundle.getBundle(ResourceBundle.java:423)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:339)
at
org.apache.struts.util.MessageResources.(MessageResources.java:102)
at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources
.java:579)
at
org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:71
6)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:362)
at javax.servlet.GenericServlet.init(GenericServlet.java)
at com.evermind.server.http.HttpApplication.wt(JAX)
...

Any hints appreciated!


¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø
Luciano Montebove - Software Architect - Finsiel S.p.a
E-mail: [EMAIL PROTECTED]  Phone:  (+39) 06-4142-7663
"If you don't fail now and again, it's a sign you're playing it safe" -W.
Allen
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø




deployment="true" -- what does this do?

2000-11-09 Thread John Pletka

In the orion development docs, it recommends setting deployment="true" but
does not say why.  What does this buy you?

Also, is it possible to have a web application that references ejb's but is
not part of a war?  I've deployed my .ear file and everything worked fine.
My web designers are having to rebuild and re-deploy that ear file every
time they make a change.  I've tried setting the name attribute in the
default-web-site.xml file to point to a directory (which had the web.xml
file in the  WEB-INF directory), but it could not find my ejb class files.
I tried putting the ejb class files in the lib directory, but no luck there.
How do you set orion to look at a directory for it's web files instead of a
war?




Re: EJB SLSB Question

2000-11-09 Thread Jim Archer

First, you are free to have seperate client threads access the same 
instance of a SLSB via its remote interface. This will work fine.

However, I don't know why you would want to do that. One of the nice things 
the EJB server is supposed to do for you is to manage the life cycle of its 
beans. You are seeking to defeat that capability, which will reduce the 
performance of your app. SLSBs are passed seemelessely from app to app by 
the server so that a small number of them can serve a very large number of 
clients.

You say your client wants to "cache" the bean. Does this mean that you are 
assigning some state to the bean you want to maintain or top persist? If 
so, this is not an appropriate use of a *stateless* session bean. I 
recomend using a *statefull* session bean.

Good luck.

Jim

--On Wednesday, November 08, 2000 11:05 PM -0500 Vidur Dhanda 
<[EMAIL PROTECTED]> wrote:

> I can't find a _definite_ answer to my question.  Hopefully, someone can
> give me some pointers.  Is it legal, per EJB 1.1, for multiple client
> threads to access a SLSB?  Here's why this is important for me.
> Apparently, there is no portable way for a SLSB to tell a client that it
> has timed out.  Hence, if a client caches a SLSB, it is prone to some
> "random" error.  So, I figured, I will write a "keep-alive" thread and
> wrap the SLSB in an application object as a delegate.  And in the SLSB,
> I will implement a no-op - ping(). Now, there's the possibility, that
> the SLSB will be in a method call when the keep-alive thread decides to
> do a ping.  DO I need to guard against that?
>
> Thanks,
> Vidur
>
> --
> Vidur Dhanda
> Active Solutions
> tel: 617/566-1252
> [EMAIL PROTECTED]
> www.active-solutions-inc.com
>
>








RE: Using Webtrends to analyze Orion logs

2000-11-09 Thread Stanislav Maximov
Title: 



Yes, 
we are using Webtrends successfully with Orion. We changed format of the log 
file to following:
 
/>
 
It is stored in 
/config/default-web-site.xml
 
stas@

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of John 
  MillerSent: Thursday, November 09, 2000 3:10 PMTo: 
  Orion-InterestSubject: Using Webtrends to analyze Orion 
  logs
  I want to use Webtrends to analyze orions 
  logs. Has anybody any experience of doing this? If you do I would appreciate 
  any advise you might be able to give.Also, I have noticed that logs to 
  not log browser type, OS etc.. as Apache doeseg:Apache logs like 
  this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html 
  HTTP/1.1" 200 1669 "http://www.whatever.com" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" 0 
  "-"Orion like this:193.193.193.193 - - [11/Oct/2000:00:05:01 
  +0100] "GET /file.htm HTTP/1.1"Does anyone know how to get Orion to 
  log the additional information Apache does in particular OS/Browser info and 
  also get authenticated usernames into the 
  logs.Thanks,Johnny[EMAIL PROTECTED] 


Re: Shutting down orion

2000-11-09 Thread Jim Crossley

Thanks for all your responses on this.  Had I looked at orionsupport
first like I should, I wouldn't have even posted the question!  

I was happy to see that ^C or SIGTERM shuts down orion cleanly as
well... since jdk1.3 allows you to trap signals now.




RE: Jetspeed

2000-11-09 Thread J.T. Wenting



Thanks, I'd appreciate that. I haven't got that working correctly with 
Orion either :)
Jetspeed is Apache's personalization framework, I am getting "package not 
found in import for SAX and DOM classes. xerces.jar and xalan.jar (versions 
supplied with Jetspeed) are in /orion/lib, so should be picked up. For some 
reason they are not, leading to errors compiling XSP apps. Jetspeed (Turbine 
really, but that is what Jetspeed uses internally) sadly refuses to work with 
Interbase. This is a problem not with Interbase byt with Turbine (it refuses to 
even try to connect).
 

Jeroen T. Wenting[EMAIL PROTECTED]Murphy was 
wrong, things that can't go wrong will anyway 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of wim 
  veningaSent: Thursday, November 09, 2000 12:57To: 
  Orion-InterestSubject: Re: JetspeedHi Jeroen, 
  I have no problems using Interbase for both BMP and CMP. I can sent you 
  the database-schema for interbase if you want. 
  Greetings Wim Veninga  [EMAIL PROTECTED] 
  "J.T. Wenting" wrote: 
  Has anyone got Jetspeed 1.2 to run on Orion? I keep 
getting errors instantiating caches (or so it seems). Hints 
appreciated. For the moment I am using Oracle 8i as a database (would 
like to use Interbase, but that is not supported, getting errors if I 
try). 
Jeroen T. Wenting [EMAIL PROTECTED] 
Murphy was wrong, things that can't go wrong will 
anyway


test

2000-11-09 Thread Louis



test


SV: Using Webtrends to analyze Orion logs

2000-11-09 Thread Klaus . Myrseth
Title: 



Ok to 
get logs that is more descriptive edit the log tag in 
default-web-site.xml
 
Here 
is the one i use with analog:

 
Then 
you get split files on day and a whole lot more info into the logLook on the 
log tag to see what possibilities you have.
 
Klaus

  -Opprinnelig melding-Fra: John Miller 
  [mailto:[EMAIL PROTECTED]]Sendt: 9. november 2000 
  13:10Til: Orion-InterestEmne: Using Webtrends to analyze 
  Orion logs
  I want to use Webtrends to analyze orions 
  logs. Has anybody any experience of doing this? If you do I would appreciate 
  any advise you might be able to give.Also, I have noticed that logs to 
  not log browser type, OS etc.. as Apache doeseg:Apache logs like 
  this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html 
  HTTP/1.1" 200 1669 "http://www.whatever.com" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" 0 
  "-"Orion like this:193.193.193.193 - - [11/Oct/2000:00:05:01 
  +0100] "GET /file.htm HTTP/1.1"Does anyone know how to get Orion to 
  log the additional information Apache does in particular OS/Browser info and 
  also get authenticated usernames into the 
  logs.Thanks,Johnny[EMAIL PROTECTED] 


RE: Using Webtrends to analyze Orion logs

2000-11-09 Thread Mike Cannon-Brookes
Title: 



See 
the access-log attribute in the docs for web-site.xml
 
-mike

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of John 
  MillerSent: Thursday, November 09, 2000 11:10 PMTo: 
  Orion-InterestSubject: Using Webtrends to analyze Orion 
  logs
  I want to use Webtrends to analyze orions 
  logs. Has anybody any experience of doing this? If you do I would appreciate 
  any advise you might be able to give.Also, I have noticed that logs to 
  not log browser type, OS etc.. as Apache doeseg:Apache logs like 
  this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html 
  HTTP/1.1" 200 1669 "http://www.whatever.com" "Mozilla/4.0 
  (compatible; MSIE 5.0; Windows 98; DigExt)" 0 "-"Orion like 
  this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.htm 
  HTTP/1.1"Does anyone know how to get Orion to log the additional 
  information Apache does in particular OS/Browser info and also get 
  authenticated usernames into the 
  logs.Thanks,Johnny[EMAIL PROTECTED] 


Re: Using Webtrends to analyze Orion logs

2000-11-09 Thread Robert Krueger

At 12:10 09.11.00 , you wrote:

>I want to use Webtrends to analyze orions logs. Has anybody any experience 
>of doing this? If you do I would appreciate any advise you might be able 
>to give.
>
>Also, I have noticed that logs to not log browser type, OS etc.. as Apache 
>does
>
>eg:
>Apache logs like this:
>193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html HTTP/1.1" 
>200 1669 "http://www.whatever.com" "Mozilla/4.0 
>(compatible; MSIE 5.0; Windows 98; DigExt)" 0 "-"
>
>Orion like this:
>193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.htm HTTP/1.1"
>
>Does anyone know how to get Orion to log the additional information Apache 
>does in particular OS/Browser info and also get authenticated usernames 
>into the logs.

this is what we use for our production systems. I don't know of any 
problems with standard anaylzer tools (in fact I think we use webtrends for 
one customer).

 

HTH

robert

>Thanks,
>
>Johnny
>[EMAIL PROTECTED]

(-) 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: JBuilder4.0

2000-11-09 Thread Russ White



It 
must be a configuration problem as I do this regularly with no 
problems.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin 
  EgorSent: Thursday, November 09, 2000 4:54 AMTo: 
  Orion-InterestSubject: JBuilder4.0
   
  Hi all, 
      I try to use JB4.0 with to 
  debug apps in Orion, so when I run orion with jdk1.3 (in dubug mode) it just 
  hangs and finally "java commits a system error ... ". With 1.2.2 it works 
  fine! Is it a jdk 1.3 bug or some other issue?
   
  P.S. When I run it (not in debug) 
  everything works ok.
  Egor 
Savotchkin.


Running EJB example problem

2000-11-09 Thread Louis



 
Hi,
    I got a problem to run the EJB 
example from orion.  I try to run the ProductClient, and it give me Invalid 
username/password for ejbsamples (admin).  Anyone can help me?  
Thanks
 
 
 
Louis


Using Webtrends to analyze Orion logs

2000-11-09 Thread John Miller
Title: 



I want to use Webtrends to analyze orions logs. 
Has anybody any experience of doing this? If you do I would appreciate any 
advise you might be able to give.Also, I have noticed that logs to not 
log browser type, OS etc.. as Apache doeseg:Apache logs like 
this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.html 
HTTP/1.1" 200 1669 "http://www.whatever.com" "Mozilla/4.0 
(compatible; MSIE 5.0; Windows 98; DigExt)" 0 "-"Orion like 
this:193.193.193.193 - - [11/Oct/2000:00:05:01 +0100] "GET /file.htm 
HTTP/1.1"Does anyone know how to get Orion to log the additional 
information Apache does in particular OS/Browser info and also get authenticated 
usernames into the 
logs.Thanks,Johnny[EMAIL PROTECTED] 


Re: Jetspeed

2000-11-09 Thread wim veninga


Hi Jeroen,
I have no problems using Interbase for both BMP and CMP. I can sent
you
the database-schema for interbase if you want.
Greetings Wim Veninga
 [EMAIL PROTECTED]
"J.T. Wenting" wrote:
Has anyone got Jetspeed 1.2 to run on Orion? I keep
getting errors
instantiating caches (or so it seems).
Hints appreciated. For the moment I am using Oracle 8i as a database
(would
like to use Interbase, but that is not supported, getting errors if
I try).
Jeroen T. Wenting
[EMAIL PROTECTED]
Murphy was wrong, things that can't go wrong will anyway



R: Multiple Orion Servers

2000-11-09 Thread Montebove Luciano

>From doc/rmi.xml.html:
"
.. 
 
  Specifies a remote (point to point) RMI-server to communicate with. 
host - Hostname of the remote server.
password - The password to log in with.
port - Port of the remote server, default is 23791.
username - The username to log in with.
..
" 

After this you can see (having Home and Remote interfaces) EJBs on another
server.
I haven't tried this with multiple servers.

Hope this help

Luciano

>Da: Todd Huss [mailto:[EMAIL PROTECTED]]
>A: Orion-Interest
>Oggetto: Multiple Orion Servers
>
>
>We're working on a distributed project and need multiple orion servers. I
>found one prior post where the person had to deploy all of their EJB's to
>all of the servers but I'd like to find a cleaner way if possible.
>
>Is there a way to configure all of our Orion servers to use one JNDI
>server. This way if we deploy the EJB's, each to their own server, and
>then have the Home and Remote interfaces in the classpaths of all of the
>servers wouldn't that do the trick? 
>
>Only problem is we can't figure out how to get the Orion server itslef to
>use a remote JNDI server... any tips?
>
>Thanks,
>Todd





RE: JBuilder4.0

2000-11-09 Thread Denis Hennessy



The 
-classic switch was removed in final sun jvm 1.3 (at least on Linux). Try using 
the ibm 1.3 vm which still supports the switch.
 
/dh

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Chris 
  MillerSent: 09 November 2000 10:45To: 
  Orion-InterestSubject: Re: JBuilder4.0
  Egor,
   
  On the 'run' tab in Project Properties, put 
  a  -classic  parameter into the 
  VM Parameters field and you should be OK.
  
- Original Message - 
From: 
Savotchkin 
Egor 
To: Orion-Interest 
Sent: Thursday, November 09, 2000 9:54 
AM
Subject: JBuilder4.0

 
Hi all, 
    I try to use JB4.0 with to 
debug apps in Orion, so when I run orion with jdk1.3 (in dubug mode) it just 
hangs and finally "java commits a system error ... ". With 1.2.2 it works 
fine! Is it a jdk 1.3 bug or some other issue?
 
P.S. When I run it (not in debug) 
everything works ok.
Egor 
  Savotchkin.


EJB.remove(pk-string) and relationship problem

2000-11-09 Thread Truong Di Ly

Hello EJB profis,


I have this relationship-removing problem:

A:EJB 1->* B:EJB 1->* C:EJB

calling c.remove(pk-string) in ... (e.g. parseRequest.jsp),

where c (is a C EJB ) is in a collection of b (is a B EJB),

does not remove c from the collection, but it does remove

c from the database.

Thanks,
Di




what's up with orionserver.com?

2000-11-09 Thread Stanislav Maximov

when will it go up again?

stas@




Re: JBuilder4.0

2000-11-09 Thread Chris Miller



Egor,
 
On the 'run' tab in Project Properties, put 
a  -classic  parameter into the 
VM Parameters field and you should be OK.

  - Original Message - 
  From: 
  Savotchkin 
  Egor 
  To: Orion-Interest 
  Sent: Thursday, November 09, 2000 9:54 
  AM
  Subject: JBuilder4.0
  
   
  Hi all, 
      I try to use JB4.0 with to 
  debug apps in Orion, so when I run orion with jdk1.3 (in dubug mode) it just 
  hangs and finally "java commits a system error ... ". With 1.2.2 it works 
  fine! Is it a jdk 1.3 bug or some other issue?
   
  P.S. When I run it (not in debug) 
  everything works ok.
  Egor 
Savotchkin.


JBuilder4.0

2000-11-09 Thread Savotchkin Egor



 
Hi all, 
    I try to use JB4.0 with to debug 
apps in Orion, so when I run orion with jdk1.3 (in dubug mode) it just hangs and 
finally "java commits a system error ... ". With 1.2.2 it works fine! Is it a 
jdk 1.3 bug or some other issue?
 
P.S. When I run it (not in debug) everything 
works ok.
Egor 
Savotchkin.


Re: mapping a user to a group using DataSourceUserManager

2000-11-09 Thread Thomas Berglund

s

Russ White wrote:
> 
> Actually, I found the answer after looking through the Orion API last night at
> home.
> It can be done by mapping the UserManager to a user/group table.
> 
> Now that I have it working I am thinking of writing a tutorial on using the
> DataSourceUserManager to submit to orionsupport.com
> 
> Thanks for the response!
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
> > Sent: Tuesday, November 07, 2000 5:12 AM
> > To: Orion-Interest
> > Subject: Re: mapping a user to a group using DataSourceUserManager
> >
> >
> > Russ,
> >
> > to my understanding, user/group-to-role mapping is done in
> > orion-application.xml (orion deployment files). Principals.xml defines users
> > and groups in a manner unrelated to J2EE roles and is thus comparable to the
> > user base you have in any other datastore.
> >
> > regards,
> > Christian
> > - Original Message -
> > From: "Russ White" <[EMAIL PROTECTED]>
> > To: "Orion-Interest" <[EMAIL PROTECTED]>
> > Sent: Monday, November 06, 2000 4:57 PM
> > Subject: mapping a user to a group using DataSourceUserManager
> >
> >
> > > I have spent the morning looking through the archives and not really found
> > what
> > > I am looking for.
> > >
> > > I found that I can grab username and password from the
> > DataSourceUserManager
> > > just fine, but I have to map the user to a group manually still with
> > > priciples.xml.
> > >
> > > If this is the only way to do this then it is a real drag, and really
> > makes it
> > > almost useless in my book.
> > >
> > > Is there any way for me to grab a user's group from DataSourceUserManager?
> > > If so what is the property name?
> > > If not what are my other options?
> > >
> > > Thanks,
> > > Russ
> > >
> > >
> >
> >
> >