Win a copy of Terraform in Action this week in the Cloud forum!

Tusshar Fasate

Ranch Hand
+ Follow
since May 21, 2008
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tusshar Fasate

Thanks for reply.
Actually I think there was some problem with my eclipse set up.
I reinstalled eclipse with lastest version and my problem disappreared..
10 years ago
Hi ,
I am getting above exception.I have stuck on this since last 2 days.Please help me out.
Versions are
tomcat 5.5,
servlet 2.3,
jsp 1.2

same thing is working on one machine and we are trying to create a replica on the other machine.But its giving this nasty error.
Stacktrace is as follows,

at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(
at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(
at org.apache.jasper.compiler.Parser.parseTaglibDirective(
at org.apache.jasper.compiler.Parser.parseDirective(
at org.apache.jasper.compiler.Parser.parseElements(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.ParserController.doParse(
at org.apache.jasper.compiler.ParserController.parse(
at org.apache.jasper.compiler.Compiler.generateJava(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.compiler.Compiler.compile(
10 years ago
Thanks folk for your replies.
Yes I dont need to use www in LAN.
Currently my machine name is PUNIB8924
and url i write for my application is
and I want to make it like http://RGT
How can I do it through DNS?
11 years ago
Paul,What do you mean by host file?
Suppose my machine is in LAN and others will access my application by that name.(like
11 years ago
Thanks David for reply.
Suppose I dont want to put my application on internet.
I want to do it on my machine only.
So How can I do that?
11 years ago
Hi All,
I have developed one java based application.Now I want to give some user friendly name to that application so How can I do this?

I want to make it

Help required on this.
11 years ago
I got the solution on this.
URL should be like this

I was doing like
jdbc:sqlserver://LTIB322\SQLEXPRESS;Database=RGT_DEV1 or


Now its working.
But I couldnt understand why it was giving error related to TCP/IP.
It should be somewhat like unknown host some thing.
Ok....I am happy as my problem got solved.

Thanks folk for replying to my thread.
Can somebody suggest me the connecting string(URL) for SQL server 2008?
Will it be different for 2005 and 2008?
And please share driver name also.
Thanks in advance.
Thanks for reply.
SQl server instance is working on host.I can connect it through management studio.
I think this is problem with some setting of sql server.
Please suggest some solution related that.
I dont know this is the right forum to put this problem.
I have been facing this problem since long time whenever I try to connect to sql server from java but managed somehow to solve this many times.
But I dont know the exact reason behind this.I am not getting solution this time.
If somebody can help me on this then his/her help will be highly appreciated.
I have enabled TCP/IP of configuration manager.
The exact stack trace is as follows, The TCP/IP connection to the host LTIB322/SQLEXPRESS, port 1433 has failed. Error: "null. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.jpmc.common.dao.SqlDAOFactory.createConnection(
at com.jpmc.user.dao.UserDAO.fetchProject(
at com.jpmc.schedular.SchedularPreRequisite.getProjectListWithReports(
at com.jpmc.schedular.ReportsGenWithCronSchedular.init(
at javax.servlet.GenericServlet.init(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.startup.HostConfig.deployWAR(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.check(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at org.apache.catalina.manager.ManagerServlet.check(
at org.apache.catalina.manager.HTMLManagerServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11AprProcessor.process(
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
at Source)
Thanks a lot Pramod and Martin for your quick reply...
one small correction ..

String strArr[]=str.trim().split("$");
instread of this // String strArr[]=str.trim().split("//$");

please help me.
I am trying to split a string by $ ..but I am not getting desirable output.
here is my code..

strArr:0 element ->Fri Jul 16 16:01:23 IST 2010 $ sds
Run successfully..

Please help me out on this.