Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> JDeveloper: acmevideo example problem
Hi, All!
I have JDeveloper 3.0 installed on NT Workstation 4.0.
I've tried acmevideo example. Registration in database is ok.
The problem arise when I try to login with the name and login
registered.
The error message is:
Invalid Userid
Please Try Again... trans_id = 2c8856:dc0e08b2ae:-8000 userid= A1 password = A1 message = profile acmevideo.business.Rentals_SJProfile0 not found: java.io.InvalidClassException: [Ljava.lang.Object;; Serialization incompatible with Externalization
The file Rentals_SJProfile0.ser exist in folder
../myclasses/acmevideo/business/
Java script Rental.java translated from Rental.sqlj contains class
declaration:
private Rentals_SJProfileKeys()
throws java.sql.SQLException
{
keys = new java.lang.Object[1];
keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader,
"acmevideo.business.Rentals_SJProfile0");
}
}
where function getProfileKey loads profile with given name and loader.
The JDeveloper log:
System Output: log3: acmevideo.servlet.WebAppServlet: init System Output: log3: DB_USERID = acme System Output: log3: MAIL_SERVER = mail.cmtk.net System Output: log3: imageURL = /../html/ System Output: log3: DB_CONNECT_STRING =jdbc:oracle:thin:@127.0.0.1:1521:ALEXBUZ System Output: log3: DB_PASSWORD = acme System Output: log3: webAppURL =
System Output: log3: at
sqlj.runtime.ref.ProfileGroup.getProfileKey(ProfileGroup.java:55)
System Output: log3: at
sqlj.runtime.ref.DefaultContext.getProfileKey(DefaultContext.java:46)
System Output: log3: at
acmevideo.business.Rentals_SJProfileKeys.<init>()
System Output: log3: at
acmevideo.business.Rentals_SJProfileKeys.getKey()
System Output: log3: at
acmevideo.business.Rentals.beginRental(Rentals.sqlj:156)
System Output: log3: at
acmevideo.html.RentalTransaction.beginRental(RentalTransaction.java:150)
System Output: log3: at
acmevideo.html.WebApp.beginRental(WebApp.java:996)
System Output: log3: at
acmevideo.servlet.WebAppServlet.doPost(WebAppServlet.java:292)
System Output: log3: at
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
System Output: log3: at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
System Output: log3: at
oracle.lite.web.JupServlet.service(JupServlet.java:126)
System Output: log3: at
oracle.lite.web.AppServletHandler.handle(AppServletHandler.java:81)
System Output: log3: at
oracle.lite.web.JupApplication.service(JupApplication.java:236)
System Output: log3: at
oracle.lite.web.JupAppHandler.handle(JupAppHandler.java:81)
System Output: log3: at
oracle.lite.web.HTTPServer.include(HTTPServer.java:129)
System Output: log3: at
oracle.lite.web.HTTPServer.forward(HTTPServer.java:90)
System Output: log3: at
oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:234)
System Output: log3: at
oracle.lite.web.JupServer.handle(JupServer.java:426)
System Output: log3: at
oracle.lite.web.JupHTTPListener$JupHTTP.run(JupHTTPListener.java:140)
How have I build and make binaries to avoid this?
Any help would be appreciated!
Alex Received on Mon Dec 13 1999 - 18:02:36 CST
![]() |
![]() |