UN-SUBSCRIBE

2001-05-16 Thread Angshuman Dasgupta



-Original Message-
From: HyungKee Hwang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 10:23 AM
To: Orion-Interest
Subject: RE: Can we get rid of these messages from naver.com?






RE: Interests sake

2001-05-04 Thread Angshuman Dasgupta
Title: RE: Interests sake



I am 
assuming you want Apache to host your servlets - also I am assuming that you 
already know how to host your servlets on the servlet engine. That being done, 
you need to do the following...
A) 
Create a JNDI .properties that looks like this:
 
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactoryjava.naming.provider.url=ormi://172.16.132.115/cart 
(replace with your IP and your app 
name)java.naming.security.principal=admin(your Orion 
username)java.naming.security.credentials=admin(your orion 
password)
 
B) for 
jserv, create new wrapper.classpath entries in your jserv.conf to include 
orion.jar, and the directory containing JNDI properties to jserv's 
classpath.
Now, 
go to $ORION/config/default-web-site.xml and set the port to some arbitrary high 
value (basically it shouldn't be 80 or 443, if you're running apache-ssl) 

 
Now 
you're ready to roll.
On 
Tomcat <3.2.1  there is a problem with the classpath so you have to put 
the orion.jar in $TOMCAT/lib - and you have to pass the JNDI environment as a 
bunch of -D directives to you Tomcat JVM invocation 
commandline.
 
That's  it..
 
Hope 
this works for you.
 
Regards,
DG
You 
have to have Jserv (or tomcat) to 

  
-Original Message-From: MD13 CYChen13 
[mailto:[EMAIL PROTECTED]]Sent: Friday, May 04, 2001 12:18 
PMTo: Orion-Interest Subject: RE: 
Interests sake
  How can we link Apache and Orion? [Angshuman 
  Dasgupta]  Thanks so much!! 
  ted 
  -Original Message- From: Alex 
  'Kazuma' Garbagnati [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 6:48 AM To: 
  Orion-Interest Subject: RE: Interests sake 
  
  >For production, Win2K/Orion 1.4.7/PostgreSQL.  For 
  development, >Win2K/Orion 1.4.8/hsql.  I'll 
  probably move the production box to 1.4.8 >soon 
  since it seems to work well enough with my code.  I have test 
  >systems running Linux/PostgreSQL too. 
  Production: Linux - Apache - Resin - 
  Orion 1.4.5 - PostgreSQL Development:    Win2K - Tomcat - Orion 1.4.5 - 
  PostgreSQL 
  >With Linux it's much easier to configure Java apps as 
  daemons, but I >can't render my dynamic images with 
  any reasonable quality - XWindows >renders fonts 
  like a three-year-old with a half-eaten crayon :-) 
  You should try pja. It does not require any XWindow server 
  running and I use the same fonts available on 
  win... 
   Best 
  regards,  
  Kazuma 
  --- Those who do not understand Unix 
  are condemned to reinvent it, poorly. 
  Alex Garbagnati, [EMAIL PROTECTED] 



RE: Interests sake

2001-05-03 Thread Angshuman Dasgupta

Dev:Linux
Prod:Solaris

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 2:43 PM
To: Orion-Interest
Subject: Re: Interests sake


At 15:53 03.05.2001 , you wrote:

>Hi all,
>
>For interests sake, what OS is everyone on the list running orion on?
>
>Windows 2000?
>WinNT
>Linux?

dev and prod on Linux.

Except for the well-known occasional linux JVM quirks it runs OK.



(-) 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: work around for rh7.1

2001-04-22 Thread Angshuman Dasgupta

Hello people - I have put Orion on my Debian box as the default web-server.
Now I am facing a problem... I have created a virtual directory for
/mnt/downloads now Whenever a file or directory name has spaces in it, Orion
converts it to dits on displaying, and when one clicks on the link, 404
happens.
Can anyone tell me how to fix this?


-Original Message-
From: Tim Endres [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 10:04 PM
To: Orion-Interest
Subject: Re: work around for rh7.1


There is a simpler workaround that does not require you to modify your
installation. Simply edit $JAVA_HOME/bin/.java_wrapper and add:

   export LD_ASSUME_KERNEL=2.2.5

Add this right after the setting of PATH. This works for me with 1.3.1rc1
under RH7.1.

tim.

> If you have not installed red hat 7.1, there is a major bug which effects
> sun java, and kills ibm's java. There is a workaround, though. I am
posting
> this to save all of us some grief.
> 
> Here is the link explaining the bug:
> 
> http://developer.java.sun.com/developer/bugParade/bugs/4415774.html
> 
> The workaround only works for the jdk1.3.1-rc1 from sun...all previous
> releases won't work.
> 
> Here's the workaround:
> 
> 1. su root
> 2. ln -sf /lib/i686/libpthread.so.0 /lib/i686/libpthread.so
> 3. /sbin/ldconfig
> 
> This seems to work for me. Workaround is courtesy of huanghui1 on the bug
> parade.
> 
> 
> 





RE: does orion cache or store property resources anywheres

2001-04-22 Thread Angshuman Dasgupta



I've 
had this problem numerous times with Orion as well as Apache/Jserv - you need to 
make sure you're not going through a proxy-cache... and you gotta delete the 
contents of your browser cache. 

  -Original Message-From: G.L. Grobe 
  [mailto:[EMAIL PROTECTED]]Sent: Sunday, April 22, 2001 5:17 
  AMTo: Orion-InterestSubject: does orion cache or store 
  property resources anywheres
  Below is a response I got for a problem (posted 
  below that) in which I believe Orion may be doing something weird 
  w/ my properties files in the WEB-INF/classes dir. If I delete the 
  property file, Orion is still finding it (thought it's not there). I've triple 
  checked everywheres and don't have any of these files within the classpath or 
  anywheres else that it would be getting confused with.
   
  Any help much appreciated.
   
  -- this is the response to my 
  original post 
   
   I got 
  exactly the same error in VAJ-Tomcat environment when I first timeload my 
  own project after running the struts-examples successfully.It turned 
  out that Tomcat mixed up the property files that are loadedinto its 
  environment and could not figure out who is who.Fix:Leave only 
  the project you are working with in Tomcat's classpathand 
  projectpaths.For me in VAJ, I have to also delete the JSP compiled 
  servlet projectto clean it up.
   this was my original post 
  -I've dug into the 
  struts code and am posting this problem again w/ a little more info. I'm 
  using Orion 1.4.7.500 Internal ServerError 
  javax.servlet.jsp.JspException: Missing message for key main.title 
  atorg.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,Compiled 
  Code) at /index.jsp._jspService(/index.jsp.java, Compiled Code) at 
  ...According to the above error and this snippit of code taken 
  from the 4-20 tar.gz source, the properties file that my web-app is 
  looking for is being found and all seems to be setup/configured correctly, 
  else the error would be about messageTag.resources (not finding the 
  property file). I've also included my properties (cais.properties) file 
  below with this key included in it.The only thing else I think 
  that can be wrong is the value of the args array just before the Exception 
  is thrown and I was wondering if anyone could tell me what those might 
  be.The line with 'String message = resources.getMessage(locale, key, 
  args);' must be returning null and so this is giving me the above error, 
  but I'm not sure what's being stuffed into it or where it comes 
  from.Any help much appreciated.- MessageTag.java 
     public 
  int doStartTag() throws JspException {    // Acquire 
  the resources object containing our messages    
  MessageResources resources = 
  (MessageResources)    
  pageContext.getAttribute(bundle, 
  PageContext.APPLICATION_SCOPE);    if (resources == 
  null)    throw new 
  JspException   
  (messages.getMessage("messageTag.resources", 
  bundle));    // Calculate the Locale we will be 
  using    Locale locale = null;    try 
  {    locale = 
  (Locale)   
  pageContext.getAttribute(localeKey, 
  PageContext.SESSION_SCOPE);    } catch 
  (IllegalStateException e) { // Invalidated 
  session    locale = 
  null;    }    if (locale == 
  null)    locale = 
  defaultLocale;    // Construct the optional arguments 
  array we will be using    Object args[] = new 
  Object[5];    args[0] = arg0;    args[1] 
  = arg1;    args[2] = arg2;    args[3] = 
  arg3;    args[4] = arg4;    // 
  Retrieve the message string we are looking for    String 
  message = resources.getMessage(locale, key, args);    if 
  (message == null)    throw new 
  JspException   
  (messages.getMessage("messageTag.message", key));-- 
  ~WEB-INF/web.xml 
     
  action   
  org.apache.struts.action.ActionServlet   
    
  application  
  cais   
      ...-- ~/index.jsp 
  <%@ page language="java" %><%@ taglib 
  uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib 
  uri="/WEB-INF/struts-html.tld" prefix="html" 
  %>    
  -- 
  ~WEB-INF/classes/cais.properties # C.A.I.S. 
  Resource Bundlemain.title=CAISmain.master=Master 
  Viewmain.detail=Detailed 
View


RE: .zip files and solaris

2001-04-21 Thread Angshuman Dasgupta

That'll NEVER work for a zip


-Original Message-
From: Tim Endres [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 21, 2001 10:17 PM
To: Orion-Interest
Cc: Kemp Randy
Subject: Re: .zip files and solaris


jar xvf file.jar


> In development, I work with Orion on both Solaris and
> Windows 2000.  But there must be an easier way of
> dealing with Orion and Jboss zip files.  I use winzip
> to unzip them in Windows, and FTP the unzipped version
> to Solaris.  Is there any third party software to
> unzip a zip file on solaris?  Tar and tar.gz are easy.
>  What does everyone use for Orion on solaris?  I
> haven't addressed this question to my Unix
> administration folks yet, and I thought I would try
> here first.
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 





RE: .zip files and solaris

2001-04-21 Thread Angshuman Dasgupta

go to www.sunfreeware.com

There are solaris packages for  zip and unzip (and lots of other useful
things, like bash)

-Original Message-
From: Kemp Randy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 21, 2001 8:01 PM
To: Orion-Interest
Subject: .zip files and solaris


In development, I work with Orion on both Solaris and
Windows 2000.  But there must be an easier way of
dealing with Orion and Jboss zip files.  I use winzip
to unzip them in Windows, and FTP the unzipped version
to Solaris.  Is there any third party software to
unzip a zip file on solaris?  Tar and tar.gz are easy.
 What does everyone use for Orion on solaris?  I
haven't addressed this question to my Unix
administration folks yet, and I thought I would try
here first.

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Stream Corrupted Exception

2001-04-16 Thread Angshuman Dasgupta

We are developing a 5-tier application here - the client is applet, and
Orion serves the servlets and EJB's - The application, after loading, stays
pretty stable for 30-40 mins after which we keep getting Stream Corrupted
exceptions and HTTP Read timed out on the backend, while at the front-end
there is usually no message, and if there is, it's a null-pointer exception.
We deployed the same app on Apache (keeping the EJB's in Orion) and the
problem went away. Is this a known issue? In that case does anyone have a
solution?

Thanks
DG
 java.io.StreamCorruptedException: Caught EOFException while reading the
stream header
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:845)
at java.io.ObjectInputStream.(ObjectInputStream.java:168)
at
com.myrio.tm.subscribers.servlet.CSubscribersServlet.service(CSubscribersSer
vlet.java:396)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)
ejbFindByPrimaryKey(97)
ViewerId =1
count...1
new Preference 1
ejbStore()
Inside StoreSubscriberContacts
Exiting StoreSubscriberContacts
in storeSubscriberViewer
exiting StoreSubscriberViewers
java.io.StreamCorruptedException: Caught EOFException while reading the
stream header
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:845)
at java.io.ObjectInputStream.(ObjectInputStream.java:168)
at
com.myrio.tm.subscribers.servlet.CSubscribersServlet.service(CSubscribersSer
vlet.java:336)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)