I got it work :)


The short hint: check that every method you invoke exists and your JSP
syntax.


The long story
==============

1. I started using Orion and built an application that simply sniffes the
user name and roles using an EJB named SecuritySniffer.

2. On deployment, I got an error similar to that one:

>Error loading package at
>file:/C:/@web/ClassNotes/EjbJmsJndi/@StudentEjbApp/, Error parsing META-INF
>/ejb-jar.xml in C:\@web\ClassNotes\EjbJmsJndi\@StudentEjbApp: Fatal error
at
>line 377: Character conversion error: "Unconvertible UTF-8 character
>beginning with 0x91" (line number may be too low).

3. After surfing a lot the mails about that same error,
4. I left Orion sleep for one week,
5. also renamed its directory
6. Today I tested my application again and finally got the correct error
message:
   ...about the invocation - from a JSP - of an EJB method that did not
exist.
7. After correcting the method invocation, everything went fine.


It seems that Orion is very sensible to little errors,
and it does not inform - or erroneously informs - about errors.

Each time I have had a strange error ("...but everything should work ?!"),
such as "The page cannot be displayed" or the one above,
the real error was of syntactical nature, and in general in my JSP;
ranging from malformed JSP, or bad imports, or non existing methods, etc.


As a rule of thumb:
If everything should work correctly and is correctly configured and it does
not,
have a look at your code, you probably made a too evident error (names
confusion, tags not closed, etc.)


Cheers


Reply via email to