RE: need help getting orion working with cyrillic

2000-09-05 Thread Stanislav Maximov
Thank you, Karl. Actually I've solved problems with the form data yesterday, but new problem appeared when I've tried to use sendMail tag from utils taglibrary. The cyrillic text sent via this tag appears as a number of question signs in letter body, though I've used mimeType="text/plain;

Re: 1.2.9 bug: InputStream from request throwing an exception

2000-09-05 Thread Joseph B. Ottinger
This message has little or no relevance to your actual bug. However, I just looked at www.orionserver.com/bugzilla, and I don't see this mentioned yet; to report bugs, there are two avenues to use. The first should probably be bugzilla, in my mind, as this creates a visible trail that everyone

Re: 1.2.9 bug: InputStream from request throwing an exception

2000-09-05 Thread Magnus Stenman
Hi, this is not a bug. In your code, change the line: actualRead = in.read(bytes, bytesRead, contentLength); to: actualRead = in.read(bytes, bytesRead, contentLength - bytesRead); Orion is throwing an IOB exception back at you per the InputStream specification since the

Avoiding URL rewriting?

2000-09-05 Thread Joseph B. Ottinger
I have a situation where I *want* to avoid rewriting for a client. What's happening is that a URL is being constructed to change from http:// to https://, and I *want* to force a new session for the secure port. However, once I'm at the secure site, I can't call session.invalidate() (I forget the

What does this error mean?

2000-09-05 Thread Hauke Zhl
Hello folks! Well, I am pretty new to EJBs (and so to this list) and got into real trouble: I have a Web-application including a JSP-file and an EJB. So, when I try to dploy it, I receive the following message: Error loading package at file:/home/stp/stp/rel/inventar/inv_liste/inventar-ejb.jar,

What does this error mean?

2000-09-05 Thread Hauke Zhl
Hello folks! Well, I am pretty new to EJBs (and so to this list) and got into real trouble: I have a Web-application including a JSP-file and an EJB. So, when I try to dploy it, I receive the following message: Error loading package at file:/home/stp/stp/rel/inventar/inv_liste/inventar-ejb.jar,

Autoencoding URLs

2000-09-05 Thread Werff, M.R. van der
Hi, I'm trying to support browsers that don't have cookies enabled. The autoencoding of Orion works fine in most cases. It automatically appends ;jsessionid=EDGKOOGMNHNH to most URLs. It even works on URLs with a parameter: password.jsp?oper=modify becomes

RE: What does this error mean?

2000-09-05 Thread Lawrence Fry
I've included the ejb-jar.xml in both places, the META-INF directory in the jar, and the META-INF directory where my jar is located. It seems to work. If you are pointing to the jar file in your application xml file, the directory shouldn't be needed. What does you application xml file point

Re: Autoencoding URLs

2000-09-05 Thread Jacek Laskowski
"Werff, M.R. van der" wrote: Hi, So far so good. It does not work when I'm creating the links from information from a session bean: A href="management.jsp?id=%=ka%"%=user.getKaName(ka)%/A In that case I'm ending up with: management.jsp?id=midip without the

Hung while client application using O-R Mapping and version problem?

2000-09-05 Thread Jennifer Kew
Hi there, Can anybody answer me the following tiresome problem? 1. I try to use O-R mapping according to Orion How-to, exactly as the following: In CustomerEJB.java, add: public Set addressSet; public static final Class addressSet_type=com.FedEx.entity.customer.Address.class; public Set

RE: Autoencoding URLs

2000-09-05 Thread Juan Pablo Lorandi
encodeURL() see servlet specification this is where Orion actually adds the session data to the URL I think it's part of the response object HTH, JP -Original Message- From: Werff, M.R. van der [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 05, 2000 10:04 AM To: Orion-Interest

Re: Autoencoding URLs

2000-09-05 Thread Mike Clark
You must explicitly encode the URL using... A href=servletResponse.encodeURL("management.jsp?id=%=ka%") %=user.getKaName(ka)% /A Mike --- "Werff, M.R. van der" [EMAIL PROTECTED] wrote: Hi, I'm trying to support browsers that don't have cookies enabled. The autoencoding of

Example of getting an Initial JNDI context with Orion

2000-09-05 Thread Tilchen, Matt
Title: Example of getting an Initial JNDI context with Orion Hello all, I am somewhat new to Orion and was wondering what method is appropriate for obtaining an initial context with Orion. I tried using com.evermind.server.ApplicationClientInitialContextFactory and passing principle and

Re: Autoencoding URLs

2000-09-05 Thread alexchud
In your creating a dynamic url you have to use response.encodeURL("url in here") yourself, Orion will auto encode static urls, and it can even auto encode static absolute urls as far as i know if you set it right in the descriptors, but it does not auto encode dynamic ones, so that is your

Security Roles

2000-09-05 Thread alexchud
Could someone please explain to me how security roles work in orion. How can I specify my Jsp pages in a particular web application to take on a particular role ? I believe you need to use the UserManager for this, but is there any information available on the user Manager ?? I do have form

Example of using EJB2.0 on Orion

2000-09-05 Thread Vimal Kansal
Can somebody show me some sample application on how to setup/use EJB2.0 on orion.? TIA Vimal Kansal __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/

Bean deployement

2000-09-05 Thread Derek Akers
I'm running orion server, I can get it to parse my jsp, .class but I cannot get it to parse my .jar files that are not EJBs. Do I have to install them as applications? why can it not find them?

RE: Security Roles

2000-09-05 Thread Juan Pablo Lorandi
To impersonate a role, you must use the RoleManager of your app (java:comp/RoleManager) The orion api is the only known source of information on the Security Managers HTH, JP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 05, 2000 1:31 PM

Re: Example of getting an Initial JNDI context with Orion

2000-09-05 Thread Ari Halberstadt
Use Context context = new InitialContext() this creates an initial context using the default values, which are all automatically set by orion. "Tilchen, Matt" [EMAIL PROTECTED] on 09/05/2000 10:56:52 Please respond to Orion-Interest [EMAIL PROTECTED]

list problems?

2000-09-05 Thread J.T. Wenting
I am currently receiving 2 copies of each message... Jeroen T Wenting [EMAIL PROTECTED] ICQ UIN #9191966 It's the end of the world as we know it and I feel fine (Michael Stipe)

RE: Security Roles

2000-09-05 Thread Arved Sandstrom
Hi, Alex Security roles themselves are part of the J2EE spec, as you're probably aware. Users and groups, or any other means of designating a security "principal", with a small "p", are not. So the server-dependent fun consists of mapping users groups to roles. This is where the user manager

RE: Bean deployement

2000-09-05 Thread Juan Pablo Lorandi
you .jar files MUST reside within .war files in the /WEB-INF/lib directory. Alternatively, you can store your .class files in /WEB-INF/classes -- both these dirs constitute the jsp/servlet "classpath" (notice the quotes) HTH, JP -Original Message-From: Derek Akers

Accessing JNDI defined datasource from a servlet running in a different VM

2000-09-05 Thread Vimal Kansal
Hi, Can somebody tell me how do I access JNDI defined datasource from a servlet. Application Server runs on one machine and the servlet is running on a different machine. Thanks Vimal Kansal __ Do You Yahoo!? Yahoo! Mail - Free email you can

SSL and url rewriting

2000-09-05 Thread David Schiff
When accessing pages within my web app using https, orion is rewriting url's by appending a string of type ;jsessionid=myid even though it is sending a JSESSIONID cookie that is accepted by the browser. URL's that have a query string are not rewritten. When accessing these same pages with http,

Re: list problems?

2000-09-05 Thread alexchud
Perhaps your seeing double :) ? heh - Original Message - From: "J.T. Wenting" [EMAIL PROTECTED] Date: Wednesday, September 6, 2000 3:23 am Subject: list problems? I am currently receiving 2 copies of each message... Jeroen T Wenting [EMAIL PROTECTED] ICQ UIN #9191966 It's the

Lookup on bean's home from java class inside the appserver VM

2000-09-05 Thread Sridhar Manickam
Hi, I would like to know how a regular java object (non-EJB) that is executing inside the same VM as the AppServer lookup the home interface of a EJB that is deployed in the server. Iam able to access beans from remote clients by specifying the bean details in the client xml files, and if I want

Please Help !!!

2000-09-05 Thread michel_climber
Greetings Could someone tell me step by step how could I use earassembler, ejbassembler and clientassembler tool from Orion. I need to generate my .ear file, because I have been using J2ee tool in order to do it. Thank you very much ___

XSL example

2000-09-05 Thread KirkYarina
How do I run the xsl example in default-web-app/examples/xsl? when using http://hostname/examples/xsl/doc.jsp I get an error: Source XML Error: External entity not found: "/local/java/orion/default-web-app/examples/xsl/doc.dtd". doc.dtd is in that directory... TIA Kirk Yarina [EMAIL

NameNotFoundException - JMS

2000-09-05 Thread Cathleen Dull
Hi; I am trying to look up a queue from a stateless session bean, and I get javax.naming.NameNotFoundException: jms/asynchQueue not found in Generator. The GeneratorBean class is attached, and the xml files are printed below. Thanks, Cathy It is doing the lookup in this method: private

RE: 1.2.9 bug: InputStream from request throwing an exception

2000-09-05 Thread Scott Lawrence
Sorry, I didn't see the Bugzilla link on the web site. I knew there was a better place for this but I couldn't find it. I see it now. The InputStream is to spec just as Magnus has said. The funny thing is that my code actually works in Tomcat and some other servers. I suppose I'll report the

System.out.println

2000-09-05 Thread rosely kumoi
Hi there, Just want to know if either System.out.println command in the orion environment are a wasting code to be used (because it doesn't produce any output when i used them in my servlet) Hope someone can give me some pointers how to make the System.out.println work in orion environment.

Loadbalancer.jar HOWTO?

2000-09-05 Thread Jen Hsien Huang
How to use the loadbalancer.jar , I can't find any document about it. Can anybody explain how to use it in short? Regards.,Jen Hsien Huang

JDBC-ODBC Connection

2000-09-05 Thread rosely kumoi
Just want to know if a servlet/jsp/ejb can make a database connection to the database via jdbc-odbc (in case I don't want to used the entity bean) rosely kumoi

JBuilder 4

2000-09-05 Thread Cory Adams
JBuilder 4.0 just came out and the Enterprise edition will let you develop fully J2EE compliant apps. Does anybody have any experience using this version of JBuilder 4 and Orion? Thanks, Cory

RE: System.out.println

2000-09-05 Thread Matt Krevs
What version of Orion are you using? Version 1.2.0 has a bug in it where System.out.println()s dont appear -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of rosely kumoi Sent: Wednesday, 6 September 2000 13:31 To: Orion-Interest Subject:

Re: RE: Security Roles

2000-09-05 Thread alexchud
Is it possible for you to include any source code to show how its actually done, I have had a look through the api,but it all seems rather overwhelming :). Thanks alot in advance. Alex Chudnovsky - Original Message - From: Juan Pablo Lorandi [EMAIL PROTECTED] Date: Wednesday,

RE: Autoencoding URLs

2000-09-05 Thread Harry Hendrata
Hi, You should use encodeURL to perform this correctly regards harry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Werff, M.R. van der Sent: Tuesday, September 05, 2000 6:34 PM To: Orion-Interest Subject: Autoencoding URLs Hi, I'm trying to

Re: Loadbalancer.jar HOWTO?

2000-09-05 Thread Jason von Nieda
I would also love to know at least SOMETHING about this. It sounds like something I could really use but I have been trying to get it do something for a few days to no avail. - Original Message - From: Jen Hsien Huang To: Orion-Interest Sent: Tuesday, September 05,

Japanese display

2000-09-05 Thread Jonathan Scott
When I save a .jsp file in x-sjis format for Japanese kanji, and then access it through Orion, it comes out all wrong. For those of you without the Japanese fonts, it might look something like my signature. I have put into the orion-web.xml file default-charset="x-sjis" And it still doesnt work.

RE: Bean deployement

2000-09-05 Thread Jason A. Westra
Try adding helper jars to your library path inside the global application.xml file like this example... All .jars are automatically loaded into the classpath at startup. library path="e:\home\www.testorion.com\lib\;d:\orion\lib\" / -Original Message-From: [EMAIL PROTECTED]