Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!

amit bhadre

Ranch Hand
+ Follow
since Jan 23, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by amit bhadre

David Newton wrote:What specific problem are you having? What version of Java are you running? Why are you running such an old Eclipse?


1. Which version of Eclipse do you recommend to use? And please provide the link.
2. Also Which version of Java you recommend to use? Sir,



I could not able to run the Tomcat into Eclipse, How to configure it?



Thanks advance who ever answers this question.


regards
amit bhadre
When I want to run the Tomcat server 4.1: I am getting following error:


Syntax error
Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 4.1\te
mp
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_14
Access is denied.

PLease tell me the solution...

Thanks advance...

amit bhadre
13 years ago
I am getting the error as :

Syntax error
Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 4.1
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 4.1
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 4.1\te
mp
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_14
Access is denied.


and OS is Windows 98.

Thanks advancely.
13 years ago
1> I am getting the error as follows and how to solve this error?
Invalid switch- -Djava.endorsed.dirs

2> How to make heap memory increase of tomcat 5.5 server?

Thaning you in advance...

regards
amit bhadre
13 years ago

I recieved following error
----------------------------------------------
Out of environment space
The BASEDIR environment variable is not defined.
This environment variable needs to run this program
Ivalid switch
Out of environment space
Out of environment space
Out of environment space
Sytax error
Using CATALINA_BASE:
Using CATALINA_HOME:c:\apache-tomcat-5.5.25
Using CATALINA_IMPDIR:
Using JRE_HOME:c:\Program Files\Java\jre1.5.0_14
Out of environment space
Out of environment space
Bad command or file name
---------------------------------------------------------

This is the error which I recieved now please anybody tell me to solve the problem as soosn as possible

Thanking you in Advance....
13 years ago
Yes I created DSN as told by discussion.Still its not connecting? Whats might be the problem...Is it CLASSPATH variable problem or any other?



thanking in advance...


I am getiing above said error. Saying SQLException...


Thanking in advance...


[BSouther: Added UBB CODE tags]
[ April 09, 2007: Message edited by: Ben Souther ]
Yes Its typing mistake use:Bean ...it should be <jsp:useBean>


Thank you....
13 years ago
JSP
Hi,

I am getting JasperException when I want to call by useBean.

code:

<use:Bean id="db" class="com.mob.JdbcConnectionBean" scope="page"/>


<%
Connection con=null;
try{
con=db.connectionCreate();
}
catch(Exception e)
{
out.println(e);
}
%>

In connectionCreate is method:
class JdbcConnectionBean{
Connection con=null;
public Connection connectionCreate() throws Exception,SQLException
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
con=DriverManager.getConnection("jdbc:odbc:MobileX","user","user");
return con;

}
}


I am using Tomcat5.0.1 and JDK 1.5.

How to solve this ?
[ April 07, 2007: Message edited by: amit bhadre ]
13 years ago
JSP
No I have'nt used type 4 driver...how to use type 4 driver ot jTDS?

please tell me the solution?


thanks in advance....


regards
amit bhadre
I used "sun.jdbc.odbc.JdbcOdbcDriver"

Now I got result as Driver is loaded.

Problem I now getting is Connction con=DriverManager.getConnection("jdbc:odbc:MobileX");

In this line connection is not happening to SQL server.I used MobileX as Data Source Name and connecting to MobileX Data Source in sql server.
what is the solution?
I am unable to connect to Microsoft Driver.....

Its giving the error as a cannot find the DNS name even though I connected to Microsoft driver by giving the name as MobileX. Its not connecting.

I loaded the driver by Class.forName("sun.odbc.jdbc.OdbcJdbcDriver");

And While in conn=DriverManger.getConnection("jdbc:odbc:MobileX");

Here MobileX is the DNS name.


Its throwing exception as SQLException. I catched But could not find the solution.


thanks in advance


regards
amit bhadre
I got the error saying that

Internal server error()

ServletException:The retrieval for the bean is null


what is the cause for this? What is the solution for the above type of Exception in Struts1.1?



What I did is I created one action class.Next I created LoginForm with bean password and name.Then Login.jsp page is been created.But When I deployed the page ...Its giving the error saying above error.

thanks in advance

regards
amit bhadre
13 years ago
How to Handle NullPointerException in JSP?
14 years ago
JSP