Thank you Margaret,
but it would seem that MySQL is using Port 3306 and Tomcat is using 8080. So
I am still a bit lost by this error and I am seriously running out of
time!!.
FATAL:java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
> at java.net.ServerSocket.<init>(ServerSocket.java:170)
> at java.net.ServerSocket.<init>(ServerSocket.java:121)
> at
>
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
>
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.
> java:186)
> at
>
org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1
> 42)
> at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
----- Original Message -----
From: "Margaret Fisk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 5:04 PM
Subject: Re: Fatal error
> We ran into this problem with our Oracle/Java connections. Basically,
tomcat
> defaults to
> using port 8080 and there is something else on the server (possibly a
> database service) that
> is also binding port 8080. There are two ways around this. You can change
> the port (8090 should work) in the server.xml
> file in the conf folder or you can shut off the service that is
conflicting.
>
> -----Original Message-----
> From: andrew tollin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 9:02 AM
> To: [EMAIL PROTECTED]
> Subject: Fatal error
>
>
> Hello,
>
> I am trying to run a servlet in JBuilder4 that connects to MySQL server
with
> JDBC. The data abstracted from the database is then output using Apache
> Tomcat! However when i try to run the servlet I get this fatal error, any
> ideas?
>
> Starting tomcat install="C:/jakarta-tomcat" home="C:\jakarta-tomcat"
>
classPath="C:\WINNT\Profiles\atollin\jbproject\JDBCServletEx1\classes;C:\jak
>
arta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomc
>
at\lib\xml.jar;C:\jakarta-tomcat\lib\webserver.jar;C:\mm.mysql.jdbc-1.2b\mys
>
ql_comp.jar;C:\mm.mysql.jdbc-1.2b\mysql_uncomp.jar;C:\mm.mysql.jdbc-1.2b;C:\
>
Jbuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\Jbuilder4\jdk1.3\jre\lib\i
>
18n.jar;C:\Jbuilder4\jdk1.3\jre\lib\jaws.jar;C:\Jbuilder4\jdk1.3\jre\lib\rt.
>
jar;C:\Jbuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\Jbuilder4\jdk1.3\lib\dt.ja
> r;C:\Jbuilder4\jdk1.3\lib\tools.jar"
> FATAL:java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
> at java.net.ServerSocket.<init>(ServerSocket.java:170)
> at java.net.ServerSocket.<init>(ServerSocket.java:121)
> at
>
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
>
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEndpoint.
> java:186)
> at
>
org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector.java:1
> 42)
> at org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>
> ----- Original Message -----
> From: "Rohit Dhiman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 4:28 PM
> Subject: Instantiate a bean in a servlet
>
>
> > Dear all,
> >
> > can anybody tell me how to instantiate a bean in a servlet.I have made
> some
> > java bean classes and i want to use the methods of these bean classes
> inside
> > my servlet which further connects to a database using JDBC.
> >
> >
> > thanks
> >
> > Rohit
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html