Strange Servlet error...
I have a problem with my servlets I have an applet that communicates with a Servlets, but I keep getting a FileNotFoundException the Servlet is supposedly not found. But I see that the servlet's Init method is actually called. So I don't understand what is the problem...the servlet's init is called, but the applet doesn't find the servlet? Plus, my web.xml looks fine. The funniest thing, I used the same servlets with session beans and it worked fine...now with the Entity bean it doesn't work anymore??? here;s the servlet part in my WEB-INF/web.xml servlet> servlet-name>ProjectManagerServlet/servlet-name> display-name>ProjectManagerServlet/display-name> description>no description/description> servlet-class>com.fibro.project.ejb.servlets.ProjectManagerServlet/servlet-class> /servlet> Every class is there, in WEB-INF/classes/ and here's the applet error stack trace: java.io.FileNotFoundException: http://localhost:8080/phi/servlet/ProjectManagerServlet at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:545) ... ... ANyone got a clue of what's going on? I've been trying to figure out what's wrong, but nothing seems wrong. Especially that i've sucessfully used servlets before in the same way... thanks Alex -- Alexandre J. Boudreau CEO, CTO Fibro Movement corp. email: [EMAIL PROTECTED] www : http://www.fibromovement.com --
Re: Table creation error...access denied
My mistake I had removed the ADMIN keyword after the CREATE USER SA PASSWORD "" in the script file! thanks to all [EMAIL PROTECTED] wrote: What happens when you try SQLPLUS? Or whatever database server you using? Looks like possible database access writes issue. What database server are you using? On Wed, 26 Jul 2000, Alexandre J. Boudreau wrote: Hi, I'm having problems with the deployement of my Entity bean (container managed). I get the following error: --- Auto-deploying ejb-jar-ic.jar... SQL error: Access is denied in statement [SELECT * FROM SYSTEM_TABLES WHERE TABLE_NAME LIKE '%'] Auto-creating table: create table PhiManager (pk longvarbinary not null primary key) Warning: Error creating table: Access is denied in statement [create table PhiManager (pk longvarbinary not null primary key)] done. Orion/1.1.4 initialized -- Why do I get the access denied?? I put the same user and password as I set in data-sources.xml !! thanks Alex -- Alexandre J. Boudreau CEO, CTO Fibro Movement corp. email: [EMAIL PROTECTED] www : http://www.fibromovement.com -- -- Alexandre J. Boudreau CEO, CTO Fibro Movement corp. email: [EMAIL PROTECTED] www : http://www.fibromovement.com --
Re: HOWTO... posted
Hi Kirk, well I've posted your HOWTO on my site, and started doing a little orion info site at the same time. I wasn't aware of orionsupport.com, but I guess it can't hurt to have another site. So what i'll do is link to it. If that's ok with Joseph Ottinger! :) here's the url: http://www.fibromovement.com/j2ee/orion/ nothing too fancy, with a little design. cheers! Alex Alexandre J. Boudreau CEO CTO Fibro Movement Corp. email: [EMAIL PROTECTED] web : www.fibromovement.com BEGIN:VCARD VERSION:2.1 N:Boudreau;Alexandre;J. FN:Alexandre J. Boudreau ORG:Fibro Movement TEL;WORK;VOICE:514-575-1580 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:2224T064224Z END:VCARD
Orion info site
Btw, if anyone else has some info they would like to post, might as well make an orion information site. It would be my pleasure to host this information site. If anyone is interested in this, suggestions are welcome. Alex Alexandre J. Boudreau CEO CTO Fibro Movement Corp. email: [EMAIL PROTECTED] web : www.fibromovement.com BEGIN:VCARD VERSION:2.1 N:Boudreau;Alexandre;J. FN:Alexandre J. Boudreau ORG:Fibro Movement TEL;WORK;VOICE:514-575-1580 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:2224T064224Z END:VCARD
applet - servlet - ejb
Hi, I'm trying to have an applet communicate with a servlet which in turn communicates to an ejb, than back to the servlet and back to the applet. But i'm having problems with the deployement. How do I get the applet to find the servlet in the application's directory? First of all, if I put the servlet in the "/servlets" directory or in the "/default-web-app/WEB-INF/classes" directory and modify the web.xml for the latter, then the applet can find the servlet without any problems. But if i do that, it seems that the servlet can't locate the deployed application (ejb's) which is in the "/applications/myapp" directory. Bascially, I'm confused on where i should put the servlet, since if I deploy my application, the war is autamatically extracted in the application's "war-ic" subdirectory. But in this case, I don't know how to communicate with the servlet residing there, from my applet which is in the default-web-app directory! It's just really not clear on how I should deploy my application and what lookup name I should use. For the servlet in the /servlets or default-web-app/WEB-INF/classes, from my applet i connect through http at the location /servlet... any help would be very appreciated. thanks Alex
JNDI lookups
Hi everyone, this might have been asked before, but I have a question regarding JNDI lookups. I tried the ConverterApp example that is in the J2EE Developer's Guide (Getting Started). So I used the J2EE deploytol and then deployed the ear in orion. In order to run the application Client I need to put both the client-jar and the EJB-jar in the classpath: CPATH=.;%ORION_HOME%\orion.jar;%ORION_HOME%\ejb.jar;%ORION_HOME%\jndi.jar;ap p-client-ic.jar;ejb-jar-ic.jar java -classpath %CPATH% ConverterClient If I don't put the ejb-jar in the classpath, the client doesn't run. So in this sense, it seems that the JNDI name lookup doesn't work!? Then how would I go about running a remote client that communicates with the ejb if such lookup doesn't work? It's possible that I misunderstood something. So any comments would be appreciated. thanks regards, Alex Alexandre J. Boudreau President, Directeur de Projets Fibro Movement Corp. BEGIN:VCARD VERSION:2.1 N:Boudreau;Alexandre;J. FN:Alexandre J. Boudreau ORG:Fibro Movement TEL;WORK;VOICE:514-575-1580 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:2224T064224Z END:VCARD