how to get crimson working?

2001-04-08 Thread elephantwalker

Looks like this is a little problem.

I know that there are several xml parser problems with orion. I want to use
crimson (the latest Jan 30 version) on orion because the sax 2 parser is
about 4 times faster than xerces.

The class clash problem with the sax 1 implementations used by orion will
always clash with a sax 2 parser. This usually manifests itself with a
"method not found" error. Has anybody gotten the latest crimson to run with
orion?

What class paths are necessary for orion to run, so I can front-end my
parser jar's before the offending sax 1 jar's?

And to the orion developers...please use the latest jaxp to abstract the
parser calls, and please upgrade to sax 2. Sax 1/Dom 1 are almost dead now,
so its time to upgrade.

regards,

The elephantwalker








Error deserializing session

2001-04-08 Thread Sergei Batiuk

Hello all,

What does the following error mean? It looks more like a warning, since I
did not encounter any abnormal behavior with orion. Is it serious? What
might have caused it?

Error deserializing session: java.io.WriteAbortedException: Writing aborted
by e
xception; java.io.NotSerializableException: com.evermind.sql.ak







SSL

2001-04-08 Thread Mark A. Richman



How can I create a test SSL 
certificate?
Regards,Mark A. RichmanEmpire Software, Inc.Expert 
Software Development  Consulting+ Internet/Intranet/Extranet+ 
E-Commerce  B2B+ Java, C/C++, Visual Basic+ XML, SOAP, and Web 
Services+ Linux  Open-Source Solutions+ Database Applications+ 
...and MUCH more!http://www.empsoft.com[EMAIL PROTECTED]Tel: 
954-234-9049 


BEGIN:VCARD
VERSION:2.1
N:Richman;Mark;A.;Mr.
FN:Mark A. Richman
NICKNAME:Mark
ORG:Empire Software, Inc.
TITLE:President
NOTE;ENCODING=QUOTED-PRINTABLE:Empire Software, Inc.=0D=0AExpert Software Development  Consulting=0D=0A=
=0D=0A+ Internet/Intranet/Extranet=0D=0A+ E-Commerce  B2B=0D=0A+ Java, C/C+=
+, Visual Basic=0D=0A+ XML, SOAP, and Web Services=0D=0A+ Linux  Open-Sourc=
e Solutions=0D=0A+ Database Applications=0D=0A+ ...and MUCH more!=0D=0A
ADR;WORK:;954-234-9049;9932 NW 57 Manor;Coral Springs;FL;33076;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:954-234-9049=0D=0A9932 NW 57 Manor=0D=0ACoral Springs, FL 33076=0D=0AUSA
URL:
URL:http://www.empsoft.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010228T000841Z
END:VCARD



Re: how to get crimson working?

2001-04-08 Thread Hani Suleiman

Orion 1.4.8 will take care of that, I am told.

On Sun, 8 Apr 2001, elephantwalker wrote:

 Looks like this is a little problem.
 
 I know that there are several xml parser problems with orion. I want to use
 crimson (the latest Jan 30 version) on orion because the sax 2 parser is
 about 4 times faster than xerces.
 
 The class clash problem with the sax 1 implementations used by orion will
 always clash with a sax 2 parser. This usually manifests itself with a
 "method not found" error. Has anybody gotten the latest crimson to run with
 orion?
 
 What class paths are necessary for orion to run, so I can front-end my
 parser jar's before the offending sax 1 jar's?
 
 And to the orion developers...please use the latest jaxp to abstract the
 parser calls, and please upgrade to sax 2. Sax 1/Dom 1 are almost dead now,
 so its time to upgrade.
 
 regards,
 
 The elephantwalker
 
 
 
 
 
 





RE: how to get crimson working?

2001-04-08 Thread elephantwalker

Hani,

Looks like Jim Carroll's post on March 21, I was able to get crimson
rolling.

Here's how (its ugly but it works):

delete parser.jar
delete jaxp.jar

get the latest distribution of xalan. This should have xerces.jar for 1.30.

Replace the xalan.jar and xerces.jar with the latest files from xalan.

Copy the latest crimson.jar into orion/lib directory.
Copy the jaxp.jar from the crimson distribution into the orion directory.

restart orion.

Crimson now works. I haven't tried xalan...but we don't use xalan because
its so slow. We are using crimson with jdom to do our xml conversions, since
its so much faster than xalan.

Regards,

The elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman
Sent: Sunday, April 08, 2001 6:40 AM
To: Orion-Interest
Subject: Re: how to get crimson working?


Orion 1.4.8 will take care of that, I am told.

On Sun, 8 Apr 2001, elephantwalker wrote:

 Looks like this is a little problem.

 I know that there are several xml parser problems with orion. I want to
use
 crimson (the latest Jan 30 version) on orion because the sax 2 parser is
 about 4 times faster than xerces.

 The class clash problem with the sax 1 implementations used by orion will
 always clash with a sax 2 parser. This usually manifests itself with a
 "method not found" error. Has anybody gotten the latest crimson to run
with
 orion?

 What class paths are necessary for orion to run, so I can front-end my
 parser jar's before the offending sax 1 jar's?

 And to the orion developers...please use the latest jaxp to abstract the
 parser calls, and please upgrade to sax 2. Sax 1/Dom 1 are almost dead
now,
 so its time to upgrade.

 regards,

 The elephantwalker












How to start EJB development using Orion?

2001-04-08 Thread Chris Bergstresser

Hi all --

   I'm new to EJB development, and am trying to start with Orion Server, but
I'm having the hardest time figuring out how to even begin.  I've written a
bean and all the interfaces, which are all sitting in class files in the
c:\java directory.  I created a META-INF directory off of that, and created
an ejb-jar.xml file in there.
   However, I can find *no* information about how to inform Orion about the
existence of these files.  I was trying to follow
http://www.orionserver.com/tutorials/ejbtutorial.html, but it references a
config/ejb.xml file which simply doesn't exist.  I'm guessing it's old.
   Is there a simple step-by-step explanation of which files need to be
modified, in what order, and what else I need to do to start doing
development work?  Am I better off just using a better (i.e. better
supported and more completely documented) appserver?

-- Chris





RE: How to start EJB development using Orion?

2001-04-08 Thread Mike Cannon-Brookes

See http://www.jollem.com for two very useful primers for you.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
 Bergstresser
 Sent: Monday, April 09, 2001 12:50 PM
 To: Orion-Interest
 Subject: How to start EJB development using Orion?


 Hi all --

I'm new to EJB development, and am trying to start with Orion
 Server, but
 I'm having the hardest time figuring out how to even begin.  I've
 written a
 bean and all the interfaces, which are all sitting in class files in the
 c:\java directory.  I created a META-INF directory off of that,
 and created
 an ejb-jar.xml file in there.
However, I can find *no* information about how to inform Orion
 about the
 existence of these files.  I was trying to follow
 http://www.orionserver.com/tutorials/ejbtutorial.html, but it references a
 config/ejb.xml file which simply doesn't exist.  I'm guessing it's old.
Is there a simple step-by-step explanation of which files need to be
 modified, in what order, and what else I need to do to start doing
 development work?  Am I better off just using a better (i.e. better
 supported and more completely documented) appserver?

 -- Chris








Precompiling JSP files

2001-04-08 Thread Frank LaRosa

Hi,

Forgive me if this is a naieve question, but I'm new to Orion and new to
JSP.

I'm wondering if there is a way I can compile JSP pages one at a time on the
command line without deploying them to the Orion server.

All I want to do is verify that there are no Java errors in the page, so it
doesn't really matter if the page has to get compiled again after it's
deployed -- I just want an easier way to check my JSP code than deploying it
and loading it in the web browser.

Thanks.





During development, how to allow only a couple of ips, including my local system, to view the site?

2001-04-08 Thread Kevin Duffey

Hi all,

I would like to block out ALL ips from viewing my site (using my static ip)
except for a few ips, which are from co-workers over the internet. Is this
possible? If so, how? I read in the orion-web.xml.html file about ip-access
tag, and when I tried it, it did block off all ips. But when I added when to
allow it, such as "localhost" or my direct IP, sometimes it wouldn't allow
it, and other times the browser sat and spun for about 5 minutes, then
reported a time out.

Thanks.





RE: Precompiling JSP files

2001-04-08 Thread elephantwalker

I use netbeans/forte community edition ide. It is free, and has a server
built-in. I use "execute" jsp page from the ide, and it will actually create
the code, and fire up a browser to view the page.

I am pretty sure you can download the jdwk or something-or-other from sun
which provides a command line server for jsp's. But it doesn't actually
create and compile the code unless you access the page from a browser.

Regards,

The Elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank LaRosa
Sent: Sunday, April 08, 2001 9:02 PM
To: Orion-Interest
Subject: Precompiling JSP files


Hi,

Forgive me if this is a naieve question, but I'm new to Orion and new to
JSP.

I'm wondering if there is a way I can compile JSP pages one at a time on the
command line without deploying them to the Orion server.

All I want to do is verify that there are no Java errors in the page, so it
doesn't really matter if the page has to get compiled again after it's
deployed -- I just want an easier way to check my JSP code than deploying it
and loading it in the web browser.

Thanks.






parsePostData

2001-04-08 Thread Frank LaRosa

I'm having some trouble parsing form data in a JSP page.

I'm using this code:

Hashtable ht = HttpUtils.parsePostData( request.getContentLength(),
request.getInputStream() );

The result is always a Hashtable with a size of zero, even though there
should be data in the form.

I posted the form with form method="POST" action="myPage.jsp". Can anyone
spot what I'm doing wrong? Thanks.





Re: How to start EJB development using Orion?

2001-04-08 Thread SCOTT FARQUHAR

references that might be a help include:

Sun's j2ee specification
Servlet 2.2 spec
JSP 1.1 spec

I find that tutorials at
www.jollem.com 
www.orionsupport.com 
are excellent.

AFAIK all you need to do to inform orion of the existance of those files is to edit 
server.xml, to point to your root dir.
eg.

 application name="taglib-test" path="..\applications\taglib-test" /


You need application.xml in meta-inf.  This is what you must inform orion of  
Application.xml contains references to your modules.

eg.
application
 display-nameTag Tutorial/display-name
 module
  web
   web-uritaglib-test-web/web-uri
   context-root//context-root
  /web
 /module
   module
  ejbejbdemo-ejb/ejb
   /module
/application


And the directory structure

/
/meta-inf/
/meta-inf/application.xml
/taglib-test-web/
/taglib-test-web/web-inf/
/taglib-test-web/web-inf/web.xml
/ejbdemo-ejb/
/ejbdemo-ejb/meta-inf/
/ejbdemo-ejb/meta-inf/ejb-jar.xml



This is a quick overview (and may contain errors and omissions)  Try the tutorials on 
orionsupport and jollem.







 [EMAIL PROTECTED] 04/09/01 12:50pm 
Hi all --

   I'm new to EJB development, and am trying to start with Orion Server, but
I'm having the hardest time figuring out how to even begin.  I've written a
bean and all the interfaces, which are all sitting in class files in the
c:\java directory.  I created a META-INF directory off of that, and created
an ejb-jar.xml file in there.
   However, I can find *no* information about how to inform Orion about the
existence of these files.  I was trying to follow
http://www.orionserver.com/tutorials/ejbtutorial.html, but it references a
config/ejb.xml file which simply doesn't exist.  I'm guessing it's old.
   Is there a simple step-by-step explanation of which files need to be
modified, in what order, and what else I need to do to start doing
development work?  Am I better off just using a better (i.e. better
supported and more completely documented) appserver?

-- Chris