RE: Broken Pipe

2001-02-02 Thread Kevin Duffey

My guess would be that the connection to the web browser that the JspWriter
would send output to was broken

Did you look in the WrapperTag at line 70 to see what it says? Post that
maybe for some further help.



> 1/31/01 9:42 AM simplica_survey-web: Servlet error
> javax.servlet.jsp.JspTagException: Problem accessing the JspWriter in
> WrapperTag. IOExecption message was: Broken pipe
>   at com.simplica.web.taglib.WrapperTag.doStartTag(WrapperTag.java:70)
>   at
> /survey_template.jsp._jspService(/survey_template.jsp.java:49) (JSP page
> line 4)
>   at com.orionserver.http.OrionHttpJspPage.service(JAX)
>   at com.evermind.server.http.HttpApplication.w5(JAX)
>   at com.evermind.server.http.JSPServlet.service(JAX)
>   at com.evermind.server.http.d1.si(JAX)
>   at com.evermind.server.http.d1.include(JAX)
>   at com.simplica.web.JspView.render(JspView.java:45)
>   at
> com.simplica.survey.web.SurveyViewManager.update(SurveyViewManager
> .java:101)
>   at com.simplica.web.MainServlet.doPost(MainServlet.java:29)
>   at com.simplica.web.MainServlet.doGet(MainServlet.java:46)
>   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.d1.si(JAX)
>   at com.evermind.server.http.d1.forward(JAX)
>   at com.evermind.server.http.ed.sp(JAX)
>   at com.evermind.server.http.ed.so(JAX)
>   at com.evermind.util.f.run(JAX)
>





Re: Deploying EJB Application - NULL Pointer Exception

2001-02-02 Thread Mark Bernardinis

Ignore this email. After a lot of effort I finally worked out where the
problem was. I wish the errors were a bit more descriptive though.

Mark

> I am deploying an EJB Application and I am receiving this message. It
> is not very descriptive so could someone please shed some light on this
> error message.
> 
> Auto-deploying testapplication-ejb (No previous deployment found)...
> java.lang.NullPointerException
> at
> com.evermind.server.ejb.deployment.BeanDescriptor.equals(JAX)
> at
> com.evermind.server.ejb.deployment.ContainerManagedField.equals(JAX)
> at
> java.util.AbstractCollection.remove(AbstractCollection.java:260)
> at
> com.evermind.server.ejb.deployment.EntityBeanDescriptor.zv(JAX)
> at
> com.evermind.server.ejb.deployment.EntityBeanDescriptor.aba(JAX)
> at com.evermind.server.ejb.compilation.f4.(JAX)
> at com.evermind.server.ejb.compilation.ga.s_(JAX)
> at com.evermind.server.ejb.EJBContainer.bz(JAX)
> at com.evermind.server.Application.bz(JAX)
> at com.evermind.server.Application.gf(JAX)
> at com.evermind.server.ApplicationServer.rv(JAX)
> at com.evermind.server.ApplicationServer.aqb(JAX)
> at com.evermind.server.ApplicationServer.gf(JAX)
> at com.evermind.server.hg.run(JAX)
> at java.lang.Thread.run(Thread.java:498)
> at com.evermind.util.f.run(JAX)
> 
> Thanks.
> 
> Mark






Re: How to specify cache time out period for images !!!!

2001-02-02 Thread Boris Erukhimov

I could not manage to prevent caching of dynamically generated images playnig with
response headers.
A simple hack is to add some dummy request parameter to the image URL, assuming it
won't break your servlet :



The image URL gets cached and is used from cache among responses
as long as cache control value stays the same.
You can provide implicit timeout changing that value after time required.

~boris


Tim Endres wrote:

> This is a very general HTTP/browser question that you might get a quicker answer
> to from a more target newsgroup, such as comp.infosystems.www.browsers, or one
> related to HTTP. However, if someone on this list has the answer, I know I sure
> would like to hear it. I wonder if have a servlet field the requests for images,
> so that it can set the proper header lines, would be enough? I don't know if
> browsers honor those headers when they are downloading images.
>
> tim.
>
> > Hi,
> >
> > We have a J2EE application developed with JSP,EJB and SQL server 2000 with
> > Orion Server.We want to cache all our jsp page  for a particular time on a
> > caching server.With HTTP Headers this is perfectly working but the  images
> > on the page it never Time out. I would like to know if there is a way to set
> > cache time out for images in Orion or JSP
> >
> > Can any body help.
> >
> > Regards
> >
> > Rajeev
> >





Deploying EJB Application - NULL Pointer Exception

2001-02-02 Thread Mark Bernardinis

I am deploying an EJB Application and I am receiving this message. It is not
very descriptive so could someone please shed some light on this error
message.

Auto-deploying testapplication-ejb (No previous deployment found)...
java.lang.NullPointerException
at com.evermind.server.ejb.deployment.BeanDescriptor.equals(JAX)
at
com.evermind.server.ejb.deployment.ContainerManagedField.equals(JAX)
at java.util.AbstractCollection.remove(AbstractCollection.java:260)
at com.evermind.server.ejb.deployment.EntityBeanDescriptor.zv(JAX)
at com.evermind.server.ejb.deployment.EntityBeanDescriptor.aba(JAX)
at com.evermind.server.ejb.compilation.f4.(JAX)
at com.evermind.server.ejb.compilation.ga.s_(JAX)
at com.evermind.server.ejb.EJBContainer.bz(JAX)
at com.evermind.server.Application.bz(JAX)
at com.evermind.server.Application.gf(JAX)
at com.evermind.server.ApplicationServer.rv(JAX)
at com.evermind.server.ApplicationServer.aqb(JAX)
at com.evermind.server.ApplicationServer.gf(JAX)
at com.evermind.server.hg.run(JAX)
at java.lang.Thread.run(Thread.java:498)
at com.evermind.util.f.run(JAX)

Thanks.

Mark





Re: How to specify cache time out period for images !!!!

2001-02-02 Thread Tim Endres

This is a very general HTTP/browser question that you might get a quicker answer
to from a more target newsgroup, such as comp.infosystems.www.browsers, or one
related to HTTP. However, if someone on this list has the answer, I know I sure
would like to hear it. I wonder if have a servlet field the requests for images,
so that it can set the proper header lines, would be enough? I don't know if
browsers honor those headers when they are downloading images.

tim.

> Hi,
> 
> We have a J2EE application developed with JSP,EJB and SQL server 2000 with
> Orion Server.We want to cache all our jsp page  for a particular time on a
> caching server.With HTTP Headers this is perfectly working but the  images
> on the page it never Time out. I would like to know if there is a way to set
> cache time out for images in Orion or JSP
> 
> Can any body help.
> 
> Regards
> 
> Rajeev
> 





RE: How to specify cache time out period for images !!!!

2001-02-02 Thread Victor A. Salaman

Make a filter and map it to the image filetypes...

-Original Message-
From: Puthezhath, Rajeev (TWII Boston) [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 8:01 PM
To: Orion-Interest
Subject: How to specify cache time out period for images 


Hi,

We have a J2EE application developed with JSP,EJB and SQL server 2000 with
Orion Server.We want to cache all our jsp page  for a particular time on a
caching server.With HTTP Headers this is perfectly working but the  images
on the page it never Time out. I would like to know if there is a way to set
cache time out for images in Orion or JSP

Can any body help.

Regards

Rajeev




RE: Form Login bouncing me to welcome page!

2001-02-02 Thread Gerald Gutierrez


Well I don't want the welcome.jsp page to be secured; anyone should be able 
to view that file. But if someone tries to hit Login.jsp, I want him to 
have to log in before continuing.

Do I still need welcome.jsp to be in a security constraint?


At 08:30 AM 2/2/2001 -0500, you wrote:
>there should have been a entry for welcome.jsp under 
>for example:
> 
> 
> Unnamed
> /welcome.jsp
>
> > -Original Message-
> > From: Gerald Gutierrez [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, February 01, 2001 4:34 PM
> > To:   Orion-Interest
> > Subject:  Re: Form Login bouncing me to welcome page!
> >
> > I agree that is the correct sequence, but that is not what I get. Assume I
> >
> > have a welcome file defined called welcome.jsp.
> >
> > The sequence of events is:
> >
> > - User requests secured page /Login.jsp
> > - User is redirected to LoginForm.jsp
> > - User enters correct credentials
> > - User is logged in
> > - User is displayed the contents of welcome.jsp.
> >
> > OR:
> >
> > - User requests secured page /Login.jsp
> > - User is redirected to LoginForm.jsp
> > - User enters INCORRECT credentials
> > - User is NOT logged in
> > - User is STILL displayed the contents of welcome.jsp.
> >
> > I also had the case where I didn't have a welcome file defined, but had
> > directory browsing enabled, and I get the directory contents after doing
> > the above sequences. This doesn't seem right to me, but I can't figure out
> >
> > what is wrong.
> >
> > What can cause this?
> >
> > Gerald.
> >
> >
> > At 09:30 AM 2/1/2001 -0700, you wrote:
> > >The sequence of events is:
> > >  - The user requests a secured page (/Login.jsp, in your case).
> > >  - The server intercepts the request and redirects to the form-based
> > > login page (LoginForm.jsp)
> > >  - If the user logs in successfully, the server allows the original
> > > request to proceed (ie. Login.jsp is displayed).
> > >
> > >So if by "the welcome page" you mean the Login.jsp page, then that is as
> > >expected.  If you see something else, then this could possibly be the
> > >result of something you do on that page (such as redirection).
> > >
> > >Nick
> > >
> > >At 10:19 PM 1/31/01 -0800, you wrote:
> > >
> > >>I've searched the mailing list, but there doesn't seem to be information
> >
> > >>on this. I'm a little desparate now.
> > >>
> > >>I'm using a form-based login for my web application. When a user hits
> > >>Login.jsp, s/he must log in. I have the LoginForm.jsp and LoginError.jsp
> >
> > >>files in / of my context root. This redirection to the LoginForm.jsp
> > does
> > >>occur, but regardless of whether the user logged in successfully or not,
> >
> > >>he is dumped back to the welcome page. The actual logging in is
> > >>successful, i.e. if he provided the correct credentials, he's logged in,
> >
> > >>but still dumped back to the welcome page.
> > >>
> > >>Here is the relevant portion of my web.xml:
> > >>
> > >> 
> > >> 
> > >> LoginTrigger
> > >> LoginTrigger
> > >> /Login.jsp
> > >> GET
> > >> POST
> > >> 
> > >> 
> > >> portal_gamer
> > >> 
> > >> 
> > >>
> > >> 
> > >> FORM
> > >> default
> > >> 
> > >> LoginForm.jsp
> > >> LoginError.jsp
> > >> 
> > >> 
> > >>
> > >> 
> > >> portal_gamer
> > >> 
> > >>
> > >>Which part of the magic am I missing?
> > >
> >
> >
> >
>
>--
>CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please 
>immediately notify the sender by e-mail at the address shown.  This e-mail 
>transmission may contain confidential information.  This information is 
>intended only for the use of the individual(s) or entity to whom it is 
>intended even if addressed incorrectly.  Please delete it from your files 
>if you are not the intended recipient.  Thank you for your compliance.
>
>






Re: embedded servlet tag

2001-02-02 Thread Gerald Gutierrez


What would this do?

There is the include tag that lets you include the output of a servlet in 
another.



and an include directive for "verbatim" include of another JSP page:

<%@ include file="..."%>


At 08:00 PM 2/1/2001 -0800, you wrote:

>Does anyone know if there is plan to support the server-side include 
>syntax for servlets?
>For example HTML such as this in a JSP page:
>
>
>
>







How to specify cache time out period for images !!!!

2001-02-02 Thread Puthezhath, Rajeev (TWII Boston)

Hi,

We have a J2EE application developed with JSP,EJB and SQL server 2000 with
Orion Server.We want to cache all our jsp page  for a particular time on a
caching server.With HTTP Headers this is perfectly working but the  images
on the page it never Time out. I would like to know if there is a way to set
cache time out for images in Orion or JSP

Can any body help.

Regards

Rajeev




RE: message-driven beans from a topic

2001-02-02 Thread Joseph B. Ottinger

How do you make it "kill itself?"

On Fri, 2 Feb 2001, Russ White wrote:

> This is a serious hack, but...
> 
> Make your bean kill itself when it responds to a message.
> 
> Sometimes all you have is the suicide solution. :)
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
>   Sent: Friday, February 02, 2001 1:12 PM
>   To: Orion-Interest
>   Subject: message-driven beans from a topic
> 
> 
>   I've got a message-driven bean listening to a topic. (Yes, I know, queues
> would be better, but the queue/message driven mechanism has a problem, last
> I checked.) However, every message causes a new instantiation of a
> message-driven bean... and since it's a topic, it's feeding the message to
> every listener, which means the second message going through the topic gets
> processed TWICE (once by each instantiated bean), the third gets processed
> three times, etc.
> 
>   Is there a workaround? I normally dislike workarounds, but this is
> currently just for a dog and pony show coming up. The beans are simple; I've
> included one example (does nothing worthwhile.)
> 
> 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant





Re[2]: cascade-delete support

2001-02-02 Thread Thomas Hertz

Hello,

>> Is  on the many side of the relationship
>> supposed to work
>> yet or is it still on the todo list?

TD> as of 1.4.4 cascade delete is not implemented.  I don't
TD> believe its in 1.4.5 either.  Check changes.txt.  So you 
TD> have to put code into ejbRemove() to delete dependents of 
TD> the object.


Perhaps it is a stupid question, but:

What, if the dependents are actually Dependent Objects?

How do I remove dependent objects?

I've seen in the specs, that an 'abstract void remove();' should be
placed into the DO class, and the container will implement this method.
But orion (1.4.5) does not.

Any idea?

 /Thomas


-- 

| /Thomas Hertz   |   [y] hybris GmbH | Software Engineering |
| [EMAIL PROTECTED] | Schwere-Reiter-Strasse 35 | tel +49 89 306697- 0 |
| www.hybris.de   | Haus 16, D-80797 Muenchen | fax +49 89 306697-99 |
| pgp fingerprint: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E |






RE: Scalability

2001-02-02 Thread Duffey, Kevin



30,000 
at the exact same second? Meaning..your server can handle 30,000 hits every 1 
second, so in 5 seconds, 150,000 hits would happen, etc?
 
I did 
a simple load-test on a login process (which actually is a transaction..goes to 
the database, etc), and I was able to achieve 4 million hits an hour on a 
PIII650 with 256MB RAM and ATA33 hd. Figure a dual-cpu 1.5Ghz Intel (or 1.2Ghz 
Athlon), with 2GB memory, and raid 3 SCSI (I think thats the best raid config 
for speed..not sure though) hd's, you should be able to increase that to 
somewhere around 30 million hits for one server.
 
Yes, 
you will want to do clustering. It will allow you to easily add new servers 
(with identical configurations) to handle more load, but it also allows you to 
do Session level fail-over..so if one server went down for any reason, the other 
would still stay alive, making sure any current transactions don't get lost. 
Very good for 24/7 up-time, and the VC's like to see you spending their money on 
this type of config.
 
As for 
30,000 hits per second, I imagine you'll need quite a farm. Are these just page 
hits of "static" content, or actual transactions involving databases? If they 
are transactions, I would definitely look into using hardware SSL devices to 
speed up secure transactions. There are devices that do I think on the order of 
6000 SSL transactions per second, but they are about $25K or so in price (maybe 
less).
 
Hope 
that helps.
 

  -Original Message-From: John Flores 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, February 02, 2001 
  11:15 AMTo: Orion-InterestSubject: 
  Scalability
  Hello-
   
  I am very new to J2EE enterprise server 
  world.  I want to construct a website that will capable of serving 30,000 
  clients at time.  What is the maximum number of clients one Orion 
  production site can support and what is the recommended number of Orion sites 
  needed to support 30,000 clients?  Would this involve clustering? All 
  help is appreciated. Thanks.
   
  John Flores


Re: message-driven beans from a topic

2001-02-02 Thread Lauren Commons

What is the problem with message queues?  I've used
them succesfully
--- [EMAIL PROTECTED] wrote:
> I've got a message-driven bean listening to a topic.
> (Yes, I know, queues
> would be better, but the queue/message driven
> mechanism has a problem, last
> I checked.) However, every message causes a new
> instantiation of a
> message-driven bean... and since it's a topic, it's
> feeding the message to
> every listener, which means the second message going
> through the topic gets
> processed TWICE (once by each instantiated bean),
> the third gets processed
> three times, etc.
>  
> Is there a workaround? I normally dislike
> workarounds, but this is currently
> just for a dog and pony show coming up. The beans
> are simple; I've included
> one example (does nothing worthwhile.)
>  
> 

> ATTACHMENT part 2 application/octet-stream
name=Router.java


> ATTACHMENT part 3 application/octet-stream
name=MessageBase.java



__
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




RE: message-driven beans from a topic

2001-02-02 Thread Russ White



This 
is a serious hack, but...
 
Make 
your bean kill itself when it responds to a message.
 
Sometimes all you have is the suicide solution. :)

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  [EMAIL PROTECTED]Sent: Friday, February 02, 2001 1:12 
  PMTo: Orion-InterestSubject: message-driven beans from a 
  topic
  I've got a 
  message-driven bean listening to a topic. (Yes, I know, queues would be 
  better, but the queue/message driven mechanism has a problem, last I checked.) 
  However, every message causes a new instantiation of a message-driven bean... 
  and since it's a topic, it's feeding the message to every listener, which 
  means the second message going through the topic gets processed TWICE (once by 
  each instantiated bean), the third gets processed three times, 
  etc.
   
  Is there a 
  workaround? I normally dislike workarounds, but this is currently just for a 
  dog and pony show coming up. The beans are simple; I've included one example 
  (does nothing worthwhile.)
   


Broken Pipe

2001-02-02 Thread Marc Rabil

I am experiencing a sporadic IOException in an application that
has a message of "Broken pipe".  I've included the stack trace below.

I am not sure where to look for possible problems since I don't really
understand what a broken pipe is.  My system is Orion 1.3.8 running on
Redhat 6.2 accessing Interbase 6.0.1 through Interclient 1.6.  There are 2
tiers: a web tier and an EJB tier.

Any help would be greatly appreciated,

Marc

1/31/01 9:42 AM simplica_survey-web: Servlet error
javax.servlet.jsp.JspTagException: Problem accessing the JspWriter in
WrapperTag. IOExecption message was: Broken pipe
at com.simplica.web.taglib.WrapperTag.doStartTag(WrapperTag.java:70)
at /survey_template.jsp._jspService(/survey_template.jsp.java:49) (JSP page
line 4)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.w5(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d1.si(JAX)
at com.evermind.server.http.d1.include(JAX)
at com.simplica.web.JspView.render(JspView.java:45)
at
com.simplica.survey.web.SurveyViewManager.update(SurveyViewManager.java:101)
at com.simplica.web.MainServlet.doPost(MainServlet.java:29)
at com.simplica.web.MainServlet.doGet(MainServlet.java:46)
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.d1.si(JAX)
at com.evermind.server.http.d1.forward(JAX)
at com.evermind.server.http.ed.sp(JAX)
at com.evermind.server.http.ed.so(JAX)
at com.evermind.util.f.run(JAX)





Benchmarks should be better

2001-02-02 Thread Michael Quinn

Hey all,

I was checking out the benchmarks on www.orionserver.com and they are quite
interesting.

There are a couple of things I am wondering, however.  How does Orion
serving dynamic content pit itself -vs- apache serving static content or
mod_perl stuff.
It would be nice to take the other "sucky" java servers out of the picture
and see a baseline comparison of Orion -vs- Apache on a lot of different
scenarios.

On a side note, can somebody forward me some performance comparisons from
weblogic?  I know they can't be posted on the website, but I would like to
see them.

The reason I ask is of the following importance:

I see a lot of job postings for knowledge of Weblogic.  And about 50% of
telephone interviews ask about it, or bring it up.
I want to know how it performs.

I'm thinking about setting up Weblogic with Apache and Orion, and doing some
performance comparisons which I will be glad to share with everyone.

Thanks for your interest,

Michael


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





RE: cascade-delete support

2001-02-02 Thread Tim Drury
Title: RE: cascade-delete support






as of 1.4.4 cascade delete is not implemented.  I don't
believe its in 1.4.5 either.  Check changes.txt.  So you 
have to put code into ejbRemove() to delete dependents of 
the object.


-tim



> -Original Message-
> From: Christian Billen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 11:24 PM
> To: Orion-Interest
> Subject: cascade-delete support
> 
> 
> Hi there, I run Orion 1.4.5 and was playing with the EJB 2.0 features.
> 
> Is  on the many side of the relationship 
> supposed to work
> yet or is it still on the todo list?
> 
> Thanks,
> 
> Christian
> 
> 





RE: embedded servlet tag

2001-02-02 Thread Michael.Cannon
Title: RE: Oracle database and connection pooling



JSSI 
was part of pre-J2EE java, Apache had a module to handle it (Apache JSSI).  
>From the dev site:
 

Apache JSSI is a servlet based on the Java Soft 
Servlet API 2.0 (http://java.sun.com/products/servlet/index.html) 
and can be executed by any web server that 
can execute such servlets.
Install it  (http://java.apache.org/jservssi/install.html) 
like any other servlet and map the *.jhtml-extension to be handled with 
this servlet"
Distro is available at http://java.apache.org/jservssi/dist/ )
 
Note:  Most use this 
_instead_of_ JSP, or to connect easily to PHP or JPython via their 
servlets.  It has the additional benefits (depending on architecture) of 
being more 'nice' with native threads and therefore memory and CPU cycles 
(instantiate once, run forever).  I haven't tried it on Orion, but it works 
well in Tomcat and with JBoss.   
H...
Mike

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Peter T. 
  BrownSent: Thursday, February 01, 2001 10:01 PMTo: 
  Orion-InterestSubject: embedded servlet tag
  
  Does 
  anyone know if there is plan to support the server-side include syntax for 
  servlets?
   
  For 
  example HTML such as this in a JSP page:
   
  
  
  
   
   
  
  Peter T. Brown
  Director of Technology
  Memetic Systems
  "Intelligent. Customer Acquisition & 
  Retention."
  206.985.7171 ext. 110
   
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Madrid, Christopher P (US - 
  Austin)Sent: Thursday, 
  February 01, 2001 2:59 PMTo: 
  Orion-InterestSubject: RE: 
  Oracle database and connection pooling
   
  Try using 
  com.evermind.sql.DriverManagerDataSource as your datasource class and set your 
  max-connections. Look it up using your ejb-location and setting it to the 
  standard DataSource interface. Orion will pool the connection automatically. 
  Since you are using BMP, remember to close your connection.
  Chris 
  Madrid 
  Deloitte Consulting 
   
   -Original 
  Message- 
  From:   Danut Prisacaru [mailto:[EMAIL PROTECTED]] 
  Sent:   Thursday, February 01, 
  2001 1:44 PM 
  To: 
  Orion-Interest 
  Subject:    
  Oracle database and connection pooling 
  Hi, 
  I am new to EJBs so I 
  apologize if my question sounds silly. I am trying to configure Orion to use 
  Oracle 8 and pooled connections. 
  This is how my data-source 
  looks like: 
  
      
   
     
  class="com.evermind.sql.ConnectionDataSource"    
  ejb-location="jdbc/MyApollo"    
  location="jdbc/OracleCoreDS"   
  pooled-location="jdbc/OraclePooledDS"    
  name="Oracle" 
     
  schema="database-schemas/oracle.xml"    
  xa-location="jdbc/xa/OracleXADS"    
  connection-driver="oracle.jdbc.driver.OracleDriver"    
  username="system" 
     
  password="manager" 
     
  url="jdbc:oracle:oci8:@APOLLO"    
  inactivity-timeout="30"     
  /> 
  
  I am trying to implement a 
  BMP and here is the code I am using to get the connection: 
  public void 
  setEntityContext(EntityContext ec) {  
  ... 
   
  Context initialContext = new InitialContext();  
  ConnectionPoolDataSource dataSource = (ConnectionPoolDataSource) 
  initialContext.lookup( 
  "jdbc/OraclePooledDS" ); } 
  and later 
  on 
  
  public Connection 
  getConnection() throws SQLException {  
  ... 
   
  return dataSource.getPooledConnection().getConnection(); } 
  I get the folowing 
  exception in my client code when I create the bean 
  javax.ejb.EJBException: 
  com.evermind.sql.OrionPooledDataSource  
  at com.evermind.server.rmi.ba.invokeMethod(JAX)  
  at com.evermind.server.rmi.a1.invoke(JAX)  
  at com.evermind.server.rmi.a2.invoke(JAX)  
  at __Proxy2.create(Unknown Source)  
  at SelectTestClient.main(SelectTestClient.java:117) 
  that seems to be 
  thrown 
  when the execution reaches the following 
  line of code: 
   
  ConnectionPoolDataSource dataSource = (ConnectionPoolDataSource) 
  initialContext.lookup( 
  "jdbc/OraclePooledDS" ); 
  Thanks! Danut 
   
  _ Do You 
  Yahoo!? 
  Get your free @yahoo.com address at http://mail.yahoo.com 
   
  This 
  message (including any attachments) contains confidential information intended 
  for a specific individual and purpose, and is protected by law.  If you 
  are not the intended recipient, you should delete this message and are hereby 
  notified that any disclosure, copying, or distribution of this message, or the 
  taking of any action based on it, is strictly 
  prohibited.
 JavaSoft Servlet API 2.0.url
 Install it.url
 distribution section.url


message-driven beans from a topic

2001-02-02 Thread joe . ottinger



I've got a 
message-driven bean listening to a topic. (Yes, I know, queues would be better, 
but the queue/message driven mechanism has a problem, last I checked.) However, 
every message causes a new instantiation of a message-driven bean... and since 
it's a topic, it's feeding the message to every listener, which means the second 
message going through the topic gets processed TWICE (once by each instantiated 
bean), the third gets processed three times, etc.
 
Is there a 
workaround? I normally dislike workarounds, but this is currently just for a dog 
and pony show coming up. The beans are simple; I've included one example (does 
nothing worthwhile.)
 
 Router.java
 MessageBase.java


Scalability

2001-02-02 Thread John Flores



Hello-
 
I am very new to J2EE enterprise server 
world.  I want to construct a website that will capable of serving 30,000 
clients at time.  What is the maximum number of clients one Orion 
production site can support and what is the recommended number of Orion sites 
needed to support 30,000 clients?  Would this involve clustering? All help 
is appreciated. Thanks.
 
John Flores


No Subject

2001-02-02 Thread Bruno Baloi

Hia once again,


Still on the subject of callbacks !


I have just stumbled upon the idea that instead of using RMI for
callbacks (apparently only EJB 2.0 spec address the callback issue ) I
could potentially be using JMS. So:

I could invoke my EJBs from an applet, and I could asynchronously notify
my applet via JMS.
This sounds like exactly what I need. Howeverhow do you go about
implementing a solution like this.

Does Orion have internal JMS support ?? 

I guess I am asking if anyone has ever hound himself/herself in this
scenario. 
SO if anyone has some examples or can point to the right place where I
can get some documentation, that would be magic !

Thanks a lot in advance, for any help...


Bruno Baloi
[EMAIL PROTECTED]





Clustering problem during network failure

2001-02-02 Thread Veen, J.S. van der

Hello,

We're using the clustering options of the Orion 1.4.5 server. Our setup
includes three PC's with Windows 2000, one is running the loadbalancer and
the other two form one island. During our tests we can shutdown servers and
powerdown PC's and everything works correctly. When we disconnect the
network cable from one of our island PC's, things go wrong with the state
replication. We use the sessionservlet for testing purposes, the following
table describes the problem we encountered ('*' indicates the serving
server):

orion1  orion2  sessionID
up  up* 1
up  up* 2
up* down3
up* up  4
disconnect cableup* 5
connect cable   up* 6
up  up* 7
up* down5

After disconnecting the network cable, the orionserver generates a JMS
exception, but keeps running. As the table shows, after reconnecting the
network cable, the state is no longer replicated between the two servers.
This is visible when the other server is brought down and the client is
forced to go to the reconnected server. The sessionID is an increment of the
state before disconnecting the cable (5), although the other server is
already up to sessionID 7, so the correct state should have been 8.

Has anybody encountered similar problems?

Jan Sipke van der Veen




Callback and the Orion Server

2001-02-02 Thread Bruno Baloi


I am hoping I am addressing this question to the right Crowd !!

Guys/Gals,

Here is a quick one for you:

Can I do callbacks with Orion Server ??

Well here is my scenario:

I want to have an applet that invokes a session bean, in the AppServer.
Subsequently, after some logic is performed , I want to send a
notification back to the applet (client). I know this is doable in RMI
and CORBA , because I did this scenario with both technologies. I do not
know however if this can be done with EJBs. I guess this is a two edged
sword: on the one hand I don't know if the EJB1.1. spec allows for
callbacks to begin with,(in CORBA the IDL allows for definition of
"oneway objects" which implemented translate into callable client
objects) and on the other hand, if the spec does not support this
scenario, does the EJB container have any complaints about keeping a
UnicastRemoteObject (if you can do RMI from within the AppServer).

I would greatly appreciate any help or hints in this matter.

Thank you all kindly.

Bruno Baloi





Re: Any news from Orion yet??

2001-02-02 Thread Robert Krueger

At 11:33 02.02.2001 , you wrote:
>Any news from Orion yet??
>Two weeks and nothing ...

well, the only news is 1.4.5.


(-) 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: Questions about running an EJB client

2001-02-02 Thread Eric Hodges

Where did this file come from?  I didn't put it in my EJB jar or my EAR
file.  It doesn't look like yours (there's no name attribute on the
security-role-mapping tag), so once I edit it how will I stick it back in my
EAR?

That sounds odd, doesn't it?

Thanks for the help.


- Original Message -
From: "Juan Lorandi (Chile)" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 11:51 AM
Subject: RE: Questions about running an EJB client


> in orion-application.xml (you can find it in
> $orion\application-deployments\YOURAPP\)
>
> there should be a namespace tag; below is mine's form an app:
> 
> 
> 
>  name="">
> 
> 
> 
> 
> 
> 
> 
>
> then, whenever the current user belongs to group admin, you have read
access
> for ALL resources.
> I believe that something on the line of
>
> 
>
> would grant everybody read access;
>
> AFAIK Orion's JNDI imp. doesn't support writing, so the write-access part
is
> irrelevant
>
>
> HTH
>
> JP
>
> > -Original Message-
> > From: Eric Hodges [mailto:[EMAIL PROTECTED]]
> > Sent: Miércoles, 31 de Enero de 2001 20:14
> > To: Orion-Interest
> > Subject: Questions about running an EJB client
> >
> >
> >
> > I'm trying to set up an EJB (my first time) on Orion.  I have
> > the .EAR file
> > running, I just need to get the client to test it.  When I
> > try to run the
> > client, it fails on the constructor for InitialContext().
> > Here's the error:
> >
> > java.lang.SecurityException: Not allowed to look up
> > java:comp/ResourceFinder, check the namespace-access tag setting in
> > orion-application.xml for details
> >  at com.evermind.server.rmi.bb.f_(JAX)
> >  at com.evermind.server.rmi.RMIServer.f_(JAX)
> >  at com.evermind.server.rmi.RMIContext.lookup(JAX)
> >  at com.evermind.server.administration.LazyResourceFinder.f_(JAX)
> >  at
> > com.evermind.server.administration.LazyResourceFinder.getEJBHome(JAX)
> >  at com.evermind.server.Application.ap7(JAX)
> >  at
> > com.evermind.server.ApplicationClientInitialContextFactory.get
> > InitialContext
> > (JAX)
> >  at
> > javax.naming.spi.NamingManager.getInitialContext(NamingManager
> > .java:668)
> >  at
> > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
> >  at javax.naming.InitialContext.init(InitialContext.java:222)
> >  at javax.naming.InitialContext.(InitialContext.java:198)
> >  at
> > com.mongoosetech.agent.AgentBase.registerWithServer(AgentBase.
> > java:100)
> >  at com.mongoosetech.agent.AgentBase.register(AgentBase.java:71)
> >  at com.mongoosetech.agent.AgentBase.(AgentBase.java:58)
> >  at
> > com.mongoosetech.agent.jdbcagent.JDBCAgent.(JDBCAgent.java:81)
> >  at
> > com.mongoosetech.agent.jdbcagent.JDBCFramgent.(JDBCFramg
> > ent.java:21)
> >  at
> > com.mongoosetech.agent.jdbcagent.JDBCFramgent.main(JDBCFramgen
> > t.java:73)
> >
> > The problem is that I don't have a file called
> > "orion-application.xml".
> > From the docs, I get the impression this is an Orion specific
> > version of
> > application.xml.  I have that, but I don't see a way to make
> > it let me look
> > up java:comp/ResourceFinder.
> >
> > Any clues?
> >
> >
> >
>





RE: Form Login bouncing me to welcome page!

2001-02-02 Thread Luong, Tony S322

there should have been a entry for welcome.jsp under 
for example:


Unnamed
/welcome.jsp

> -Original Message-
> From: Gerald Gutierrez [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 4:34 PM
> To:   Orion-Interest
> Subject:  Re: Form Login bouncing me to welcome page!
> 
> I agree that is the correct sequence, but that is not what I get. Assume I
> 
> have a welcome file defined called welcome.jsp.
> 
> The sequence of events is:
> 
> - User requests secured page /Login.jsp
> - User is redirected to LoginForm.jsp
> - User enters correct credentials
> - User is logged in
> - User is displayed the contents of welcome.jsp.
> 
> OR:
> 
> - User requests secured page /Login.jsp
> - User is redirected to LoginForm.jsp
> - User enters INCORRECT credentials
> - User is NOT logged in
> - User is STILL displayed the contents of welcome.jsp.
> 
> I also had the case where I didn't have a welcome file defined, but had 
> directory browsing enabled, and I get the directory contents after doing 
> the above sequences. This doesn't seem right to me, but I can't figure out
> 
> what is wrong.
> 
> What can cause this?
> 
> Gerald.
> 
> 
> At 09:30 AM 2/1/2001 -0700, you wrote:
> >The sequence of events is:
> >  - The user requests a secured page (/Login.jsp, in your case).
> >  - The server intercepts the request and redirects to the form-based 
> > login page (LoginForm.jsp)
> >  - If the user logs in successfully, the server allows the original 
> > request to proceed (ie. Login.jsp is displayed).
> >
> >So if by "the welcome page" you mean the Login.jsp page, then that is as 
> >expected.  If you see something else, then this could possibly be the 
> >result of something you do on that page (such as redirection).
> >
> >Nick
> >
> >At 10:19 PM 1/31/01 -0800, you wrote:
> >
> >>I've searched the mailing list, but there doesn't seem to be information
> 
> >>on this. I'm a little desparate now.
> >>
> >>I'm using a form-based login for my web application. When a user hits 
> >>Login.jsp, s/he must log in. I have the LoginForm.jsp and LoginError.jsp
> 
> >>files in / of my context root. This redirection to the LoginForm.jsp
> does 
> >>occur, but regardless of whether the user logged in successfully or not,
> 
> >>he is dumped back to the welcome page. The actual logging in is 
> >>successful, i.e. if he provided the correct credentials, he's logged in,
> 
> >>but still dumped back to the welcome page.
> >>
> >>Here is the relevant portion of my web.xml:
> >>
> >> 
> >> 
> >> LoginTrigger
> >> LoginTrigger
> >> /Login.jsp
> >> GET
> >> POST
> >> 
> >> 
> >> portal_gamer
> >> 
> >> 
> >>
> >> 
> >> FORM
> >> default
> >> 
> >> LoginForm.jsp
> >> LoginError.jsp
> >> 
> >> 
> >>
> >> 
> >> portal_gamer
> >> 
> >>
> >>Which part of the magic am I missing?
> >
> 
> 
> 

--
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
notify the sender by e-mail at the address shown.  This e-mail transmission may 
contain confidential information.  This information is intended only for the use of 
the individual(s) or entity to whom it is intended even if addressed incorrectly.  
Please delete it from your files if you are not the intended recipient.  Thank you for 
your compliance.







Re: Any news from Orion yet??

2001-02-02 Thread Aristides Tavares dos Santos

Any news from Orion yet??
Two weeks and nothing ...

- Original Message -
From: "Karl Avedal" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, January 15, 2001 9:15 PM
Subject: Re: Any news from Orion yet??


> Hello everyone,
>
> Time is well overdue for some information from us about the release
schedule
> and when you can see your bugs fixed. I'm sorry to say that I can't give
any
> information now either about when the next release can be available and
when
> the different bugs can be fixed.
>
> We have been pretty silent lately and things have moved much slower than
we
> hoped. We understand very well that many of you are in tough positions
with
> bugs standing in the way of using Orion for your projects.
>
> The silence from us has provoked a discussion about whether we are dead
like so
> many other IT companies, and I just wanted to take this opportunity to say
that
> we are not. We will provide more information and I sincerely hope that we
will
> soon get back on track with the release schedule. More information will be
sent
> to this list later this week.
>
> Regards,
> Karl Avedal
>





Re: Questions about running an EJB client

2001-02-02 Thread Eric Hodges

It still doesn't work.  I get the same error message.


My orion-application.xml file looks like this:


http://www.orionserver.com/dtds/orion-application.dtd">

 
 
 
 
  
 
 
  
  
   

   
  
  
  
  
   

   
  
  
 



Administrator is defined in orion/config/principals.xml.  I added it to the
principals.xml for my EAR as well, with no luck.






Re: Form Login bouncing me to welcome page!

2001-02-02 Thread Nick Newman

All I can guess is that your /Login.jsp contains a redirect to "/", which 
will then show your welcome file, if you have one declared.

What happens if you remove the security constraint and THEN request 
/Login.jsp?  If you STILL get the welcome page, then security clearly isn't 
the problem.

Nick

At 01:34 PM 2/1/01 -0800, you wrote:
>I agree that is the correct sequence, but that is not what I get. Assume I 
>have a welcome file defined called welcome.jsp.
>
>The sequence of events is:
>
>- User requests secured page /Login.jsp
>- User is redirected to LoginForm.jsp
>- User enters correct credentials
>- User is logged in
>- User is displayed the contents of welcome.jsp.
>
>OR:
>
>- User requests secured page /Login.jsp
>- User is redirected to LoginForm.jsp
>- User enters INCORRECT credentials
>- User is NOT logged in
>- User is STILL displayed the contents of welcome.jsp.
>
>I also had the case where I didn't have a welcome file defined, but had 
>directory browsing enabled, and I get the directory contents after doing 
>the above sequences. This doesn't seem right to me, but I can't figure out 
>what is wrong.
>
>What can cause this?
>
>Gerald.
>
>
>At 09:30 AM 2/1/2001 -0700, you wrote:
>>The sequence of events is:
>>  - The user requests a secured page (/Login.jsp, in your case).
>>  - The server intercepts the request and redirects to the form-based 
>> login page (LoginForm.jsp)
>>  - If the user logs in successfully, the server allows the original 
>> request to proceed (ie. Login.jsp is displayed).
>>
>>So if by "the welcome page" you mean the Login.jsp page, then that is as 
>>expected.  If you see something else, then this could possibly be the 
>>result of something you do on that page (such as redirection).
>>
>>Nick
>>
>>At 10:19 PM 1/31/01 -0800, you wrote:
>>
>>>I've searched the mailing list, but there doesn't seem to be information 
>>>on this. I'm a little desparate now.
>>>
>>>I'm using a form-based login for my web application. When a user hits 
>>>Login.jsp, s/he must log in. I have the LoginForm.jsp and LoginError.jsp 
>>>files in / of my context root. This redirection to the LoginForm.jsp 
>>>does occur, but regardless of whether the user logged in successfully or 
>>>not, he is dumped back to the welcome page. The actual logging in is 
>>>successful, i.e. if he provided the correct credentials, he's logged in, 
>>>but still dumped back to the welcome page.
>>>
>>>Here is the relevant portion of my web.xml:
>>>
>>> 
>>> 
>>> LoginTrigger
>>> LoginTrigger
>>> /Login.jsp
>>> GET
>>> POST
>>> 
>>> 
>>> portal_gamer
>>> 
>>> 
>>>
>>> 
>>> FORM
>>> default
>>> 
>>> LoginForm.jsp
>>> LoginError.jsp
>>> 
>>> 
>>>
>>> 
>>> portal_gamer
>>> 
>>>
>>>Which part of the magic am I missing?
>
>





Re: Questions about running an EJB client

2001-02-02 Thread Eric Hodges


- Original Message -
From: "Juan Lorandi (Chile)" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, February 01, 2001 3:33 PM
Subject: RE: Questions about running an EJB client


> Read the j2ee spec again.
>
> orion-x.xml files are deployment info; deployment info is server
> dependant (in contrast to bean developer info & assembly info); deployment
> info may override & complete
> for j2eeri, files are named j2eeri-.xml
>
> basically, there's one of these per every .xml in the specs:
>
> SPEC file Orion file packageplace
> application.xml orion-application.xml   \YOURAPP.ear\META-INF\
> ejb-jar.xml orion-ejb-jar.xml
> \YOURAPP.ear\YOUREJB.jar\orion
> web.xml orion-web.xml \YOURAPP.ear\YOURWAR.war\WEB-INF\

I don't really understand what you just typed.

So orion-application.xml gets its info from application.xml?  If so, do I
just stick this namespace stuff in application.xml?







RE: JSP Syntax

2001-02-02 Thread Matt Krevs

i ran into this problem yesterday. For me its related to having 2 "<" signs
in a row

eg, the following expression

<<%="sometext"%> id="anid" />

will not get translated at all. ie the output will be

<<%="sometext"%> id="anid" />

It seems Orion is getting confused by haveing 2 "<" signs together when
processing the JSP

If I change my expression to

<%=" id="anid" />

then everything works OK.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink
Isaksen
Sent: Friday, 2 February 2001 1:54 AM
To: Orion-Interest
Subject: JSP Syntax


I have two very similar lines of code - one of them causes a weird syntax
interpretation on Orion. According to my reference books the two expressions
should produce the same result. Does anyone know why these expressions work
differently on Orion?


Correct on Orion:   /sub<%= t.getString() %>

Incorrect on Orion: <%= "/sub" + t.getString() %>


FYI: I am using 1.3.8.

R.







Re: getServletContext() in JSP

2001-02-02 Thread Lawrence Sewell

javax.servlet.ServletContext is a JSP implicit object and is exposed (e.g. 
automatically available in a JSP page) as "application".  For example (in Orion 1.4.4):

<%= application.getServerInfo() %>


>Sure it does. 
>
><% ServletContext context=request.getServletContext(); %> works fine.
>
>On Mon, 29 Jan 2001, Romen Law wrote:
>
> > 
> > ello,
> > 
> > I recently downloaded orion and tried my web app with it, it failed
> > straight away because it does not recognise the method getServletContext().
> > I have developed my app using Tomcat and it worked fine.





Re: Questions about running an EJB client

2001-02-02 Thread Eric Hodges

OK, I got the security problem resolved.  Thanks Juan!  Now I've got another
problem:

javax.naming.NamingException: Error reading application-client descriptor:
No location specified and no suitable instance of the type 'AgentRegistrar'
found for the ejb-ref AgentRegistrar

Where is it looking for the application-client descriptor location?






restarting orion

2001-02-02 Thread Ed Bras



- I have Orion running as root, but if I restart 
Orion, with the command in the FAQ (java -jar admin.jar 
ormi:///   -restart), it 
doesn't appear to take the changes the I made in the config files, like 
data-sources.xml. In the server.log their appears an extra  "started" 
entry.
 
- Neither does it shutdown properly. When I do a 
shutdown in the same way as above their appears a "Stopped" entry in the 
server.log, but whe I look with "ps" still a lot of Orion processes are running, 
and it complains about it when I try to restart it:
---
Error starting HTTP-Server: Address already in 
useOrion/1.3.8 initialized--
 
How can I solve this ? 
 
- One more thing: Orion sometimes refuses to 
execute a stand-alone servlet, when it gives an server error (through a web 
browser) and the sevlet contains a runtime error, which is logicaly 
ofcourse.
When I then correct the problem, the Orion server 
keeps on giving this server error until I restart the server.
How can I solve this ?
 
Regards,
Ed Bras
 


RE: Removing Stateful Session Beans

2001-02-02 Thread Luong, Tony S322

try myXYZ.remove(), the container will remove the bean whenever it get to
it. 
( there is no guarantee that the container will do it right away !!)

> -Original Message-
> From: Dean Hutchins [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 8:43 AM
> To:   Orion-Interest
> Subject:  Removing Stateful Session Beans
> 
> Hello,
> 
> I am using Orion 1.3.8.  I have created a stateful session bean reference
> in
> a JSP and saved the reference in the session.  My problem is that the
> session bean doesn't timeout and I can't determine a method for removing
> the
> bean.  I have tried to create a class implementing the
> HttpSessionBindingListener in the hopes that I could call remove() on the
> reference at this point, but the unbound function isn't called when the
> session is invalidated.  I noticed that a bug has been reported concerning
> the fact that the timeout doesn't seem to be working starting in version
> 1.3.8.  I've included some sample code snippets below for reference.  Any
> help on a method for removing these beans when the session invalidates
> would
> be much appreciated.
> 
> Thanks,
> Dean
> 
> Sample JSP code:
> 
> 
> Test Session Page
> 
> Session = <%=session.getId() %>
>   type="test.ejb.XYZHome" 
>  location="java:comp/env/ejb/XYZ" />
> <%
> test.ejb.XYZ myXYZ = (test.ejb.XYZ)
> session.getAttribute("SESSION_XYZ");
> if (myXYZ == null) {
>System.out.println("creating and saving session bean");
>myXYZ = home.create();
>session.setAttribute("SESSION_XYZ", myXYZ);
> } else {
>myXYZ = (test.ejb.XYZ) session.getAttribute("SESSION_XYZ");
> }
> %>
> 
> 
> 
> Bean Segment (note I've also tried a separate class than only implemented
> HttpSessionBindingListener and it doesn't get called):
> 
> public class XYZBean extends Object
> implements SessionBean, HttpSessionBindingListener {
> private SessionContext ivContext;   // CLient specific context
> private Hashtable ivXYZs = null;// Client Specific
> State
> 
> 
> public void valueBound(HttpSessionBindingEvent event) { 
> } 
> public void valueUnbound(HttpSessionBindingEvent event) { 
>   System.out.println("In the unbound function");
>   try {
>   ivContext.getEJBObject().remove();
>   }
>   catch (Exception e) {
>   e.printStackTrace();
>   }
> } 
>   etc...
> 

--
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
notify the sender by e-mail at the address shown.  This e-mail transmission may 
contain confidential information.  This information is intended only for the use of 
the individual(s) or entity to whom it is intended even if addressed incorrectly.  
Please delete it from your files if you are not the intended recipient.  Thank you for 
your compliance.







Problems with characters in the new versions of Orion

2001-02-02 Thread Gasper



Hello
 
I have a problem regarding saveing central 
european characters in the hypesonic database in my web application - entity 
ejb, jsp.
The characters don't get saved in the 
database as they should.
The funny thing is that my country "special" 
characters did get written alright in the 1.0.3 version of Orion, but don't in 
the 1.3.8 nor the 1.4.5
 
Did anybody have the same problem and how did 
you solve it?
 
Thanks for a reply.
Gasper


Re: JSP Syntax

2001-02-02 Thread Sarathy Mattaparti


According to me both are same. i think its a bug in orion.

Sarathy

>I have two very similar lines of code - one of them causes a weird syntax
>interpretation on Orion. According to my reference books the two 
>expressions
>should produce the same result. Does anyone know why these expressions work
>differently on Orion?
>
>
>Correct on Orion:   /sub<%= t.getString() %>
>
>Incorrect on Orion: <%= "/sub" + t.getString() %>
>
>
>FYI: I am using 1.3.8.
>
>R.
>
>

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