(No subject)
remove me please
SV: (No subject)
Please use the unsubscribe function at our site for unsubscription/subscription or send a mail to [EMAIL PROTECTED] with a body of unsubscribe or subscribe -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] För [EMAIL PROTECTED] Skickat: den 25 april 2002 12:21 Till: Orion-Interest Ämne: (No subject) remove me please
[no subject]
Are you staying in touch with clients on a regular basis?If not, you're in danger of losing a surprisingly large portion of repeat business to your salon or spa. We have a solution. Introducing our new 12-page 4-color newsletter with the front and back cover totally customized for your salon or spa for only $.50 each. Also included in this price is the option of having your newsletter e-mailed to your clients with e-mail addresses which you supply. Sample of Front Cover On the Front CoverApproximately a 250 word article can be submitted with one picture, or the default article can be customized to fit your needs. On the Back CoverApproximately a 350 word article can be submitted with one picture, or the default article for this page can be used. More than one article can be submitted if they do not exceed the 350 total word count. We are currently taking orders for the May/June issue.Call TJ Gardner at Our Little Secret1-800-946-2111or view the sample newsletter at www.ourlittlesecretcorp.com $199Gets you started Print out your contract andSign Up Now
[no subject]
Hi, I'm trying to set an error page in one of my web applications. To do this i have put this tag in the web.xml file: error-page error-code500/error-code location/error.html/location /error-page to catch all the 500 errors and redirect the user to an error page. It works when i put a plain html page but it doesn't when i put a jsp. is it possible to get a jsp instead of an html file? thanks.
[no subject]
Hi everybody, Could anyone tell me why I would get the 403 directory not allowed to be written error when I tried to run the addressbook example in the Orion CMP primer tutorial? I appreciate your help. __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
[no subject]
Hi , I have a problem with InterBase and Orion. When I am trying to make a connection to a database, I receive : interbase.interclient.CommunicationException: [interclient] Communication error: A socket exception occurred while trying to establish a socket connection to server localhost. The message of the SocketException is Connection refused: connect. See API reference for exception interbase.interclient.CommunicationException Could somebody help me , please ?! By __ Do you want a free e-mail for life ? Get it at http://www.clujnapoca.ro/
[no subject]
Could somebody help me, because I have a problem. I'm not able to set Orionserver as to have a database on Firebird. Could somebody help me? I don't know how ? __ Do you want a free e-mail for life ? Get it at http://www.email.ro/
[no subject]
Hi, I think this might be a bug in Orion 1.5.4. Anyone got any comments or thoughts before I submit it! Am I doing something stupid? I'm using EJB2.0 with a cmr for a one-to-many bidirectional relationship between a Customer and Address. I'm just using the ejb-jar.xml descriptor with a relationships section and letting orion work out its own tables etc. which it does quite happily. Creating a customer and adding addresses all works fine and the tables update correctly, including the relationship table. However when I go to work with the collection of addresses I get a collection back with two items in (as expected) but a call to iterator.hasNext() returns false! Also, calling toArray() on the collection returns a two element array but with both elements containing null! Example code below. Any ideas? Chris public abstract class CustomerBean implements EntityBean { // abstract cmp methods are here public abstract void setAddresses(Collection addresses); public abstract Collection getAddresses(); public AddressDO getAddress(String postcode) { Collection c = this.getAddresses(); System.err.println(Number of addresses found: + c.size()); // displays that size is 2 Iterator it = c.iterator(); if ( !it.hasNext() ) System.err.println(Nothing to iterate over!); // displays that iterator is empty! . . . } // other business methods and callbacks here } _ Alison Associates The information contained in this e-mail and any attached files is intended only for the use of the person(s) to whom it is addressed and may be privileged, confidential and exempt from disclosure under applicable law. The views of the author may not necessarily reflect the views of the Company. If you are not the intended recipient please do not copy or convey this message or any attached files to any other person but delete this message and any attached files and notify us of incorrect receipt via e-mail to [EMAIL PROTECTED] _ This message has been checked for all known viruses by MessageLabs.
[no subject]
Hi, I am confused by RoleManager.addToRole() function. It says Adds a principal to the specified role, in practice this usually implies adding the principal to the legacy groups the role encompasses. Since all roles are defined in web.xml (security-role tag), does addToRole() function will actually update my web.xml file and add a new role to security-role? If not, what file(s) does addToRole() will update? Thanks a lot. __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
[no subject]
UNSUBSCRIBE
[no subject]
Hi, I am using the Orion App Server(oc4j). I have an applet client which is talking to the JMS Server in Orion. To be able to get the initialcontext i have put the following lines in my java.policy file permission java.util.PropertyPermission *, read,write; permission java.io.FilePermission *, write,delete; permission java.lang.RuntimePermission createClassLoader; permission java.io.SerializablePermission enableSubstitution; I have the oc4jclient.jar j2ee.jar, nls_charset12.jar, classes12dms.jar in my classpath. Inspite of all this i get the following error. Can u please let me know how do I have an applet as a client for a JMS Server Thanks Harini This is the error - Applet Init...done Applet start...context is javax.naming.InitialContext@ea9ba java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\harini\Desktop\config\security.properties read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at com.sun.enterprise.util.Utility.getPropertiesFromFile(Utility.java:56) at com.sun.enterprise.iiop.POAEJBORB.clinit(POAEJBORB.java:83) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.omg.CORBA.ORB.create_impl(Unknown Source) at org.omg.CORBA.ORB.init(Unknown Source) at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:140) at com.sun.enterprise.util.ORBManager.init(ORBManager.java:69) at com.sun.enterprise.naming.java.javaURLContextFactory.getObjectInstance(javaU RLContextFactory.java:27) at javax.naming.spi.NamingManager.getURLObject(Unknown Source) at javax.naming.spi.NamingManager.getURLContext(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at rd.Client.initComponents(Client.java:66) at rd.Client.init(Client.java:43) at rd.CApplet.start(CApplet.java:25) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
[no subject]
I am also getting this exception when including a soap call into my ejb. I am certain I have correct soap.jar classpath reference in my classpath environment variable. My ant deployment also has a correct reference to the soap.jar. It happens during the run time. As if the container (bean wrapper in particular didn't know of the soap). Strangely enough the method that makes the call is not even executed at the time the exception is thrown. lang.NoClassDefFoundError: org/apache/soap/SOAPException at ContextManager_StatelessSessionBeanWrapper52.saveContext(ContextManag er_StatelessSessionBeanWrapper52.java:353) at __jspPage85_CXTSaveContext_jsp._jspService(__jspPage85_CXTSaveContext _jsp.java:145) at com.orionserver.http.OrionHttpJspPage.service(Unknown Source) at com.evermind._ah._rad(Unknown Source) at com.evermind.server.http.JSPServlet.service(Unknown Source) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
[no subject]
Hi, Our application has two version, the new one is using JAXP 1.1 and there is no trouble with it. But the old one, that we are trying to validate on Orion is using JAXP 1.0. I cannot figure how to use JAXP 1.0 in my webapp. I put jaxp1.0 in the lib directory - does not work I tried classpath path=./path/to/jaxp1.0/ / in the global-web-application.xml - does not work Is there a way of having a JAXP1.0 web app working with orion (1.5.2)? Thanks in advance Etienne
[no subject]
I need to know if I can map a Business Entity, like CMP, to more than a table. example: I have a Entity TestBean with three fields (id,field_a,field_b), and in the DB I have two tables like this: A=(id,field_a) B=(id,field_b) I need to map this Entity to this tables, but I believe that that is impossible, because orion-ejb-jar.dtd does not support that some fields of the entity can be mappings to a different table. I am forced to use BMP for this??
Subject: Classpath Structure Error?
SYMPTOMS When I invoke my webapp, the first request to the server causes the front servlet to throw a class-def-not-found exception for the app's session class, which it loads dynamically. The class in question is in fact present in the app's war file, in the web-inf classes directory. To nail the problem down, I printed the jvm's class path, immediately before the attempt to load the session class. With newline chars inserted after each ';' for legibility, the classpath looks like this: classpath: orion.jar; C:\j2ee\home\ejb.jar; C:\j2ee\home\activation.jar; C:\j2ee\home\jdbc.jar; C:\j2ee\home\jndi.jar; C:\j2ee\home\jta.jar; C:\j2ee\home\mail.jar; C:\j2ee\home\xerces.jar; C:\j2ee\home\tools.jar; C:\j2ee\home\lib; C:\j2ee\home\lib\aplWeb.jar; C:\j2ee\home\lib\classes12.jar; C:\j2ee\home\lib\p6spy.jar; C:\j2ee\home\applications\podAdmin-eap\podAdmin-ejb.jar; ; C:\j2ee\home\applications\podAdmin-eap\podAdmin-web\WEB-INF\classes The not-found class resides in the WEB-INF/classes directory, which for a reason not known to me, has a null element immediately before it on the classpath. Everything else on the classpath looks reasonable to me. QUESTIONS Would this null element hide my app classes from the system class loader ? If the null element is to blame how might it have gotten into the class path ? BACKGROUND (The only thing I did was ...) -- This app used to work, before I refactored my ejb classes into an abstract superclass and app-specific subclasses. The super class implements connection to a single datasource, and a few generic business methods such as getDbDate(), getDbName(), etc. Concrete subclasses implement the app-specific business methods. Everything runs smoothly during build and deploy of the ear file, then at run time the class-loading problem shows up. SPECULATION --- Given that orion builds the runtime classpath for an application, and that it generates stubs and skeletons from ejb remote interface class files, is my refactored config of classes the problem ? The null entry on the path comes right after the entry inserted by Orion for my ejb jar. Does orion (or the spec) constrain how an ejb Remote and Bean are configured ? Can they be split into super and sub-classes ? Should I report this as a bug ? DETAILS --- The exception thrown is: java.lang.ClassNotFoundException: com.allipl.podadmin.PodAdminSession The war file structure (per winzip) contains: PodAdminSession.classJava Class 09/23/2001 6:23 PM WEB-INF\classes\com\allipl\podadmin\ PodAdminStateMachine.class Java Class 09/23/2001 6:23 PM WEB-INF\classes\com\allipl\podadmin\ Thanks in advance for any suggestions or diagnosis, Bill.
No Subject
Title: Newbie question unsubscribe
No Subject
** This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and confidential. Disclosure to anyone other than the intended recipient is prohibited. If you are not the intended recipient, please do not disseminate, distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail (including the original message with your reply) and then delete and discard all copies of the message. We have taken precautions to minimize the risk of transmitting software viruses but nevertheless advise you to carry out your own virus checks on any attachment to this message. We accept no liability for any loss or damage caused by software viruses. **
No Subject
hai anybody is having idea about how to use the finder methods in Map. Is this type of finder methods are available in EJB 2 ? Sas
No Subject
Hi, we're implementing an entity bean with transactional (container managed) methods. This bean is accessed by a session statefull bean. We have transactional problem when a method fails (that is throws an EJBException) because orion doesn't rollback the transaction. Does anybody figure out how to make orion rollback the transaction? We have also tried with a session stateless/stateful having the same problem . Also implementing the SessionSycronization interface doesn't trap the transaction boundaries. Our data-source.xml is: data-source class=com.evermind.sql.DriverManagerDataSource name=SetmoveDS location=jdbc/SetmoveDS xa-location=jdbc/xa/MySetmoveDS ejb-location=jdbc/myEJBDS connection-driver=oracle.jdbc.OracleDriver username=test password=test url=jdbc:oracle:thin:test/test@testsun:1521:test inactivity-timeout=30 / we use orion 1.5.2. the ejb-jar.xml is: . session display-nameLogEntJAR/display-name descriptionLogEntJAR/description ejb-nameMyLogEnt/ejb-name homesetmove.beans.logica.LogEntHome/home remotesetmove.beans.logica.LogEnt/remote ejb-classsetmove.beans.logica.LogEntEJB/ejb-class session-typeStateful/session-type transaction-typeContainer/transaction-type ejb-ref ejb-ref-nameMyEntUtente/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homesetmove.beans.logica.EntUtenteHome/home remotesetmove.beans.logica.EntUtente/remote /ejb-ref /session . entity display-nameEntUtenteJAR/display-name descriptionEntUtenteJAR/description ejb-nameMyEntUtente/ejb-name homesetmove.beans.logica.EntUtenteHome/home remotesetmove.beans.logica.EntUtente/remote ejb-classsetmove.beans.logica.EntUtenteEJB/ejb-class persistence-typeBean/persistence-type prim-key-classjava.lang.String/prim-key-class reentrantfalse/reentrant resource-ref descriptiondescription/description res-ref-namejdbc/SetmoveDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /entity . container-transaction method ejb-nameLogEntEJB/ejb-name method-name*/method-name /method method ejb-nameEntUtenteEJB/ejb-name method-name*/method-name /method /container-transaction thanks a lot. Christian
No Subject
Hi I am using oracle thin driver the data-source.xml configuration is data-source class=com.evermind.sql.DriverManagerDataSource name=oraclethin location=jdbc/Oracle connection-driver=oracle.jdbc.driver.OracleDriver username=varro password=varro url=jdbc:oracle:thin:@192.0.0.8:1521:hcp inactivity-timeout=30 / How to use/locate this data source in a simple client application which uses this datasource and connects to database If possible give example code for client application thanks regards praveen __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
No Subject
I am developing a system using Orion, I have developed a previous system using the server. The first system was using a web front end and included jsp, sevlets and different EJBS. The current system I want to develop is a RMI front end and an EJB back end. I have not done this before and I am finding it hard to develop the RMI Client. From what I can understand is that a RMI Client must be included in the Orion server, but I thought the point of RMI was to be able to distribute the system across many machines and not just in a single server. I have found it therefore hard to follow the examples and develop a test application. Can anyone give me some help with the processes that are involved with this method of development. Many thanks Trent == This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. Global Internet Billing Limited 598-608 Chiswick High Road London W4 5RT +44 (0) 20 8612 8612 http://www.glintbill.com
No Subject
Hello everyone, Where EJB and CMP entities. I know only plain Servlets and Java. Thanks -- obtene tu webmail gratuito en: http://www.yocreo.com
Re: No subject
I had a similar problem. See my bugzilla report at http://bugzilla.orionserver.com/bugzilla/show_bug.cgi?id=424 A workaround might be to use javac (not tools.jar) as an external compiler. Regards, Chris Thielen - Original Message - From: James Hill [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, June 07, 2001 2:34 PM I have a really odd problem with jikes/orion (1.5.2 orion, 1.14 jikes). I have a particular JSP page that will give the following error: Error parsing JSP page /hunting/today/article.jsp Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_hunting_today_article_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Accessing value from uninitialized register 24 It only gives me this error if have jikes turned on and I have development mode (orion-web.xml) turned off. Any other combination seems to work fine (but slower). Thanks! James Hill
No Subject
I have a really odd problem with jikes/orion (1.5.2 orion, 1.14 jikes). I have a particular JSP page that will give the following error: Error parsing JSP page /hunting/today/article.jsp Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_hunting_today_article_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Accessing value from uninitialized register 24 It only gives me this error if have jikes turned on and I have development mode (orion-web.xml) turned off. Any other combination seems to work fine (but slower). Thanks! James Hill
No Subject
Hi I'm want to use Resin as servlet/jsp container and Orion as ejb container. I followed simple instructions on resin web site on how to connect servlet to ejb but I get ClassCastException. Orion returns __Proxy0 class instead hello.ejb.HelloHome Exception : 500 Servlet Exception javax.servlet.ServletException: Unable to get home interface: java.lang.ClassCastException: __Proxy0 was not an instance of interface hello.ejb.HelloHome, the interfaces it implements is [Ljava.lang.Class;@8b4ad504 at hello.web.HelloServlet.init(HelloServlet.java:48) at com.caucho.server.http.Application.createServlet(Application.java:1731) at com.caucho.server.http.Application.loadServlet(Application.java:1695) at com.caucho.server.http.Invocation.service(Invocation.java, Compiled Code) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:121) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:238) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java, Compiled Code) at com.caucho.server.TcpConnection.run(TcpConnection.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) I have copied hello-planet.war to resin. There is answer in resin documentation that I should clear the CLASSPATH environment before starting resin. I have done that but I still get ClassCastException. (I don't understand why should that help but I have tried that) Do you know how to solve that problem? Thanks in advance Denis Kranjcec
No Subject
subscribe __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup
Subject: unsubscribe
Please remove me from your mailing list. -- Tony Daniello Phone: (301) 572-1694 System Support Engineer [EMAIL PROTECTED] Harbor Branch pager [EMAIL PROTECTED]
RE: Subject: unsubscribe
use the form at orionserver.com -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tony DanielloSent: 6. marts 2001 02:56To: Orion-InterestSubject: Subject: unsubscribePlease remove me from your mailing list. -- Tony Daniello Phone: (301) 572-1694 System Support Engineer [EMAIL PROTECTED] Harbor Branch pager [EMAIL PROTECTED]
No Subject
Dear group, I have noticed that if I restart an application to redeployI am no longer able to login into my site. What causes this...and is there a work around. I am using 1.2.9. Regards, Elephantwalker
No Subject
Hello! The EJBMaker has fundeamental bugs on my system. I can't read and write .skelton files and don't see some options shown in the tutorial. I tried EJBMaker form Orion1.4.5 and 1.4.0 with jdk 1.3 but it's the same effect. Can someone tell me, if I have to configure something (enviroment...)? Thanks! Andreas Schouten
No Subject
Hi, I'm trying to look for examples on MessageDrivenBean and i can't seem to find it at the orion website. Also, the latest downloadable version of orion server from "www.orionserver.com" is version 1.4.5. I gathered from the mailing list that most of you are already using version 1.4.7 ... Can someone please help me on this. Thank you. Regards, Pei Yen
(no subject)
hello everyone, I an new to use orion and this list. While using the ejb examples shipped with orion I faced a problem, I introduced the hello() method in one of the ejb, after deploying them, It showed me the error abstract method defined , and sometimes no such method found, when I removed the folder ejbexamples from the application deployment folder and redeployed it the problem vanished. Did any one faced the same problem... Does it mean we can not change the deployed ejb's... Please tell me if someone knows the answer... Rajan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
No Subject
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]
No Subject
I'm running 1.4.4 on Windoze 2000, and have an app composed of 2 ejb modules, 1 web module and 1 application client. In my development environment, everything deploys, the client app starts, finds it's jms services, and everything starts and runs. When I export everything to the filesystem (from VAJ) and try and run the system, it deploys .. but when the app client starts it falls over with:
No Subject
please unsubscribe
(no subject)
subscribe
No Subject
Hi everyBody Ihave already created an B2B.ear file now i want to deploytool it into orion server how do i do that in server.xml i have this application name = "B2B" path="B2B.ear" / and in default-web-site.xml i have this web-app application="B2B" name="war-ic.war" root="tmib2b" / when i start the server its gives me following error C:\orionjava -jar orion.jarError instantiating application at file:/C:/orion/config/B2B.ear: Unable to find/read assembly info for C:\orion\config\B2B (META-INF/application.xml)Orion/1.3.8 initialized can anybody tell me how to deploy when i have already made a ear file and want to deploy it in orion server Umesh Sonavane
No Subject
Hi, I have developed this online test software using jsp and java beans (not EJB's but simple java classes). The software takes a person from one question to next and scores and score counters are kept in a bean which is declared as the session scope. I have put two buttons to go to the next question on top of the page and the bottom of the page. Some times a person presses the upper next button before the complete question loads. What this does is that the bean processing for the current processing is left in an incomplete state, and starts the process for the next question. How can I enforce, that the whole bean and jsp page is executed before the processing for the next quesiton starts. I feel that it should be the web servers responsibilty to queue and sysnchronise. But it is ot doing suh. Thanks Naveed _ 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.
No Subject
Please un-subscribe me from this mailing list. Thanks. _ 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.
No Subject
Sorry, this is just a testing of how to post message here.
No Subject
Sorry, this is just a testing of how to post message here.
No Subject
A coworker and I are trying to create a servlet that will run on his computer under Tomcat. The servlet is attempting to lookup and use an EJB deployed on my computer under Orion. When the servlet performs the context object's lookup method (using the String literal "java:com/env/fungi"), we get the following exception displayed on his computer: "Exception: javax.naming.NamingException: java:comp/env namespace is only available from within the J2EE environment." A command-line client application run on the same coworker's computer IS able to successfully lookup the same EJB on my computer using the "java:com/env/fungi" String literal. We have been unable to find any documentation about the NamingException described above. If the message can be trusted, it appears as though our servlet is not perceived to be part of the "J2EE world". We are not sure why. Does anyone know anything that can help us? We would appreciate any assistance that can be given. Thank you. Mark McLain Systems Developer Sybron Laboratory Products Corporation
(no subject)
unsuscribe begin:vcard n:García López;Eduardo tel;cell:649.46.78.58 x-mozilla-html:TRUE org:FI2 adr:;; version:2.1 email;internet:[EMAIL PROTECTED] title:Director de Iniciativas de Comercio Electrónico. x-mozilla-cpt:;-26272 fn:Eduardo García López end:vcard S/MIME Cryptographic Signature
No Subject
Hi all, I have a urgent problem regarding EJB and servlet, I cannot find the home interface of the bean from the servlet (whereas a standalone client works very well)...Can anyone pls give me some hint as to what maybe be wrong here? Below is the background info, sorry, it is kind of long... My bean is called Stamp, the classes are stamp.ejb.Stamp - remote stamp.ejb.StampHome - home stamp.ejb.StampBean - bean class java.lang.String- primaryKey There are two applications deployed. stamps - the EJBs test - the servlets. My problem, I CANNOT get the bean in servlet :(( Here is my ejb-jar.xml ejb-jar description/description enterprise-beans entity description/description ejb-nameStamp/ejb-name homestamp.ejb.StampHome/home remotestamp.ejb.Stamp/remote ejb-classstamp.ejb.StampBean/ejb-class primkey-classjava.lang.String/primkey- class reentrantTrue/reentrant persistence-typeBean/persistence-type /entity /enterprise-beans assembly-descriptor security-role descriptionUsers/description role-nameusers/role-name /security-role method-permission descriptionRestricted/description role-nameusers/role-name method ejb-nameStamp/ejb-name method-name*/method-name /method /method-permission /assembly-descriptor /ejb-jar It works when I used standalone client, having this.. application-client display-nameStamp/display-name descriptionExample Bank/description ejb-ref ejb-ref-nameStampHome/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homestamp.ejb.StampHome/home remotestamp.ejb.Stamp/remote /ejb-ref /application-client However, it doesn't work when using servlets, I have this.. web-app display-nameTesting app/display-name servlet servlet-nameHelloServlet/servlet-name descriptionServlet that calls the Stamp bean/description servlet-classvc.web.HelloServlet/servlet-class /servlet servlet-mapping servlet-nameHelloServlet/servlet-name url-pattern/test/url-pattern /servlet-mapping !-- ejb-ref ejb-ref-nameStamp/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homestamp.ejb.StampHome/home remotestamp.ejb.Stamp/remote /ejb-ref -- /web-app Note that I have ejb-ref commented out, i had been told not to use ejb-ref in web.xml for my case, and I do a lookup on the global name of the bean, which is Stamp Object boundObject = context.lookup("Stamp"); but resulted in "javax.naming.NameNotFoundException: Stamp not found" I have also been told that maybe it is because I hace the EJB/servlets deployed sepearately as two apps. I initialised the context using... env.put (Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationIniti alContextFactory"); env put (Context.PROVIDER_URL,"ormi://p500.cheapdull.mine.nu/stamp"); env.put(Context.SECURITY_PRINCIPAL,"admin"); env.put(Context.SECURITY_CREDENTIALS,"123"); context = new InitialContext(env); (similar in the client as well, but use ApplicationClientInitialContextFactory instead) so does any one has any suggestion as to what amI doing wrong here? Thanks heaps in advance. :) Regards, James.
No Subject
karlhello karl: I see your clustering howto .It's great docs! but when i try to clustered two orion server ,i have some problem. three computers run's orion and loadbalancer also is: 1) nts 4 + sp6a ,IE 5.01 2)sun jdk1.3 + hotspot 2.0 server version, 3)orion version 1.3.3 and 1.3.5 4)in my lan have a proxyserver : winproxy version 3.0 r1i. when I cluster two server, the loadbalancer run and discovered two server (in one island 1) Run Orion Server : java -Dhttp.cluster.debug=true -Dcluster.debug=true -jar orion.jar Run loadbalancer : java -jar loadbalancer.jar -port 8080 -debug IP Address: loadbalancer : 172.23.128.160:8080 orion server 1 :172.23.128.191:8000 orion server 2 :172.23.128.192:8000 http proxyserver :172.23.128.5:8080 when use my broswer (IE 5.01) point to http://172.23.160.8080/ the loadbalancer's windows show the error: java.lang.ArrayIndexOutOfBoundsException at com.evermind.util.LongHashMap.cu(JAX) at com.evermind.server.loadbalancer.bu.jk(JAX) at com.evermind.server.loadbalancer.bu.i8(JAX) at com.evermind.server.loadbalancer.LoadBalancer.i8(JAX) at com.evermind.server.loadbalancer.bk.run(JAX) at com.evermind.util.f.run(JAX) but when my browser set http proxyserver ,then point http://172.23.160.8080/ then the loadbalancer's windows show : Routing connection from Proxyserver/172.23.128.5 to 172.23.128.191:8000 it seem ok ! and I shut down one orion server ,the browser can view the page, loadbalancer works right! And at this time,though set my browser don't use proxyserver , the connection seems ok,too.! the loadbalancer's windows show message: Routing connection from 172.23.128.160 to 172.23.128.191:8000 So I can't understand this .It seems that i must set IE use proxyserver first,then it can konw the route, If not ,ie can't know the route ,and the ArrayIndexOutOfBoundsException raise,why??? question 2 :I can't know greatly about multicast works,it seems that must have software or hardware on lan, then multicast can work. Is the loadbalancer.jar have this function ? or I must have another software like Resonate Dispatch SLB-now or some hardware the multicast and loadbalancer.jar can work right ? question 3 :Is orion 1.3.5 have new config in web.xml distributable/ ? Thanks a lot! chenbin [EMAIL PROTECTED]
(no subject)
When trying to connect to our own secure server using this code we get a SSLException saying that the cert chain is untrusted. The certificate in the server has been generated by verisign as a trial cert. We can't see the cipherSuite nor the certificate chain. The exception must be thrown in connection time. Is there any configuration stuff we haven't consider ?? Is there a problem in the client code ?? try{ System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); URL urls = new URL("https://our.own.server"); URLConnection con = urls.openConnection(); con.setAllowUserInteraction(true); HttpsURLConnection cons = (HttpsURLConnection) con; if (cons == null) System.out.println("La conexión el nula!!!"); System.out.println("Cypher Suite:" + cons.getCipherSuite()); cons.connect(); X509Certificate[] serverCerts = cons.getServerCertificateChain(); System.out.println("Certificados:" + serverCerts.length); for (int i = 0; i serverCerts.length; i++) { System.out.println(serverCerts[i].toString()); } System.out.println("Headers:" + con.getHeaderFieldKey(0)); BufferedReader reader = new BufferedReader(new InputStreamReader(con.getInputStream())); String line = reader.readLine(); while (line != null) { System.out.println(line); line = reader.readLine(); } } catch (SSLException e) { System.out.println("Excepción SSL: " + e.toString()); } catch (Exception e){ e.printStackTrace(); }
No Subject
unsubscribe
No Subject
unsubscribe
No Subject
Joseph, Orion Team, et al, Greetings! Perhaps you remember me from Orion's mail list EJB-INTEREST? I am trying to figure out how to implement/modify/leverage the security infrastructure for orion (I have just checked out DataSourceUserManager), and I wondered if you know something about it-- It seems that class does what I need from Orion (using a DB for the UserManager), but can't find out how to configure it Please help me, I'm desauciated! Warm Regards, - Juan Pablo Lorandi Programmer Development Area - Production Department [EMAIL PROTECTED] http://www.amtec.net Amtec.net - The eBuilder Company of LatinAmerica = Este e-mail contiene informacion que puede resultar confidencial y privilegiada. Si Ud. no es el destinatario (o no está autorizado por el destinatario) no puede usar, copiar, reenviar o dar a conocer a nadie este mensaje o cualquier información contenida en el mismo. Si Ud. recibió este e-mail por error, por favor comuniqueselo al remitente reenviandoselo a la direccion original (@amtec.net), y borre este material de todas las computadoras. Muchas Gracias. This e-mail contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail @amtec.net, and delete the material from any computer. Thank you very much. =
No Subject
Can anybody please tell ehow to unsubscribe? Thanks! Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere!
No Subject
HI again, i still cannot start my client from the console, though it works in forte (and i tried any combination of the jars, believe me...). This time (on a linux box, same as the server, jdk 1.2.2 sun final, green threads, javacomp), the exception differs and in the working directory remains a file named __Proxy1.class. I remember that some time ago i had already seen this mysterious class. I tried to decompile it, but the decompiler crashes. Maybe the class is corrupt/malformed (see attachment)? In conjunction with this, i'd like to have answers to some questions: 1. What is the purpose of this class? 2. Who does generate it? orion or jndi? 3. Does it get generated on every client's start? 4. Must a client have write access to the working directory in order to work? 5. What can i do to get rid of this problem? 6. If happens an error while generating this class, where will it be reported if ever? Please help us, it's really driving us crazy (and forte consumes to much memory to be used just as a "client launcher platform" :). Here's the exception: java.lang.VerifyError: (class: __Proxy1, method: clinit signature: ()V) Accessing value from uninitialized register 0 at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at com.evermind.reflect.Proxy.am3(JAX, Compiled Code) at com.evermind.reflect.Proxy.am2(JAX, Compiled Code) at com.evermind.reflect.Proxy.am0(JAX, Compiled Code) at com.evermind.server.rmi.bb.g4(JAX, Compiled Code) at com.evermind.server.rmi.a8.resolveObject(JAX, Compiled Code) at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code) at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code) at com.evermind.server.rmi.a8.gi(JAX) at com.evermind.server.rmi.bb.ht(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Thread.java:475) java.lang.NullPointerException at com.evermind.reflect.Proxy.am2(JAX, Compiled Code) at com.evermind.reflect.Proxy.am0(JAX, Compiled Code) at com.evermind.server.rmi.bb.g4(JAX, Compiled Code) at com.evermind.server.rmi.a8.resolveObject(JAX, Compiled Code) at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code) at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code) at com.evermind.server.rmi.a8.gi(JAX) at com.evermind.server.rmi.bb.ht(JAX) at com.evermind.server.rmi.bb.run(JAX) at java.lang.Thread.run(Thread.java:475) Exception in thread "main" java.lang.InstantiationError: No location specified for ejb-ref NMejbBase at com.evermind.server.Application.amo(JAX) at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext (JAX) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250) at javax.naming.InitialContext.init(InitialContext.java:226) at javax.naming.InitialContext.init(InitialContext.java:182) at de.netmedia.ejb.interfaces.NMejbConnection.getInitialContext(NMejbConnection .java:145) at de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:173) at de.netmedia.ejb.interfaces.NMejbConnection.getHome(NMejbConnection.java:217) at de.netmedia.ejb.interfaces.NMejbConnection.getAccess(NMejbConnection.java:31 3) at de.netmedia.ejb.base.hashserver.NMejbHashServerExec.main(NMejbHashServerExec .java:116) Regards, Jens Stutte [EMAIL PROTECTED], http://www.netmedia.de NetMedia GmbH Neugrabenweg 5-7 66123 Saarbruecken Germany fon: +49 (0) 681 - 3 79 88 - 0 fax: +49 (0) 681 - 3 79 88 - 99
No Subject
unsubsribe
No Subject
Guys.. I can't properly set up my db conn with my Oracle 8.1.5 DB Here's it: ?xml version="1.0"? !DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd" data-sources !-- An example DataSource that uses an ordinary JDBC-driver to create the connections, to install; set the proper URL to the db, specify the db-driver name and unrem the below section. This creates all the needed kinds of data-sources, transactional, pooled and EJB-aware sources. -- !--data-source name="Default data-source" class="com.evermind.sql.ConnectionDataSource" location="jdbc/DefaultDS" pooled-location="jdbc/DefaultPooledDS" xa-location="jdbc/xa/DefaultXADS" ejb-location="jdbc/DefaultEJBDS" url="jdbc:odbc:EJB" connection-driver="sun.jdbc.odbc.JdbcOdbcDriver" username="xxx" password="yyy" /-- data-source name="SEDS" class="com.evermind.sql.ConnectionDataSource" location="jdbc/SEDS" pooled-location="jdbc/PooledSEDS" xa-location="jdbc/xa/XASEDS" ejb-location="jdbc/EJBSEDS" url="jdbc:oracle:thin:@192.168.2.187:1521:DB0009" connection-driver="oracle.jdbc.driver.OracleDriver" username="PRODU" password="PRODU" schema="database-schemas/oracle.xml" / data-source name="SessionDS" class="com.evermind.sql.ConnectionDataSource" location="ejb/SessionDS" pooled-location="ejb/PooledSessionDS" xa-location="ejb/XASessionDS" xa-source-location="ejb/XASSessionDS" ejb-location="ejb/EJBSessionDS" url="jdbc:oracle:thin:@192.168.2.187:1521:DB0009" connection-driver="oracle.jdbc.driver.OracleDriver" username="PRODU" password="PRODU" schema="database-schemas/oracle.xml" / /data-sources The schema is the one that ships with orion what's worng with this? anyone had problems with CMP and oracle TIA Rifle
No Subject
I have a shared partition for Java source and class files (directory is a shared Samba directory, which is mapped to a partition under NT). Compiling and running Java programs with JDK (javac and java) works fine. But Orionserver has problems running Java classes which reside on that shared partition. Error report from JSP-page compilation: Syntax error in source __jspPage2_project_project_jsp.java:7: Ambiguous name: fi is both a class and a package. import fi.infomates.project.*; If I copy the contents of that shared partition to a local drive everything works just fine. Does Orion access disk resources somehow differently? It's the only program having difficulties with that mapped partition. Aleksi Kallio Infomates Software Technologies
No Subject
I have the Orion 1.1.8 application server running. I have a ProfileBean which stores profile information. In a jsp I have: jsp:useBean id="profile" class="ProfileBean" scope="session" / and input fields for user input. The form action posts the data to another jsp which has: jsp:useBean id="profile" class="ProfileBean" scope="session" %jsp:setProperty name="profile" property="*" /% /jsp:useBean however this does not set the properties in the bean. The setProperties methods of the bean are all correct. If the scope of the bean is changed to 'request' for both jsps the properties are correctly set and everything is fine. Does anyone have ant ideas why the scope="session" should be preventing the properties from being set ? thanks in advance tom saffell APAMA
No Subject
I just downloaded orion.jar from www.orionserver.com/orion/orion.jar Now I can shutdown thanks guys!! - Juan Pablo Lorandi Programmer Development Area - Production Department [EMAIL PROTECTED] http://www.amtec.net Amtec.net - The eBuilder Company of LatinAmerica = Este e-mail contiene informacion que puede resultar confidencial y privilegiada. Si Ud. no es el destinatario (o no está autorizado por el destinatario) no puede usar, copiar, reenviar o dar a conocer a nadie este mensaje o cualquier información contenida en el mismo. Si Ud. recibió este e-mail por error, por favor comuniqueselo al remitente reenviandoselo a la direccion original (@amtec.net), y borre este material de todas las computadoras. Muchas Gracias. This e-mail contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail @amtec.net, and delete the material from any computer. Thank you very much. =
No Subject
unsubscribe
No Subject
unsubscribe
No Subject
signoff JSP-INTEREST
No Subject
signoff JSP-INTEREST
No Subject
HELLLO EVERYBODY I HAVE THE PROBLEM WITH BASIC JAVA . CAN ANYONE HELP ME.. I WANT TO CONEECT "MSWORD.EXE" WITH JAVAPROJECT MEANS IF I CLICK ON BUTTON "CONNECT" .. MS WORD WILL OPEN . CAN ANYONE SEND ME A CODE . PLZ HELP ME.. UR BINNI -- Mark your important mails, only at http://mail.indiainfo.com The online fun store http://toys.indiainfo.com
No Subject
unsubscribe __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
No Subject
Hi there, new Orion user here. I installed Orion today to use the JMS implementation. I tried to run the demo code (JMSChat) and it won't compiler. It complains that EvermindTopicConnection is an abstract class. Looking at the class file, I see 4 abstract methods. g1, g2, g3, g4 and run. I might figure out how to implement run, but g1-4 are a complete mystery. Any suggestions?
No Subject
unsubscribe [EMAIL PROTECTED] winmail.dat
No Subject
unsubscribe