Simple Java Doubts

2001-05-08 Thread Santosh Kumar

Question 1:
How does an elementary Singleton pattern based Object behave
in a multi-threaded environment? What is this phenomenon called? How do you
make such a Singleton Object thread safe?

Question 2: What are the two methods typically employed to notify remote
clients distributed over the Internet of events that take place on a
central server?  Like changes in the price of options, market depth, or an
order
execution?  What are the relative advantages/disadvantages of each of
these strategies?  Specifically, how can they be implemented in Java to
allow
for firewall tunneling over HTTP?







***
Disclaimer :
The information contained and transmitted in this e-mail is
confidential information, and is intended only for the
named recipient to which it is addressed. The content of
this e-mail may not have been sent with the authority of
 the company. If the reader of this message is not the
named recipient or a person  responsible for delivering it
to the named recipient, you are notified that the review,
dissemination, distribution, transmission, printing or copying,
forwarding, or any other use of this message or any part of
it, including any attachments, is strictly prohibited. If you
have received this communication in error, please delete
the e-mail and destroy all record of this communication.
Thank you for your assistance.
**



Simple Java Doubts

2001-05-08 Thread Santosh Kumar

Question 1:
How does an elementary Singleton pattern based Object behave
in a multi-threaded environment? What is this phenomenon called? How do you
make such a Singleton Object thread safe?

Question 2: What are the two methods typically employed to notify remote
clients distributed over the Internet of events that take place on a
central server?  Like changes in the price of options, market depth, or an
order
execution?  What are the relative advantages/disadvantages of each of
these strategies?  Specifically, how can they be implemented in Java to
allow
for firewall tunneling over HTTP?







***
Disclaimer :
The information contained and transmitted in this e-mail is
confidential information, and is intended only for the
named recipient to which it is addressed. The content of
this e-mail may not have been sent with the authority of
 the company. If the reader of this message is not the
named recipient or a person  responsible for delivering it
to the named recipient, you are notified that the review,
dissemination, distribution, transmission, printing or copying,
forwarding, or any other use of this message or any part of
it, including any attachments, is strictly prohibited. If you
have received this communication in error, please delete
the e-mail and destroy all record of this communication.
Thank you for your assistance.
**



Re: Running 2 Orions on the Same Machine

2001-05-07 Thread Santosh Kumar

you cant make two servers in the same machine listen on same ports.
To get rid of the error you must make the servers run on different ports.
Santosh
-Original Message-
From: B. Dawkins [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Monday, May 07, 2001 12:15 PM
Subject: Running 2 Orions on the Same Machine


Hi,

I am trying to run 2 Orions on the same machine.  Everything seems to be ok
but when I start the 2nd Orion, I get the following message, even thou it
still starts: Error Starting RMI-Server:IO -Error: Address in use JVM_Bind.

How can I get rid of this Error?

Thanks,
Brandy
_
Get your FREE download of MSN Explorer at http://explorer.msn.com







Re: autoreload of jsp files failed while working hard on a single jsp

2001-04-12 Thread Santosh Kumar

you have to restart orion..no other option.

santosh
-Original Message-
From: Norman Timmler [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Thursday, April 12, 2001 1:48 PM
Subject: autoreload of jsp files failed while working hard on a single jsp


hi,

usally the autoreload function of jsp's works fine, but after some savings
on a
single jsp or some time passes (something between 10 minutes and half a day)
orion does not reload the jsp correctly. if you
press reload in your browser the old page is shown without changes actually
made in the jsp.

deleting the cache files did not help.

we use orion 1.4.7 on window 2000 with jdk 1.3

any ideas or similar problems?

norman

._

neteye GmbH

[EMAIL PROTECTED]
http://net-eye.de
_.







Re: autoreload of jsp files failed while working hard on a single jsp

2001-04-12 Thread Santosh Kumar

That is a major source of concern and wastage of time for our dev. project.
But we got used to it.

;-)


-Original Message-
From: Norman Timmler [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Thursday, April 12, 2001 5:58 PM
Subject: AW: autoreload of jsp files failed while working hard on a single
jsp



it is a bug, isn't it?
really anoying if you work with 3 or more people on one project. you have to
restart the orion server every 10 minutes and it takes a while to come up
again. :-((

 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]Im Auftrag von Santosh
 Kumar
 Gesendet: Donnerstag, 12. April 2001 10:23
 An: Orion-Interest
 Betreff: Re: autoreload of jsp files failed while working hard on a
 single jsp


 you have to restart orion..no other option.

 santosh
 -Original Message-
 From: Norman Timmler [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Date: Thursday, April 12, 2001 1:48 PM
 Subject: autoreload of jsp files failed while working hard on a single jsp


 hi,

 usally the autoreload function of jsp's works fine, but after some savings
 on a
 single jsp or some time passes (something between 10 minutes and
 half a day)
 orion does not reload the jsp correctly. if you
 press reload in your browser the old page is shown without
 changes actually
 made in the jsp.

 deleting the cache files did not help.

 we use orion 1.4.7 on window 2000 with jdk 1.3

 any ideas or similar problems?

 norman

 ._

 neteye GmbH

 [EMAIL PROTECTED]
 http://net-eye.de
 _.











Re: Credit-Card Processing

2001-04-11 Thread Santosh Kumar

but where to make this change?

santosh
-Original Message-
From: denis despinoy [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Tuesday, April 10, 2001 11:48 PM
Subject: Re: Credit-Card Processing



We ran into to the same prb and corrected as follow

The certificate cn must match the url u are calling
i.e cn=www.mysite.com

That's it



--- Santosh Kumar [EMAIL PROTECTED] wrote:
 Does anybody use Verisigns's Payflow Pro for credit
 card processing?
 If yes, when i am trying to connect to the verisign
 server
 it gives me -32 error code saying "The certificate
 chain did not validate,
 common name did not match URL"

 Help
 Santosh
 -Original Message-
 From: Jens Stutte [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Date: Tuesday, April 10, 2001 1:02 PM
 Subject: AW: Callbacks on session beans... are they
 legal?


 Yes, it's legal (and we're doing similar things
 successfully, with a mix of
 session and entity beans). As far as I understood,
 with entity beans the
 reentrantTrue/reentrant flag must be set in
 ejb-jar.xml (at least we set
 it and it works, never tried without). With session
 beans, no special
 settings are needed. Of course, this easily may lead
 to endless recursions,
 so be careful...

  -Ursprngliche Nachricht-
  Von: Alex Paransky
 [mailto:[EMAIL PROTECTED]]
  Gesendet am: Dienstag, 10. April 2001 01:42
  An: Orion-Interest
  Betreff: Callbacks on session beans... are they
 legal?
 
  Is it legal for session bean A to create session
 bean B, and
  pass it to
  session bean C so that C can call on B?
 
  For example, if A is acting as a controller, B is
 acting as a
  factory, and C
  is acting as an algorithm.  So a controller needs
 to execute
  an algorithm
  which requires a factory as one of it's
 parameters.  As the
  algorithm runs,
  it calls on the factory to create the resources it
 needs.
 
  Thanks.
  -AP_
 
 





__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/






Re: request.getParameter() not working under solaris?

2001-04-11 Thread Santosh Kumar

probably you have to mention the char-set.
I am not sure how you do this

santosh
-Original Message-
From: Taavi Tiirik [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Wednesday, April 11, 2001 3:40 PM
Subject: request.getParameter() not working under solaris?


I am experiencing strange behaviour of Orion 1.4.5 running on PC Solaris
8
with jdk1.3.

I do not get expected results when calling request.getParameter() on a
jsp page. If I submit certain characters like "" for example (ie
auml;)
then request.getParameter() returns character with a code 65533.

The same jsp page works with following configurations:
Orion1.4.5, Win2000, jdk 1.3
Tomcat3.2.1, the very same Solaris, jdk 1.3
Tomcat3.2.1, Win2000, jdk 1.3

 Start of jsp page 

htmlbody

text="%= request.getParameter( "text" ) %"

form
input type="text" name="text"
input type="submit"
/form

/body/html

 End of jsp page --

Please, I could really use your help to solve this. If I cannot get
orion
working under Solaris I will have to change application server ASAP.
Any thoughts are welcome.

with best regards,
Taavi









Credit-Card Processing

2001-04-10 Thread Santosh Kumar

Does anybody use Verisigns's Payflow Pro for credit card processing?
If yes, when i am trying to connect to the verisign server
it gives me -32 error code saying "The certificate chain did not validate,
common name did not match URL"

Help
Santosh
-Original Message-
From: Jens Stutte [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Tuesday, April 10, 2001 1:02 PM
Subject: AW: Callbacks on session beans... are they legal?


Yes, it's legal (and we're doing similar things successfully, with a mix of
session and entity beans). As far as I understood, with entity beans the
reentrantTrue/reentrant flag must be set in ejb-jar.xml (at least we set
it and it works, never tried without). With session beans, no special
settings are needed. Of course, this easily may lead to endless recursions,
so be careful...

 -Ursprngliche Nachricht-
 Von: Alex Paransky [mailto:[EMAIL PROTECTED]]
 Gesendet am: Dienstag, 10. April 2001 01:42
 An: Orion-Interest
 Betreff: Callbacks on session beans... are they legal?

 Is it legal for session bean A to create session bean B, and
 pass it to
 session bean C so that C can call on B?

 For example, if A is acting as a controller, B is acting as a
 factory, and C
 is acting as an algorithm.  So a controller needs to execute
 an algorithm
 which requires a factory as one of it's parameters.  As the
 algorithm runs,
 it calls on the factory to create the resources it needs.

 Thanks.
 -AP_








Re: orion server version 1.4.7

2001-04-03 Thread Santosh Kumar

you need to be updated about autoupdate.jar.

santosh
-Original Message-
From: Vlad Stinsov [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Tuesday, April 03, 2001 12:07 PM
Subject: orion server version 1.4.7


Hi!
Help me pls.
On site www.orionserver.com I find server version 1.4.5, but in mailing
list we
talk about server version 1.4.7.
When I can find it.
Vlad Stinsov.






Re: com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (Disconnected)

2001-03-07 Thread Santosh Kumar
Title: com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (Disconnected)



Just to tell you the heaviest of the JSP's I have coded  is 
200kb

  -Original Message-From: 
  Randahl Fink Isaksen [EMAIL PROTECTED]To: 
  Orion-Interest [EMAIL PROTECTED]Date: 
  Wednesday, March 07, 2001 8:11 PMSubject: RE: 
  com.evermind.server.rmi.RMIConnectionException: Object reference no longer 
  valid (Disconnected)
  I 
  think somebody mentioned a 64K barrier on JSP pages? - Could that have 
  something to do with it?
  
  R.
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Eyal Litman 
(Kamoon IL)Sent: 7. marts 2001 10:27To: 
Orion-InterestSubject: 
com.evermind.server.rmi.RMIConnectionException: Object reference no longer 
valid (Disconnected)
Hi, 
I'm getting this exception when trying to sent a 72k string 
from my EJB(with orion) back to my client, using 
ORMI protocol (sun JDK 1.3, win 2000 and also on linux): com.evermind.server.rmi.RMIConnectionException: Object reference no 
longer valid (Disconnected)  at 
com.evermind.server.rmi.a1.invoke(JAX)  at __Proxy1.remove(Unknown 
Source)  
at 
kamoon.client.TestXmlTypesManager.main(TestXmlTypesManager.java:47) 

When i try to pass a smaller strings (i checked with 13k) it 
worked ok. 1. Does anybody had similar problems 
? 2. What is wrong ? 
Eyal Litman Server Side Team, Kamoon 
Ltd. 


Storing HttpServletRequest Object in Session

2001-03-02 Thread Santosh Kumar



Hi all,
 I tried to store 
the implicit request object in session. But when i tried to retrieve 
it.


one.jsp
--

...
...

 request.setAttribute("ONE", "1");

 request.setAttribute("TWO", "2");
..
..
 session.setAttribute("request",request);
..
 -- forward to two.jsp


two.jsp
--
  request= 
(HttpServletRequest) session.getAttribute("request");
  out.println((String) 
request.getAttribute("ONE"));

  out.println((String) 
request.getAttribute("TWO"));


Both the print statements are returning null..i was expecting 1 
and2 WHY


Regards,
Santosh



 



Re: EJB's referenced from a servlet?

2001-01-30 Thread Santosh Kumar

Add ejb-ref in web.xml of you web app

santosh
- Original Message - 
From: Emil Sarkissian [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 5:13 AM
Subject: EJB's referenced from a servlet?


 Hi,
 
 I seem to not be able to look up an EJB from my servlet. Anyone have any
 ideas how you make your EJBs accessible to servlets?
 
 The error I get is "MyCart not found".
 
 Thanks,
 Emil.
 
 
 





Re: Servlet Mapping and Access

2001-01-17 Thread Santosh Kumar

try  http://localhost/junitee/servlet/TestServlet

- Original Message -
From: hartmut wilms [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 2:17 PM
Subject: Servlet Mapping and Access


 Hi there,

 I'm really lost. I can't figure out how to access a mapped servlet from a
 Web-Browser. I tried several URLs, like:

 - http://localhost/gamsytest/TestServlet
 - http://localhost/gamsytest/junitee/TestServlet
 - http://localhost/junitee/TestServlet
 - ...

 Accessing JSPs in the example applications works fine. My problem is that
I
 don't understand the relationships between all the orion xml
 configuration/descriptor files. I know that they are documented, but
 sometimes some pieces are missing or I don't get enough information. After
 all I'm a Newbie to Orion.

 My configuration:

 server.xml
 ...
 application name="gamsytest"

 path="../applications/junitee-orion.ear" /
 ...

 default-web-site.xml
 ...
 web-app application="gamsytest" name="gamsytest-web"
 root="/gamsytest" /
 ...

 ??? What values are expected for name and root?

 web.xml
 ...
servlet
   servlet-nameTestServlet/servlet-name
   descriptionServlet that calls the TestRunner bean/description


servlet-classcom.itellium.aeservices.junit.htmlui.TestServlet/servlet-cla
 ss
/servlet
servlet-mapping
   servlet-nameTestServlet/servlet-name
   url-pattern/TestServlet/url-pattern
/servlet-mapping
 ...

 application.xml
 ...
module
   web
  web-urijunitee-web.war/web-uri
  context-root/junitee/context-root
   /web
/module
...

 What are the relationships between all these name/mapping attributes. I
used
 the web.xml and application.xml with jBOSS and WebLogic without having any
 problems:

 http://.../junitee/TestServlet WORKED!

 Can anybody help me and explain the orion way?

 Regards

 Hartmut Wilms








Re: Any news from Orion yet??

2001-01-14 Thread Santosh Kumar

Hi kevin,
As far as i have known WL5.1 or , there is no concept of ear files,
does 6.0 include
that. Doesn't the J2EE mandate (I am not sure!) the use of EAR =  WAR  + JAR
+ CAR(or JAR)?
To deploy the JPS1.1.1 on Orion, it is a piece of cake, while deploying on
WLS, i have to
unpack the EAR files and dis-integrate them which is contrary to the essence
of packaging the ear files,
Even meddling with the ugly weblogic.properties frustrates one and all. Is
that true with all WLS users?

Orion is a neat impl of J2EE,  is WLS6.0?

Regards,
Santosh.
- Original Message -
From: Kevin Duffey [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, January 15, 2001 12:07 PM
Subject: RE: Any news from Orion yet??


 I am not one to advocate another product, but WL6 looks nice. It is easy
to
 work with compared to WL5.1. Orion is still the best. JBoss looks very
 interesting as well.

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Neville
  Burnell
  Sent: Sunday, January 14, 2001 2:26 PM
  To: Orion-Interest
  Cc: Orion-Interest
  Subject: FW: Any news from Orion yet??
 
 
  Yes - pls Orion people, publish some news  update Orion ...
 
  We are looking to buy at least 3 licences over the next few weeks if
  everything is ok
 
  Cheers
 
  Neville Burnell
  Business Manager Software
 
  -Original Message-
  From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, 14 January 2001 12:45 PM
  To: Orion-Interest
  Subject: Any news from Orion yet??
 
 
  Hi all,
 
  Has anyone heard from the team lately? I know I saw a post about a month
  or
  so ago. Its been about 3 or 4 months since anything has changed on their
  site, if not longer and now its getting me worried. I can understand
  them
  trying to organize the company, but did production stop on the app
  server? I
  wish there was some news once every couple of weeks or so from them on
  their
  site letting us know what is happening.
 
  Thanks.








Transaction Based Session Bean

2001-01-12 Thread Santosh Kumar




Can anyone mail me a sample non-trivialTransaction-based Stateful 
session.
or any links to suchprograms.

Regards,
Santosh
 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company 
 



Re: jar file deployment

2001-01-10 Thread Santosh Kumar

Yes! Put the jar file in some directory available to orion. 

say XYZ  directory
XYZ should contain the ejb-jar and an application.xml

set server.xml
application name="blah" path="/../XYZ" /

Thats it..


- Original Message - 
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, January 10, 2001 5:44 PM
Subject: jar file deployment


 Dear all
 
 Is it possible to deploy jar files, rather than war or ear files,
 in an OrionServer, such that I could skip the packaging during
 the development phase? And if so, how?
 
 best regards
 Lynch
 
 





Re: Session Timeout Default

2000-12-08 Thread Santosh Kumar

Session in my application timed out just after 5 minutes..

default must be session-timeout5/session-timeout

santosh.

- Original Message - 
From: Knudsen, Joe [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, December 07, 2000 11:14 PM
Subject: Session Timeout Default


 Does anybody know what the default session timeout.
 In the docs it shows how to set it in web.xml but not what
 the default is.
 
 Thanks,
 Joe Knudsen
 
 Optical Solutions
 Network Management Developer
 Email: [EMAIL PROTECTED]
 Phone: (763)268-3622
 





Re: Problems when commiting a transaction.

2000-12-06 Thread Santosh Kumar

Check the return value of EJBContext.getRollbackOnly() before you do a
commit.
I believe if it is false then you cannot commit it.
Also let us know how you have set the transaction attributes in the DD.


- Original Message -
From: Tommy Eriksson [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, December 06, 2000 6:56 PM
Subject: Problems when commiting a transaction.


 Hi,

 I have a problem with some transaction stuff. My transactions sometimes
roll
 back when I try to commit them. There is no problem during the transaction
 i.e. no exceptions get thrown and the UserTransaction.getStatus returns
 Status.STATUS_ACTIVE before commit is called, but when I call commit I get
 the following stack trace

 javax.transaction.RollbackException
  at com.evermind.server.ApplicationServerTransaction.commit(JAX)
  at com.evermind.server.ApplicationServerTransactionManager.commit(JAX)
  at

knut.ejb.session.RequestHandlerBean.handleRequest(RequestHandlerBean.java:28
 4)
  at

RequestHandler_StatelessSessionBeanWrapper0.handleRequest(RequestHandler_Sta
 telessSessionBeanWrapper0.java:39)
  at knut.servlet.RequestServlet.doPost(RequestServlet.java:244)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java)
  at com.evermind.server.http.d3.so(JAX)
  at com.evermind.server.http.d3.sm(JAX)
  at com.evermind.server.http.ef.su(JAX)
  at com.evermind.server.http.ef.dn(JAX)
  at com.evermind.util.f.run(JAX)

 The problem seems to occur more often if another transaction has just
 finished. The database log doesn't show anything unusually, only that the
 transaction was rolled back.

 Does anyone know what the requirements (by Orion) are for committing a
 transaction successfully.

 I use:
 Red Hat Linux 6.2
 Sun JVM 1.3
 Orion 1.4.0
 Postgesql 7.0.2

 /Tommy








How to set Session-Time out

2000-12-04 Thread Santosh Kumar

globally for orion and not just for individual web components? 

Regards,
Santosh.
  





Re: class cast exception

2000-12-01 Thread Santosh Kumar


Try:
PhoneEntryHome home = (PhoneEntryHome)
PortableRemoteObject.narrow(boundObject,PhoneEntryHome.class);
It should work fine.

Regards,
Santosh.

- Original Message -
From: Marcus Lankenau [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, December 01, 2000 3:51 PM
Subject: class cast exception


 Hi!

 I've started developing a very simple phonebook application for
 learining purpose. The app consists of an ejb and a servlet adding and
 showing the phone entries. The servlet is running quite well at home,
 but in office I get
 this exception:
 Exception caught: java.lang.ClassCastException:
 PhoneEntryHome_EntityHomeWrapper14
 while casting the homeinterface:
Object boundObject = context.lookup("java:comp/env/ejb/PhoneEntry");
  PhoneEntryHome home = (PhoneEntryHome) boundObject;

 Any idears what is going wrong?


 thx in regards
 Marcus Lankenau









Is there any Java Library

2000-11-30 Thread Santosh Kumar



  to convert 
from TIFF to PDF and PDF to TIFF

  - Original Message - 
  From: 
  Ken Torimaru 
  To: Orion-Interest 
  Sent: Thursday, November 30, 2000 12:23 
  AM
  Subject: RE: Using JSP to write/append 
  PDF's
  
  
  Check 
  these out:
  PDF Links
  http://www.etymon.com/pj/
  http://xml.apache.org/fop/
  http://www.retep.org.uk/pdf/
  http://www.lowagie.com/iText/
  
-Original Message-From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On 
Behalf Of John MillerSent: Wednesday, November 29, 2000 9:06 
AMTo: Orion-InterestSubject: Using JSP to write/append 
PDF's
Does anyone have 
any experience of this? Any information or resources you could think of 
would be very helpful.

Thanks 
lots,

Johnny


Re: Calling EJB in Orion from Resin -Problem,

2000-11-23 Thread Santosh Kumar

Did'nt work..

Santosh
- Original Message -
From: Montebove Luciano [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, November 23, 2000 1:18 PM
Subject: R: Calling EJB in Orion from Resin -Problem,


Substitute

 Object boundObject = context.lookup("java:comp/env/ejb/HelloHome");
with
 Object boundObject = context.lookup("java:comp/env/ejb/Hello");

Luciano


 -Messaggio originale-----
Da: Santosh Kumar [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 22 novembre 2000 13.23
A: Orion-Interest
Oggetto: Calling EJB in Orion from Resin -Problem,


Hi All,

   I am onto an interesting task of using resin as the EJB client for Orion.
Everything seems to be in line but i dont know why i get this problem when
i run the orion-primer example EJB with the servlet part executing on the
RESIN.

javax.servlet.ServletException: Unable to get home interface:
javax.naming.NameNotFoundException: expected intermediate context in
`ejb/HelloHome' at hello.web.HelloServlet.init(HelloServlet.java:47) at
com.caucho.server.http.Application.loadServlet(Application.java:1504) at
com.caucho.server.http.Invocation.service(Invocation.java:207) at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142) at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:211) at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:145) at
com.caucho.server.TcpConnection.run(TcpConnection.java:139) at
java.lang.Thread.run(Thread.java:484)
Servlet code:
public void init(ServletConfig config) throws ServletException {
  // Get the initial JNDI context using our settings
  Context context;
  try {
 context = new InitialContext();
  }
  catch (Throwable exception) {
 throw new ServletException(
"Unable to get initial JNDI context: " + exception.toString());
  }
  // Get a reference to the Hello home interface
  HelloHome helloHome;
  try {
 Object boundObject = context.lookup("java:comp/env/ejb/HelloHome");
 helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject,

HelloHome.class);
  }
  catch (Throwable exception) {
 throw new ServletException(
"Unable to get home interface: " + exception.toString());
  }
WEB.xml (which resin specifies to add in its app)
?xml version="1.0" encoding="UTF-8"?
web-app
classpath id='WEB-INF/classes/orion.jar'/
classpath id='WEB-INF/classes/mail.jar'/
classpath id='WEB-INF/classes/ejb.jar'/
jndi-link
  jndi-namejava:comp/env/ejb/jndi-name
  jndi-factorycom.evermind.server.rmi.RMIInitialContextFactory
  /jndi-factory
  init-param java.naming.provider.url="ormi://3.209.125.41/orion-primer"/
  init-param java.naming.security.principal="admin"/
  init-param java.naming.security.credentials="123"/
/jndi-link
/web-app
at the orion side i have made this change(true - false) in principal.xml (I
am not sure whether i should do this or not)
user username="admin" password="123" deactivated="false"
   descriptionThe default administrator/description
   group-membership group="administrators" /
   group-membership group="guests" /
   group-membership group="users" /
  /user
These are the only two things that i have done ..What i dont understand is
why am i getting this error
Unable to get home interface:
javax.naming.NameNotFoundException: expected intermediate context in
`ejb/HelloHome'


I think there is some problem in which the initialcontext is set..probably i
should
modify the way  InitialContext is set..


Please Help me!!!


Regards,
Santosh.

===
=  Santosh Kumar C=
=  Senior Systems Engineer=
=  Wipro Technologies =
=  1-8-448, Laxmi Building, S.P. Road,=
=  Begumpet, Secunderabad - 500 003   =
=  A.P, India.=
=  Phone@: 91407896008 Ext 4511   =
=  Fax  @: 91407896123=
=  eMail@:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
=
=  url  @:  http://www.wipro.com http://www.wipro.com
=
=  The World's First SEI CMM Level 5 Software Services Company=
===






Why do i get JspFactory already set

2000-11-23 Thread Santosh Kumar

Hi All,
  What is/are the reason(s) for getting :

  java.lang.SecurityException: JspFactory already set.

 Regards,
Santosh.


- Original Message -
From: Adam Cassar [EMAIL PROTECTED]
To: Orion-Interest 
Sent: Friday, November 24, 2000 2:53 AM
Subject: Re: Collection of entity beans


 I use the following in my orion-ejb file that persists a list of 'dns
records'

 cmp-field-mapping name="dnsRecords"
 list-mapping table="dnsrecord"
 primkey-mapping
 cmp-field-mapping name="domain_id" persistence-name="domain_id" /
 /primkey-mapping
 value-mapping type="blah.DNSRecord"
 cmp-field-mapping
 fields
 cmp-field-mapping name="_class" persistence-name="class" /
 /fields
 /cmp-field-mapping
 /value-mapping
 /list-mapping
 /cmp-field-mapping

 On Thu, Nov 23, 2000 at 08:50:32AM +0100, Giorgio Angiolini wrote:
  Thanks for the response !
 
  Does anyone have some examples  of ejb-jar.xml with one entity bean with
  collections of entity beans ?
  Thanks.
 
  Giorgio
 
 
 
  Mike Cannon-Brookes ha scritto:
 
   just use it as you would any other collection. Orion is smart enough
to
   persist the primary keys of each entity in the relation.
  
   -mike
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Giorgio
Angiolini
Sent: Wednesday, November 22, 2000 7:48 PM
To: Orion-Interest
Subject: Collection of entity beans
   
   
Repost for mail server problem (sorry !)
Hello
I have just read the nice  article "Advanced Object-relational
mapping"
found in orionsupport.com (thank's Joe Walnes !).
   
The following types of field can be mapped within entity beans:
1) Simple object and primitives
   
2) Object
   
3) Serializable objects (A.K.A BLOB)
   
4) Entity references
   
5) Collection
   
One question: how can I use the container managed persistence with
collection of entity references ?
   
Thank's a lot !
   
Giorgio
   
   
   
   
   
   
 
 






Problem - Calling EJB in Orion from Resin

2000-11-22 Thread Santosh Kumar





The first mail dint seem to get through. I am 
sending this again!!

  
  Hi All,
  
   I am onto an interesting task of 
  using resin as the EJB client for Orion.
  Everything seems to be in line but i dont know 
  why i get this problem when
  i run the orion-primer example EJB with the 
  servlet part executing on the RESIN.
  javax.servlet.ServletException: Unable to get home interface: javax.naming.NameNotFoundException: expected intermediate context in `ejb/HelloHome'
	at hello.web.HelloServlet.init(HelloServlet.java:47)
	at com.caucho.server.http.Application.loadServlet(Application.java:1504)
	at com.caucho.server.http.Invocation.service(Invocation.java:207)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:211)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:145)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:484)
Servlet code:public void init(ServletConfig config) throws ServletException { // Get the initial JNDI context using our settings Context context; try { context = new InitialContext(); } catch (Throwable exception) { throw new ServletException( "Unable to get initial JNDI context: " + exception.toString()); } // Get a reference to the Hello home interface HelloHome helloHome; try { Object boundObject = context.lookup("java:comp/env/ejb/HelloHome"); helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject, HelloHome.class); } catch (Throwable exception) { throw new ServletException( "Unable to get home interface: " + exception.toString()); }WEB.xml (which resin specifies to add in its app)?xml version="1.0" encoding="UTF-8"?web-appclasspath id='WEB-INF/classes/orion.jar'/classpath id='WEB-INF/classes/mail.jar'/classpath id='WEB-INF/classes/ejb.jar'/jndi-link jndi-namejava:comp/env/ejb/jndi-name jndi-factorycom.evermind.server.rmi.RMIInitialContextFactory /jndi-factory init-param java.naming.provider.url="ormi://3.209.125.41/orion-primer"/ init-param java.naming.security.principal="admin"/ init-param java.naming.security.credentials="123"//jndi-link/web-appat the orion side i have made this change(true - false) in principal.xml (I am not sure whether i should do this or not)user username="admin" password="123" deactivated="false"descriptionThe default administrator/descriptiongroup-membership group="administrators" /group-membership group="guests" /group-membership group="users" //userThese are the only two things that i have done ..What i dont understand is why am i getting this error
  Unable to get home interface:
  javax.naming.NameNotFoundException: expected intermediate context in 
  `ejb/HelloHome'
  
  
  I think there is some problem in which the initialcontext is 
  set..probably i should
  modify the wayInitialContext is 
  set..
  
  
  Please Help me!!!
  
  
  Regards,
  Santosh.
   
  Santosh Kumar 
  C 
  == Senior Systems 
  Engineer 
  == Wipro 
  Technologies 
  == 1-8-448, Laxmi Building, S.P. 
  Road, 
  == Begumpet, Secunderabad - 500 
  003 
  == A.P, 
  India. 
  == Phone@: 91407896008 Ext 
  4511 
  == Fax @: 
  91407896123 
  == eMail@: [EMAIL PROTECTED] 
  == url @: http://www.wipro.com 
  == The World's First SEI CMM Level 5 Software Services 
  Company 
   
  


Calling EJB in Orion from Resin -Problem,

2000-11-22 Thread Santosh Kumar



Hi All,

 I am onto an interesting task of 
using resin as the EJB client for Orion.
Everything seems to be in line but i dont know 
why i get this problem when
i run the orion-primer example EJB with the 
servlet part executing on the RESIN.
javax.servlet.ServletException: Unable to get home interface: javax.naming.NameNotFoundException: expected intermediate context in `ejb/HelloHome'
	at hello.web.HelloServlet.init(HelloServlet.java:47)
	at com.caucho.server.http.Application.loadServlet(Application.java:1504)
	at com.caucho.server.http.Invocation.service(Invocation.java:207)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:211)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:145)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:484)
Servlet code:public void init(ServletConfig config) throws ServletException { // Get the initial JNDI context using our settings Context context; try { context = new InitialContext(); } catch (Throwable exception) { throw new ServletException( "Unable to get initial JNDI context: " + exception.toString()); } // Get a reference to the Hello home interface HelloHome helloHome; try { Object boundObject = context.lookup("java:comp/env/ejb/HelloHome"); helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject, HelloHome.class); } catch (Throwable exception) { throw new ServletException( "Unable to get home interface: " + exception.toString()); }WEB.xml (which resin specifies to add in its app)?xml version="1.0" encoding="UTF-8"?web-appclasspath id='WEB-INF/classes/orion.jar'/classpath id='WEB-INF/classes/mail.jar'/classpath id='WEB-INF/classes/ejb.jar'/jndi-link jndi-namejava:comp/env/ejb/jndi-name jndi-factorycom.evermind.server.rmi.RMIInitialContextFactory /jndi-factory init-param java.naming.provider.url="ormi://3.209.125.41/orion-primer"/ init-param java.naming.security.principal="admin"/ init-param java.naming.security.credentials="123"//jndi-link/web-appat the orion side i have made this change(true - false) in principal.xml (I am not sure whether i should do this or not)user username="admin" password="123" deactivated="false"descriptionThe default administrator/descriptiongroup-membership group="administrators" /group-membership group="guests" /group-membership group="users" //userThese are the only two things that i have done ..What i dont understand is why am i getting this error
 Unable to get home interface:
 javax.naming.NameNotFoundException: expected intermediate context in 
`ejb/HelloHome'


I think there is some problem in which the initialcontext is 
set..probably i should
modify the wayInitialContext is set..


Please Help me!!!


Regards,
Santosh.
 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== 1-8-448, Laxmi Building, S.P. 
Road, 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== Phone@: 91407896008 Ext 
4511 
== Fax @: 
91407896123 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company 
 



Problem - Calling EJB in Orion from Resin

2000-11-22 Thread Santosh Kumar



The first mail dint seem to get through. I am 
sending this again!!

  
  Hi All,
  
   I am onto an interesting task of 
  using resin as the EJB client for Orion.
  Everything seems to be in line but i dont know 
  why i get this problem when
  i run the orion-primer example EJB with the 
  servlet part executing on the RESIN.
  javax.servlet.ServletException: Unable to get home interface: javax.naming.NameNotFoundException: expected intermediate context in `ejb/HelloHome'
	at hello.web.HelloServlet.init(HelloServlet.java:47)
	at com.caucho.server.http.Application.loadServlet(Application.java:1504)
	at com.caucho.server.http.Invocation.service(Invocation.java:207)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:211)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:145)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:484)
Servlet code:public void init(ServletConfig config) throws ServletException { // Get the initial JNDI context using our settings Context context; try { context = new InitialContext(); } catch (Throwable exception) { throw new ServletException( "Unable to get initial JNDI context: " + exception.toString()); } // Get a reference to the Hello home interface HelloHome helloHome; try { Object boundObject = context.lookup("java:comp/env/ejb/HelloHome"); helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject, HelloHome.class); } catch (Throwable exception) { throw new ServletException( "Unable to get home interface: " + exception.toString()); }WEB.xml (which resin specifies to add in its app)?xml version="1.0" encoding="UTF-8"?web-appclasspath id='WEB-INF/classes/orion.jar'/classpath id='WEB-INF/classes/mail.jar'/classpath id='WEB-INF/classes/ejb.jar'/jndi-link jndi-namejava:comp/env/ejb/jndi-name jndi-factorycom.evermind.server.rmi.RMIInitialContextFactory /jndi-factory init-param java.naming.provider.url="ormi://3.209.125.41/orion-primer"/ init-param java.naming.security.principal="admin"/ init-param java.naming.security.credentials="123"//jndi-link/web-appat the orion side i have made this change(true - false) in principal.xml (I am not sure whether i should do this or not)user username="admin" password="123" deactivated="false"descriptionThe default administrator/descriptiongroup-membership group="administrators" /group-membership group="guests" /group-membership group="users" //userThese are the only two things that i have done ..What i dont understand is why am i getting this error
  Unable to get home interface:
  javax.naming.NameNotFoundException: expected intermediate context in 
  `ejb/HelloHome'
  
  
  I think there is some problem in which the initialcontext is 
  set..probably i should
  modify the wayInitialContext is 
  set..
  
  
  Please Help me!!!
  
  
  Regards,
  Santosh.
   
  Santosh Kumar 
  C 
  == Senior Systems 
  Engineer 
  == Wipro 
  Technologies 
  == 1-8-448, Laxmi Building, S.P. 
  Road, 
  == Begumpet, Secunderabad - 500 
  003 
  == A.P, 
  India. 
  == Phone@: 91407896008 Ext 
  4511 
  == Fax @: 
  91407896123 
  == eMail@: [EMAIL PROTECTED] 
  == url @: http://www.wipro.com 
  == The World's First SEI CMM Level 5 Software Services 
  Company 
   
  


Re: orion server works with jdk 1.3???

2000-11-19 Thread Santosh Kumar

Sorry for a very late reply,

Kemp seems to have a very lengthy, painful solution while the actual
workaround is just too simple. Somebody mentioned that the problem is in the
registry. Yes! He got it right. Just type REGEDIT and modify the current
version
as shown in the attachement. Look at the attachment picture i have sent.

Just replace CurrentVersion to 1.3 (If not 1.3)

Regards,
Santosh.

- Original Message -
From: Kemp Randy-W18971 [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, November 14, 2000 8:08 PM
Subject: RE: orion server works with jdk 1.3???


I ran into the same problem with other Java software and reinstalling JDK1.3
resolved everything.

-Original Message-
From: Robert Krueger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 3:50 AM
To: Orion-Interest
Subject: Re: orion server works with jdk 1.3???


At 09:16 14.11.00 , you wrote:
hi,

I used to work with orion server with jdk 1.2.2. Recently I installed jdk
1.3 and uninstalled jdk 1.2.2. Now I am not able to start orion server. I
get the error message saying that could not find version number 1.3 for
jre in program files/java soft/jre.

any idea?

has nothing to do with orion. it's something with your registry being
screwed up by installing/uninstalling, typical M$ problem. I've had that a
ages ago but don't remember the solution :-(.

robert

thanks in advance.

krishna
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.



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




 versionNumNotFound.gif


Re: Problem using JavaMail with Orion

2000-10-24 Thread Santosh Kumar

If you are using jdk1.3 then push the javamail.jar or mail.jar whatever it
is {jar relevant to javamail] into
jre/lib/ext folder...The problem should not arise...

santosh

- Original Message -
From: Aleksi Kallio [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, October 24, 2000 4:53 PM
Subject: Problem using JavaMail with Orion


 500 Internal Server Error java.lang.NoClassDefFoundError:
javax/activation/DataHandler

 This class comes with Orion and also is located in the Orion library path.
What's wrong?









Problem while deploying EJB

2000-10-24 Thread Santosh Kumar



I have attached the gif file that contains the 
snapshot of the error
i am getting while deploying the orion-primer 
example

If you dont see the attachment, here is the 
error

Error:loading package at file 
orion-primer-ejb.jar, Error loading class 'hello.ejb.HelloEJB':
java.lang.NoClassDefFoundError (Wrong Name: 
HelloEJB)



santosh
 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== 1-8-448, Laxmi Building, S.P. 
Road, 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== Phone@: 91407896008 Ext 
4511 
== Fax @: 
91407896123 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company 
 

 orion-error.gif


Creating EAR Files

2000-10-23 Thread Santosh Kumar



Hi all,

 How do i create 
EAR/WAR/JAR files without using ANT1.1 as required
by the ORION PRIMER.
When i try to build these using the Orion 
provided SERVICE CONSOLE tool,
it shows error "Class hello.ejb.HelloBean" not 
found, though it does
exist in the same directory where i was pointing 
to. where ami going wrong?

Santosh
==== 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== 1-8-448, Laxmi Building, S.P. 
Road, 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== Phone@: 91407896008 Ext 
4511 
== Fax @: 
91407896123 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company 
 



JSP-Compiled Servlets ??

2000-10-18 Thread Santosh Kumar



hi all,
 Weknow that JSP are compiled 
into servlets. In Jrun, I canview 
the
equivalent servlet source code for the JSP. 
ButOrion doesnt seem to provide
the source as well as class file. All it creates 
is a binary jsp.Cache file.

But my job is to get into the code and see how 
the servlet is getting written
and compare with servlets generated thru other 
jsp-engines. What do i do?

Regards,
Santosh

 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== 1-8-448, Laxmi Building, S.P. 
Road, 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== Phone@: 91407896008 Ext 
4511 
== Fax @: 
91407896123 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company 
 



Re: JSP cannot find Bean Class

2000-10-17 Thread Santosh Kumar

If this is using orion, then i have my own doubts as to where the .ear file
is located in coz
the jsp-engine is unable to locate the bean. Becoz the orion jsp-engine
finds the beans (just javabeans not EJB)
when i keep it under WEB-INF/classes folder. So try placing the bean there
and check

Santosh


- Original Message -
From: Hauke Zühl [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, October 17, 2000 2:51 PM
Subject: JSP cannot find Bean Class


 Hello folks,

 I have a strange problem:
 I wrote an BMP Enterprise Java bean (Mystuff.java, MystuffEJB.java and
 MystuffHome.java), compiled it and put it into a jar-file (which I later
put
 into a .ear file).

 Later I wrote the component file MystuffBean.java and included the
compiled
 file with useBean class="MystuffBean" into my JSP file, and finally put
that
 stuff into a .war-file.

 After deploying the .ear file and calling the JSP with a browser, the JSP
 tells me that "Bean type 'MystuffBean' not found".

 So what might be wrong there?

 Regards,
 Hauke






Re:Orion slower than...

2000-10-17 Thread Santosh Kumar

Hi Nate,
 Do you have some figures to look at?
I mean, How much was the improvement in speed? What is the size of the
content file?
Did you try out with various content sizes?

Santosh

- Original Message -
From: Kirby, Nathaniel [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, October 18, 2000 12:32 AM
Subject: Orion slower than it could be [WAS: Compressing the output stream]


 We tried using Orion to host 2 servlets, one using compression one not -
the
 one using compression was much faster than the one without it.  I assume
 this means that orion's JSP are not compressed.

 Please repsond if this is an inaccurate statement

 Thanks
 Nate

  -Original Message-
  From: Kirby, Nathaniel [mailto:[EMAIL PROTECTED]]
  Sent: Monday, October 16, 2000 1:30 PM
  To: Orion-Interest
  Subject: Compressing the output stream
 
 
  On jsp-interest
  [http://archives.java.sun.com/cgi-bin/wa?A2=ind9912L=jsp-inte
  restP=R11079
  ] I read
 
  ***
 
  Date: Mon, 6 Dec 1999 12:29:14 +0100
  Reply-To: Volker Turau [EMAIL PROTECTED]
  Sender:   A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
  From: Volker Turau [EMAIL PROTECTED]
  /cgi-bin/wa?A2=ind9912L=jsp-interestD=0P=64939
  Subject:  Re: How to compress JSP pages using Content Encoding
  Comments: To: Kayser William [EMAIL PROTECTED]
  In-Reply-To:  [EMAIL PROTECTED]
  Content-Type: TEXT/PLAIN; charset=US-ASCII
 
 
  You can do content encoding in jsp, I did it. Just make sure
  that the page
  does not access the implicit variable out at all (e.g do not
  have blanks
  outside scripts).
 
 
  But I think that jsp is not the right tool to do that. The
  JSP-Container
  should do that for you.
 
 
  The code is roughly:
 
 
  %@page .%
  response.setHeader("Content-Encoding", "gzip");
  GZIPOutputStream gos = new
  GZIPOutputStream(response.getOutputStream());
  byte[] b = "html bla bla .../html".getBytes();
  gos.write(b);
  gos.close();
  %
 
 
  volker turau
  FH Wiesbaden Fachbereich Informatik
  Tel.: +49-611-9495-205 FAX +49-611-9495-210
  http://www.informatik.fh-wiesbaden.de/~turau
 
 
 
  ==
  
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
  JSP-INTEREST".
  FAQs on JSP can be found at:
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
 
  ***
 
  Does orion do this automatically ? caus eit doesn't seem to
  allow me to in a
  JSp (I can't assign out to a different stream).  Do I have to
  do it in a
  servlet ?
 
  Anyone out there know ???
 
  TIA,
  Nate
 
 






Steps For Deploying the EJB

2000-10-16 Thread Santosh Kumar



Hi All,
 I am pretty new to EJB. Have started 
with Orion.
 I would like to know the step by 
step procedure
 for deploying an EJB Application on 
the Orion.
 Or atleast a pointer to the same. 
some url site? Some Doc?

Please Help Me!
Santosh.
 
Santosh Kumar 
C 
== Senior Systems 
Engineer 
== Wipro 
Technologies 
== 1-8-448, Laxmi Building, S.P. 
Road, 
== Begumpet, Secunderabad - 500 
003 
== A.P, 
India. 
== Phone@: 91407896008 Ext 
4511 
== Fax @: 
91407896123 
== eMail@: [EMAIL PROTECTED] 
== url @: http://www.wipro.com 
== The World's First SEI CMM Level 5 Software Services 
Company