Sorry, I know that is not the place to ask this, but I noticed
a bug with Oracle JDBC thin driver retrieving a LONG from the base.
Do anyone knows a bugix or any other way to retrieve a LONG
without using getObject() or getString()?
Alan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: JRun-Talk <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 8:34 AM
Subject: RE: Trouble running a bean.
> Can anybody give me the exact syntax of connecting to a database
configured
> in the JRUN JDBC datasource settings?
> Also the regular way of connecting to a database through JDBC....currently
i
> am using this code and am getting a null pointer exception.
>
> Class.forName("oracle.JDBC.driver.OracleDriver");
>
> con =
> DriverManager.getConnection("jdbc:oracle:thin:@132.146.186.177:1521:orcl",
> "username", "password");
>
> Thanks in advance,
> -Krishna.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 05 December 2000 00:22
> To: JRun-Talk
> Subject: Re: Trouble running a bean.
>
>
> I am also new to Jrun so I don't know if other directories might be better
> for one reason or another,
> but I put my beans in the JRun\servers\default\lib directory, and didn't
> need to refer to the path in any explicit way.
>
> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > I am new to JRUN and am having trouble running a jsp file that calls a
> bean.
> > I am getting a no class def found error. I have not been able to figure
> out
> > the reason why this is not working.
> >
> > I have saved my jsp file in the deffault-app directory in the servers
> > directory in jrun-root and the bean in the default-app/web-inf/classes
> > directory.
> >
> > the error is as given below:
> >
> > 500 Internal Server Error
> > /Automation.jsp:
> >
> > javax.servlet.ServletException: Exception thrown processing JSP page.
> > java.lang.NoClassDefFoundError: AutomationBean [AutomationBean]
> > at jrun__Automation2ejspf.class$(jrun__Automation2ejspf.java)
> > at
> > jrun__Automation2ejspf._jspService(jrun__Automation2ejspf.java:42)
> > at
allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
> > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> > at
> >
>
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
> > )
> > at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:175)
> > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> > at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> > at
> >
>
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
> > a:88)
> > at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> > at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> > at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
> > at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
> > at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
> >
> > Can anybody help me with this. Is it something to do with the class-path
> > settings?
> >
> > Thanks
> > -Krishna
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Your ad could be here. Monies from ads go to support these lists and
> provide more resources for the community.
> http://www.fusionauthority.com/ads.cfm
> >
> > Archives: http://www.mail-archive.com/[email protected]/
> > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Your ad could be here. Monies from ads go to support these lists and
provide
> more resources for the community. http://www.fusionauthority.com/ads.cfm
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Your ad could be here. Monies from ads go to support these lists and
provide more resources for the community.
http://www.fusionauthority.com/ads.cfm
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists