Re[2]: Debugging servlets
> It is very similar to debugging EJBs as described on > www.orionsupport.com, but you need to have the directory under which the > servlets are deployed in your classpath. When I put breakpoints in servlet orion falls in initializing InitialContext with NullPointerException. Best regards, Stanislav Bernatsky
global application and mail
I have a problem that I hope isn't not normal behavior and something I have configured incorrectly. Snip of my sever.xml: --> In mydomain-application.xml, I have: (note that this is my global application) value="[EMAIL PROTECTED]" /> value="[EMAIL PROTECTED]" /> Now I want to also place the same mail session entries in each of my clients application.xml files except specifying their domain: value="[EMAIL PROTECTED]" /> value="[EMAIL PROTECTED]" /> I have a FormMailServlet that I install on all my clients web.xml files which uses mail.jar classes send the email. My problem is it doesn't matter which one I go to, Orion always uses my mail-session entries from the global application. It doesn't seem to get over written for each other application. I also tried to explicitly set the mail server in my FormMailServet to what is passed in. I pass in mail.Client1Domain.com and inside my class I do the following: properties.put( "mail.smtp.host", "mail.Client1Domain.com"); properties.put( "smtp-host", "mail.Client1Domain.com"); // Not needed as far as I know I also turn verbose on so I can see what is happening. It always uses mail.mydomain.com! If I comment out the mail-session entries from my global application xml then it works fine as long as I pass in the value and explicitly set the mail.smtp.host as above. In other words, it seems to ignore the mail-session in the Clientxxx-application.xml files as I pointed the smtp-host entry in one of the application.xml files to an existing server, but a different one. When I explicitly set the entries it uses the entries I set, not the mail-session entries. Seems to only use the mail-session entries only if in the global application xml file and no where else. When in the global application xml file, it seems you can only use that one even if I explicitly set it to a different one. What gives? Sorry for the long email, but I wanted to be sure to give all the data. Dale Bronk[EMAIL PROTECTED]Windscape Consulting, Inc.http://www.windscape.comMobile: 404-918-2766Office: 770-754-0498
Orion as a Proxy for a full website
Hi All, Can I setup Orion to serve the content for website 1 & website 2, but pass requests for website 3 over to another [internal] webserver [ie act as a proxy] which does not have an external IP address. Kind Regards Neville Burnell Business Manager Software
Use of the Plug-in 1.3 from Sun with an Orion EJB.
Hello everyone! Has anyone tried to use a plug-in solution to convert a EJB-client-JavaBean into an ActiveX-control object with Orion? We will consider this solution: ---COM--- --ORMI/IIOP--- Everything works out nice, except for one crucial point: com.dewire.common.messaging.MessagingException: Unable to locate home interface for a class __Proxy1 at com.dewire.common.messaging.MessageSenderImpl.createInstance(MessageSenderImpl.java:398) at com.dewire.common.messaging.MessageSenderImpl.send(MessageSenderImpl.java:324) Nested exception : java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) at com.dewire.common.messaging.MessageSenderImpl.createInstance(MessageSenderImpl.java:390) at com.dewire.common.messaging.MessageSenderImpl.send(MessageSenderImpl.java:324) This exception seems to occur *only* when trying to run the plug-in setup, it never occurs in a regular client setup (e g using startup in a EJB client JAR). The platform chosen is: JDK 1.3, Orion 1.2.0, Win98, Plug-in from Sun 1.3.0. The plug-in has been setup (through the control panel) to use the JDK runtime environment (1.3). What exactly is the "__Proxy1" class which I retreive in the JNDI lookup? Is the use of the "com.sun.corba.se" an indication of use of an incorrect SPI for underlying network communication? Excerpt from the client code (where the exception is thrown): Object objRef = null; try { objRef = initial.lookup ("java:comp/env/ejb/"+ location); } catch (NamingException e) { throw new MessagingException (e, "Cannot resolve ejb name"); } RemoteMessageSenderHome home = null; Throwable t = null; try { home = (RemoteMessageSenderHome) objRef; } catch (ClassCastException e) { t = e; try { home = (RemoteMessageSenderHome) PortableRemoteObject.narrow(objRef, RemoteMessageSenderHome.class); } catch (ClassCastException f) { t = f; } } if (home == null) throw new MessagingException (t, "Unable to locate home interface for a " + objRef.getClass().toString()); // Always happens in plug-in. else System.out.println ("Successfully resolved a " + objRef.getClass().toString()); // Always happens when not running Plug-in Any tips regarding these matters would be greatly appreciated. I have plunged into different mail lists and news archives with no success. /August