Re: Very Strange problem with a static varible on a jsp

2001-07-27 Thread Catalin Grigoroscuta

I see what you mean.
So it seems that the only solution to be sure a class is not unloaded is to make
your own class loader for that class. Unfortunately, this solution can not be
applied to a servlet.

Lachezar Dobrev wrote:

> > Hello,
> > Your objection makes sense, but here is sometrinh from the JVM
> specification
> > from SUN:
> >
> > "2.17.8Unloading of Classes and Interfaces A class or interface may be
> > unloaded if and only if its class loader is unreachable.
> > The bootstrap class loader is always reachable; as a result, system
> classes may
> > never
> > be unloaded."
> > Thought, the term "unreachable" seems confusing.
>
>I have read that, but then:
>
>java -X
>
> -Xmixed   mixed mode execution (default)
> -Xint interpreted mode execution only
> -Xbootclasspath:
>   set search path for bootstrap classes and resources
> -Xbootclasspath/a:
>   append to end of bootstrap class path
> -Xbootclasspath/p:
>   prepend in front of bootstrap class path
>
> > HERE!
> -Xnoclassgc   disable class garbage collection
> -Xincgc   enable incremental garbage collection
> -Xbatch   disable background compilation
> -Xmsset initial Java heap size
> -Xmxset maximum Java heap size
> -Xssset java thread stack size
> -Xprofoutput cpu profiling data
> -Xrunhprof[:help]|[:=, ...]
>   perform JVMPI heap, cpu, or monitor profiling
> -Xdebug   enable remote debugging
> -Xfuture  enable strictest checks, anticipating future default
> -Xrs  reduce use of OS signals by Java/VM (see
> documentation)
>
> The -X options are non-standard and subject to change without notice.
>
>Also... I'm not sure, but I think there may be different class loaders
> for servlets/ejbs. I'm not sure, if Orion does that. IAS/BAS does so.
>
>Lachezar
>
>< other things skipped. >





XSLT Processing

2001-07-27 Thread Juan Fuentes

Hi,

Is it possible to tell the Orion's XSLT Processor to send debug info to
System.out / System.err ??

The error messages that appear in the browser are quite cryptic.

Thanks
-- 
··
Juan Fuentes Nieto   Essi Projects
[EMAIL PROTECTED]t +34 977 221 182
http://www.essiprojects.com  f +34 977 230 170
··




Re: Transaction question

2001-07-27 Thread Eddie

Thanks Simon,

So nested exception is  an 'Orion' thing ??

Before I had
  Remote
  *


Because I now have to specify the transaction type for the two methods, does
that mean I have to specify the transaction type (required/requiredNew) for
EVERY method in my Manager ??
Can't I define a transaction type as default for example, and make an
exception for the method B ??

Ed


- Original Message -
From: "Simon Evans" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 10:35 PM
Subject: RE: Transaction question


> sorry , thats what i meant...cut and paste mistake
>
> -Original Message-
> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 9:55 AM
> To: Orion-Interest
> Subject: RE: Transaction question
>
>
> Bottom line... you can't do that. J2EE doesn't support nested
transactions.
> However, this may work in orion. for info on the descriptors, check out
> Sun's EJB spec and orion documentation and DTD's. This is a rough draft of
> how it would have to look like:
>
>   
>  
>   Transaction-handling for the
>  SmsManager
>   nl.unwired.sgs.sms.SmsManager
>   Remote
>   [METHOD A]
>  
>  Required
>
>   
>  
>   Transaction-handling for the
>  SmsManager
>   nl.unwired.sgs.sms.SmsManager
>   Remote
>   [METHOD_B]
>  
>  RequiresNew
>
>
> therefore, all methods are marked as 'Required' but [YOUR_METHOD_HERE],
> which is marked as 'RequiresNew'
> > -Original Message-
> > From: Eddie [mailto:[EMAIL PROTECTED]]
> > Sent: Martes, 24 de Julio de 2001 4:47
> > To: Orion-Interest
> > Subject: Transaction question
> >
> >
> > Hellu,
> >
> > I don't know how to configure the following transaction
> > scenario with CMP.
> > Please some help or maybe a little example:
> > I have two bean methods: A and B.
> > A calls B and I want that when B throws a RemoteException
> > that A intercepts,
> > that B performs a rollback and A not !
> > I know how to do that in the code (I think): A just catches the
> > remoteException of B and doesn't throw it outside his method.
> >
> > However how do I configure this in the xml file ??
> > I now have the following in my ejb-jar.xml, which mean that
> > all the methods
> > execute in the same transaction:
> > 
> >   
> > 
> >  Transaction-handling for the
> > SmsManager
> >  nl.unwired.sgs.sms.SmsManager
> >  Remote
> >  *
> > 
> > Required
> >   
> > 
> >
> > As far as I understand it, I have to configure that method B has
> > "RequiresNew set, but how do I configure this in the xml
> > file, such that the
> > rest still use "Required" ??
> > And is this the correct way to do it ??
> >
> > Please some help as I can't find anything on the Internet
> > (mail-archive
> > etc..),
> > Eddie
> >
> >
>
>




Problem in custom User Managers !!!

2001-07-27 Thread Yashasree Kulkarni

Hi All

I am trying out my hands on using a custom user manager for user/groups in orion for 
ejbs. 
This access to the ejbs is defined in the orion-ejb-jar.xml at the method level. i.e. 
we are giving method permissions for the ejbs in ejb-jar.xml file.
Also the orion-application and orion-ejb-jar.xml have been configured for the same. 
Now i added the group names (though not actually required) to the principals.xml and 
tried to access the ejb methods through a java client.
But orion throws a security exception, even if valid user name is provided. It's 
basically failing to recognise/read  a group name and validate the users against the 
group. The inGroup(username, groupname)/isMemberOf() method in my custom user manager 
( derived from SimpleUserManager from orionsupport.com) does not get called at all!!

Do I need to override the methods(like getGroups..) of the UserWrapper class ( 
implementing User) in SimpleUserManager class? 

The whole problem started when I shifted from a web application to a simple java 
client accessing ejbs...

Please help...
Thanks in advance
Yash





Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/




RE: Problem in custom User Managers !!!

2001-07-27 Thread The elephantwalker

The security exception that is being thrown through rmi is because of the
default rmi restriction that only administrators have access to rmi. If you
have created a custom user manager, and not created an administrator
user...this will cause the exception.

Try this...startup up the orionconsole, and try to quary your ejb's. If you
can see them, but you can't get any queries, you will see the response that
the password/username doesn't work. If this is the case, you need to change
the default rmi security from administrator to one of your default groups
for your usermanager.

I hope this helps...

Regards,

the elephantwalker




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Yashasree
Kulkarni
Sent: Friday, July 27, 2001 1:41 AM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Problem in custom User Managers !!!


Hi All

I am trying out my hands on using a custom user manager for user/groups in
orion for ejbs.
This access to the ejbs is defined in the orion-ejb-jar.xml at the method
level. i.e. we are giving method permissions for the ejbs in ejb-jar.xml
file.
Also the orion-application and orion-ejb-jar.xml have been configured for
the same. Now i added the group names (though not actually required) to the
principals.xml and tried to access the ejb methods through a java client.
But orion throws a security exception, even if valid user name is provided.
It's basically failing to recognise/read  a group name and validate the
users against the group. The inGroup(username, groupname)/isMemberOf()
method in my custom user manager ( derived from SimpleUserManager from
orionsupport.com) does not get called at all!!

Do I need to override the methods(like getGroups..) of the UserWrapper class
( implementing User) in SimpleUserManager class?

The whole problem started when I shifted from a web application to a simple
java client accessing ejbs...

Please help...
Thanks in advance
Yash





Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/





Concurrency

2001-07-27 Thread Lopez Esteban

> Hi
> Please help me. I am working with a stateless EJB and I have about 250
> clients which has to use this EJB.
> When the clients access to the SLEJB concurretly, the Orion crash, and the
> server.log shows:
> 
> 7/4/01 6:45 PM Internal server error
> java.util.ConcurrentModificationException
>   at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
>   at java.util.AbstractList$Itr.next(Unknown Source)
>   at java.util.AbstractCollection.remove(Unknown Source)
>   at com.evermind.server.rmi.RMIServer.gb(JAX)
>   at com.evermind.server.rmi.ba.run(JAX)
>   at com.evermind.util.f.run(JAX)
> 
> Anyone knows something about this.
> Thanks!
> 
> Esteban.
> 




Directory Listing

2001-07-27 Thread Juan Fuentes


I have an application with directory-browing="allow". When I request for
a directory, orion displays a page with the directory list.

How could I write a JSP/Servlet to customize this list ??

TIA
-- 
··
Juan Fuentes Nieto   Essi Projects
[EMAIL PROTECTED]t +34 977 221 182
http://www.essiprojects.com  f +34 977 230 170
··




admin.jar Not working

2001-07-27 Thread tnagy



Hello all,
 
When trying to run:  java -jar admin.jar 
ormi://localhost admin password -start I always get the error
NamingException:  lookup failed
Connection refused
Am running on Solaris 2.8
It isn't the password and I can start orion 
with java -jar orion.jar no problem.
Any ideas?


Re: Very Strange problem with a static varible on a jsp

2001-07-27 Thread Lachezar Dobrev

> I see what you mean.
   Good.

> So it seems that the only solution to be sure a class is not unloaded is
to make
> your own class loader for that class. Unfortunately, this solution can not
be
> applied to a servlet.
   Or make a singleton to keep the class loaded. I do this, and it works.
Even with SLSBs.

   Lachezar

> > > Hello,
> > > Your objection makes sense, but here is sometrinh from the JVM
> > specification
> > > from SUN:
> > >
> > > "2.17.8Unloading of Classes and Interfaces A class or interface
may be
> > > unloaded if and only if its class loader is unreachable.
> > > The bootstrap class loader is always reachable; as a result, system
> > classes may
> > > never
> > > be unloaded."
> > > Thought, the term "unreachable" seems confusing.
> >
> >I have read that, but then:
> >
> >java -X
> >
> > -Xmixed   mixed mode execution (default)
> > -Xint interpreted mode execution only
> > -Xbootclasspath:
> >   set search path for bootstrap classes and
resources
> > -Xbootclasspath/a:
> >   append to end of bootstrap class path
> > -Xbootclasspath/p:
> >   prepend in front of bootstrap class path
> >
> > > HERE!
> > -Xnoclassgc   disable class garbage collection
> > -Xincgc   enable incremental garbage collection
> > -Xbatch   disable background compilation
> > -Xmsset initial Java heap size
> > -Xmxset maximum Java heap size
> > -Xssset java thread stack size
> > -Xprofoutput cpu profiling data
> > -Xrunhprof[:help]|[:=, ...]
> >   perform JVMPI heap, cpu, or monitor profiling
> > -Xdebug   enable remote debugging
> > -Xfuture  enable strictest checks, anticipating future
default
> > -Xrs  reduce use of OS signals by Java/VM (see
> > documentation)
> >
> > The -X options are non-standard and subject to change without notice.
> >
> >Also... I'm not sure, but I think there may be different class
loaders
> > for servlets/ejbs. I'm not sure, if Orion does that. IAS/BAS does so.
> >
> >Lachezar
> >
> >< other things skipped. >
>
>
>
>






Re: APJ13 experiences?

2001-07-27 Thread James Fairbairn

I wasn't even aware that Orion used the AJP12/13 protocols. AFAIK the AJP
protocols are Tomcat connection protocols only. Somebody provide some
illumination.

James

- Original Message -
From: "Aaron Tavistock" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:12 PM
Subject: APJ13 experiences?


> I'm currently using Apache as a frontend to Orion, where Apache and Orion
> are on different machines and different places in the network.  Right now
it
> works quite well but there are some little minor annoyances (like seeing
the
> Proxy servers IP in Orions logs instead of the real client, et al).
>
> At JavaOne Karl told me that APJ13 would solve most of these problems, so
> I'm trying to get mod_jk working with Apache.  While setting up mod_jk I
> notice that its pretty tomcat specific, but it seems like mod_jk or jserv
> are the only options.
>
> It would be nice to hear if there are any good or bad experiences out
there
> with using APJ13 on Orion.
>
>





Denying access to machine via IPAddress:PortNumberOfOrion

2001-07-27 Thread Gregory Scott
List,
 
Environment: JDeveloper 3.2.3, WinNt 4.0 and Latest Version of Orion
 
I want to prevent other users access to a machine running Orion via the URL containing the IPAddress:PortNumberOfOrion. The User Security Link does not address NT, only Solaris and Linux.
 
Thanks in advance,Gregory A. Scott 
Get your FREE download of MSN Explorer at http://explorer.msn.com



RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-27 Thread Jon Rue



I'm 
using the Oracle Type-4 driver (downloaded from Oracle) but am using 
Oracle 8.1.6 w/Orion 1.5.2 & JDK 1.3.1 W2K Server as well and haven't 
had a problem with connection pools or CLOBs. It is my understanding that 8.1.7 
isn't as stable as 8.1.6 though.

  -Original Message-From: HyungKee Hwang 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 26, 2001 5:45 
  PMTo: Orion-InterestSubject: RE: Anyone experience any 
  problems with JDBC Oracle drivers and JDK 1.3.1 with connection 
  pooling?
  
  I’m 
  using Oracle 8.1.7’s 
  JDBC driver (classes12) with JDK 1.3.0. And it seems to have some problems to 
  handle CLOB. But there has not been any problem except CLOB problem up to 
  now.
   
  I 
  heard from Oracle technical support that Oracle 
  doesn’t 
  support JDK1.3.x officially.
   
  -HK
   
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, KevinSent: Friday, July 27, 2001 6:30 
  AMTo: 
  Orion-InterestSubject: 
  Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with 
  connection pooling?
   
  I have been trying to 
  figure out why I can't connect to our Oracle database. We are running JDK 
  1.3.1 with Orion 1.5.2. We are using the jdbc.zip (I assume classes12.zip). I 
  am reading on Oracle that Oracle 8.1.7 (and 8.1.5) only have JDBC drivers that 
  support JDK 1.2.x. Does this mean running JDK 1.3.1 is a BAD move when using 
  JDBC drivers from Oracle? Should I go back to JDK 1.2.2 for Orion? There are 
  problems with JDK 1.2.2, such as the NT-LOGOFF and what not when running Orion 
  as a service that I am trying to avoid. Please advise me if running Orion with 
  JDK 1.3.1 (on Win2K Server or Solaris) is OK while using Oracle 8.1.5 and/or 
  Oracle 8.1.7 databases and jdbc drivers.
   
  Thanks.


Problem with using java.util.date Objects as CMP Entity fields in Orion 1.5.2

2001-07-27 Thread Oisin Kim

Hi all,
I was wondering if anyone has had similar problems to me with writing 
java.util.Data objects to a postgresql database as an entity bean field.
This is the exception I get
 
com.evermind.server.rmi.OrionRemoteException: Error loading state: Bad 
Timestamp Format at 19 in 2001-07-27 16:29:22.97+01
at 
MessageNode_EntityBeanWrapper0.SubmitMessage(MessageNode_EntityBeanWrapper0.java:245)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind._dh._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
Any help would be greatly apprecieated,
the only solutionI can think of is to store longs in the database instead of 
timestamps.
Thanks,
Oisin

-- 





Re: Directory Listing

2001-07-27 Thread Oisin Kim

The following code will give you the contents of a particular directory (a 
list of files / folders), you could use this to configure/ select what you 
want to display, really up to yourself,
NOTE this isn't a servlet or jsp it's just a plain application, you'll need 
to tweak it to get what you want, 
Oisin


// DirList.java
// Displays directory listing.
/** DirList.java lists the contents of teh current directory
 *  by running it as java DirList after compiling it.
*/
import java.io.*;
import java.util.*;

public class DirList 
{
public static final String foldername = "C:\\somedir";
  
public static void main(String[] args) 
{
  //first teh path for folder on the server is given
  File path = new File(foldername);
  
  //now we create an array of strings which will hold the file names
  String[] list;

  //get the file in the dir and copy the filenames to the array entries
  list = path.list();

  //output the filenames to system.out
  for(int i = 0; i < list.length; i++)
  { 
//instead of just outputting them
System.out.println(list[i]);
  }//end for
}//end main
}//end class dirlist

On Friday 27 July 2001 12:01, Juan Fuentes wrote:
> I have an application with directory-browing="allow". When I request for
> a directory, orion displays a page with the directory list.
>
> How could I write a JSP/Servlet to customize this list ??
>
> TIA

-- 





Re: Directory Listing

2001-07-27 Thread Nick Newman

You could use the java.net.URL class from your servlet to get the directory 
listing that is produced.  Then you can process that however you like.

The snag is that you would have to have the servlet at a different URL.  In 
other words, if http://foo.com/ gives you the directory listing, you would 
have to put the servlet at (say) http://foo.com/prettyList - because if you 
arranged to have it served from http://foo.com/ it would be trying to read 
its own output, which would get it rather confused, I'd think.

Nick

At 01:01 PM 7/27/01 +0200, you wrote:

>I have an application with directory-browing="allow". When I request for
>a directory, orion displays a page with the directory list.
>
>How could I write a JSP/Servlet to customize this list ??
>
>TIA
>--
>··
>Juan Fuentes Nieto   Essi Projects
>[EMAIL PROTECTED]t +34 977 221 182
>http://www.essiprojects.com  f +34 977 230 170
>··





Class Reloading in Web-Apps

2001-07-27 Thread Rice, Ted


What are the capabilites of Orion
in terms of class reloading, in
relation to a deployed web application,
while the server is running.

If you change a java file, and recompile
it to the ./WEB-INF/classes directory,
should Orion not detect the change and
use the new class? Are there any
restrictions on whether the class is
reloaded depending upon it's serialization
to a session?

Thanks.

./ted 




RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-27 Thread Robert S. Sfeir

At 05:44 PM 7/26/2001, you wrote:

>I m using Oracle 8.1.7 s JDBC driver (classes12) with JDK 1.3.0. And it 
>seems to have some problems to handle CLOB. But there has not been any 
>problem except CLOB problem up to now.

Interesting.  No problems handling CLOBs here except when using a Type 1 or 
2 driver.  It seems in JDK 1.3.x Sun is preventing sharing of the c++ 
library for one reason or another, which means you can only load it once, 
which means that your connection pooler can only be used once on the 
machine for all your apps.

What we did was move everything to the Type 4 driver (Thin client), and 
write code to handle CLOB insert/updates through Oracle's DBMS_LOB procedures.

The only trick to it is that every time you want to update a CLOB, you have 
to re initialize it with EMPTY_LOB(), then do the update with the new 
data.  If you don't do that you will end up with incorrect data.  The data 
'corruption' if you don't do the EMPTY_LOB() manifests itself in the form 
of old data over new data.  This is because when you do an update, and the 
number of bytes in the data is smaller than the number of bytes in the 
original data, the CLOB will get updated with the new number of chars, but 
anything over that remains in the CLOB column.  YUK.  Of course if anyone 
knows another way around this please let me know :-)

Hope this helps.
R


Robert S. Sfeir
Director of Software Development
PERCEPTICON corporation,
in Joint Venture With JTransit
San Francisco, CA 94123
pw - http://www.percepticon.com/
jw - http://jtransit.com
e- [EMAIL PROTECTED]





RE: Concurrency

2001-07-27 Thread Rice, Ted

you are working with a non-synchronized
collection. if you get an iterator and
attempt to modify the backing list with
multiple threads you will receive a
ConcurrentModificationException. synchronize
on the the iterator or list.

./ted 

-Original Message-
From: Lopez Esteban [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 3:44 AM
To: Orion-Interest
Subject: Concurrency


> Hi
> Please help me. I am working with a stateless EJB and I have about 250
> clients which has to use this EJB.
> When the clients access to the SLEJB concurretly, the Orion crash, and the
> server.log shows:
> 
> 7/4/01 6:45 PM Internal server error
> java.util.ConcurrentModificationException
>   at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
>   at java.util.AbstractList$Itr.next(Unknown Source)
>   at java.util.AbstractCollection.remove(Unknown Source)
>   at com.evermind.server.rmi.RMIServer.gb(JAX)
>   at com.evermind.server.rmi.ba.run(JAX)
>   at com.evermind.util.f.run(JAX)
> 
> Anyone knows something about this.
> Thanks!
> 
> Esteban.
> 




CMP container error due to

2001-07-27 Thread Hussein Hussein



Hello All,

I am getting container errors upon deployment of my ear file. When I modify 
my ejb-jar.xml and remove the  element, then 
everything works fine. I am attaching the error message and ejb-jar.xml that 
does not work and the one that works. Any help is greatly appreciated.

The error message upon deployment:


E:\j2ee\home>java -jar orion.jar
Auto-deploying addressbook-ejb.jar (No previous deployment found)... 
AddressBook
_EntityHomeWrapper2.java:621: 'finally' without 'try'.
finally
^
AddressBook_EntityHomeWrapper2.java:626: 'try' without 'catch' or 'finally'.
}
^
AddressBook_EntityHomeWrapper2.java:630: 'catch' without 'try'.
catch(java.sql.SQLException e)
^
AddressBook_EntityHomeWrapper2.java:674: '}' expected.
}
^
AddressBook_EntityHomeWrapper2.java:676: 'try' without 'catch' or 'finally'.
public AddressBook_EntityHomeWrapper2() throws java.rmi.RemoteException
^
AddressBook_EntityHomeWrapper2.java:676: Statement expected.
public AddressBook_EntityHomeWrapper2() throws java.rmi.RemoteException
^
6 errors
Error compiling E:\j2ee\home\applications\addressbook/addressbook-ejb.jar: 
Synta
x error in source
Oracle9iAS (1.0.2.2) Containers for J2EE initialized


The ejb-jar.xml that does not work:
===


http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>


  

  AddressEntryBean
  addressbook.ejb.AddressBook
  addressbook.ejb.AddressEntry
  addressbook.ejb.AddressEntryBean
  Container
  java.lang.String
  False
  
name
  
address
  
city
  name
  

  
AddressEntryBean
*
  
NotSupported



The ejb-jar.xml that works:
=

http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>


   AddressBook (EJB module)

   EJB module that contains one Container Managed Entity Bean,
namely the AddressBook bean

   
  

 This bean implements the back end of the address book
  application

 Address book entry
 addressbook.ejb.AddressEntry
 addressbook.ejb.AddressBook
 addressbook.ejb.AddressEntry
 addressbook.ejb.AddressEntryBean
 Container
 java.lang.String
 False
 name
 address
 city
 name
  
   

   
  
 Users
 users
  
   







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





RE: Problem with using java.util.date Objects as CMP Entityfieldsin Orion 1.5.2

2001-07-27 Thread Komal Kandi (Contractor)

use java.sql.TimeStamp object


-Original Message-
From: Oisin Kim [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 9:34 AM
To: Orion-Interest
Subject: Problem with using java.util.date Objects as CMP Entity
fieldsin Orion 1.5.2


Hi all,
I was wondering if anyone has had similar problems to me with writing 
java.util.Data objects to a postgresql database as an entity bean field.
This is the exception I get
 
com.evermind.server.rmi.OrionRemoteException: Error loading state: Bad 
Timestamp Format at 19 in 2001-07-27 16:29:22.97+01
at 
MessageNode_EntityBeanWrapper0.SubmitMessage(MessageNode_EntityBeanWrapp
er0.java:245)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind._dh._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)
Any help would be greatly apprecieated,
the only solutionI can think of is to store longs in the database
instead of 
timestamps.
Thanks,
Oisin

-- 








RE: APJ13 experiences?

2001-07-27 Thread Aaron Tavistock

Well, the release notes show Orion supporting AJP13 since version 1.48 and
as I mentioned one of the Orion developers recommended this as a solution
for some issue I was seeing - but I have yet to see it actually work.  :)

As for being Tomcat specific, I figure its just a protocol so I guess anyone
could be able to support it as long as they matched the spec, right?

-Original Message-
From: James Fairbairn [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 4:56 AM
To: Orion-Interest
Subject: Re: APJ13 experiences?


I wasn't even aware that Orion used the AJP12/13 protocols. AFAIK the AJP
protocols are Tomcat connection protocols only. Somebody provide some
illumination.

James

- Original Message -
From: "Aaron Tavistock" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:12 PM
Subject: APJ13 experiences?


> I'm currently using Apache as a frontend to Orion, where Apache and Orion
> are on different machines and different places in the network.  Right now
it
> works quite well but there are some little minor annoyances (like seeing
the
> Proxy servers IP in Orions logs instead of the real client, et al).
>
> At JavaOne Karl told me that APJ13 would solve most of these problems, so
> I'm trying to get mod_jk working with Apache.  While setting up mod_jk I
> notice that its pretty tomcat specific, but it seems like mod_jk or jserv
> are the only options.
>
> It would be nice to hear if there are any good or bad experiences out
there
> with using APJ13 on Orion.
>
>





RE: Denying access to machine via IPAddress:PortNumberOfOrion

2001-07-27 Thread Shane Witbeck



As a 
work around, you may want to consider using a filter to do this 
programmatically.
 
-Shane

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Gregory 
  ScottSent: Friday, July 27, 2001 2:36 PMTo: 
  Orion-InterestSubject: Denying access to machine via 
  IPAddress:PortNumberOfOrion
  
  List,
   
  Environment: JDeveloper 3.2.3, WinNt 4.0 and Latest Version of 
Orion
   
  I want to prevent other users access to a machine running Orion via the 
  URL containing the IPAddress:PortNumberOfOrion. The User Security Link does 
  not address NT, only Solaris and Linux.
   
  Thanks in advance,Gregory A. Scott 
  
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com


RE: Anyone experience any problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

2001-07-27 Thread Eduardo Estefano









There is a limit for writing to a blob field of 4000 characters. If
anyone knows a solution, please let  me know.

 

-Original
Message-
From: HyungKee Hwang
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 5:45
PM
To: Orion-Interest
Subject: RE: Anyone experience any
problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

 

I’m using Oracle 8.1.7’s JDBC driver (classes12)
with JDK 1.3.0. And it seems to have some problems to handle CLOB. But there
has not been any problem except CLOB problem up to now.

 

I heard from Oracle technical
support that Oracle doesn’t
support JDK1.3.x officially.

 

-HK

 

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Duffey, Kevin
Sent: Friday, July 27, 2001 6:30
AM
To: Orion-Interest
Subject: Anyone experience any
problems with JDBC Oracle drivers and JDK 1.3.1 with connection pooling?

 

I have been trying to figure out why I can't connect
to our Oracle database. We are running JDK 1.3.1 with Orion 1.5.2. We are using
the jdbc.zip (I assume classes12.zip). I am reading on Oracle that Oracle 8.1.7
(and 8.1.5) only have JDBC drivers that support JDK 1.2.x. Does this mean
running JDK 1.3.1 is a BAD move when using JDBC drivers from Oracle? Should I
go back to JDK 1.2.2 for Orion? There are problems with JDK 1.2.2, such as the
NT-LOGOFF and what not when running Orion as a service that I am trying to
avoid. Please advise me if running Orion with JDK 1.3.1 (on Win2K Server or
Solaris) is OK while using Oracle 8.1.5 and/or Oracle 8.1.7 databases and jdbc
drivers.

 

Thanks.








Re: Denying access to machine via IPAddress:PortNumberOfOrion

2001-07-27 Thread Nicki de Wet



Hi,
 
Couldn't it be done by configuring the web.xml of 
the default-web-site?
 

    

        
theWholeSite
        
some witty desc
        
/*
        
GET
    

    

        
authorised users
        
myRole
    


 
Haven't actually done it myself, but it looks like 
it *can* work.
 
Regards,
Nicki

  - Original Message - 
  From: 
  Gregory 
  Scott 
  To: Orion-Interest 
  Sent: Friday, July 27, 2001 2:35 PM
  Subject: Denying access to machine via 
  IPAddress:PortNumberOfOrion
  
  
  List,
   
  Environment: JDeveloper 3.2.3, WinNt 4.0 and Latest Version of 
Orion
   
  I want to prevent other users access to a machine running Orion via the 
  URL containing the IPAddress:PortNumberOfOrion. The User Security Link does 
  not address NT, only Solaris and Linux.
   
  Thanks in advance,Gregory A. Scott 
  
  
  Get your FREE download of MSN Explorer at http://explorer.msn.com