Search This Blog

Showing posts with label Exception. Show all posts
Showing posts with label Exception. Show all posts

Thursday, October 29, 2015

Solved : Problem accessing /solr/gettingstarted/update. Reason: Not Found , Powered by Jetty:

Recently when i was setting up solr version 5 .. i was trying to load the examples doc given with the package  :

I was facing following error which was due to missing core into Solr when i followed steps given in
the solr document :



Run following commands to post data successfully  to solr with version 5.0 on windows machine


:bin>solr start
:bin>solr create -c gettingstarted
:exampledocs>java -Dc=gettingstarted -jar post.jar *.xml


Cheers
Kapil


Wednesday, September 23, 2015

Solved : ERROR: HHH000231: Schema export unsuccessful java.sql.SQLTransientConnectionException: java.net.ConnectException: Connection refused: connect

I was getting following error after setting up the Spring hibernate application

ERROR: HHH000231: Schema export unsuccessful java.sql.SQLTransientConnectionException: java.net.ConnectException: Connection refused: connect

configuration was picking up correct for HSQL but connection refused caused because my HSQL DB was not running in server mode.

I have started HSQL DB by running following batch"runServer.bat" and it got fix the problem.

F:\Database\hsqldb-2.2.9\hsqldb-2.2.9\hsqldb\bin\runServer.bat

Cheers
Kapil

Friday, March 7, 2014

Solved :"java.io.IOException: Cannot run program "jad" (in directory............" error in eclipse during decompiling plugin

 
I was getting following problem after copying JAD plugin jar into eclipse 
plugin folder : 
 
java.io.IOException: Cannot run program "jad" (in directory 
"C:\Documents and Settings\Sai\.net.sf.jadclipse\1321168101468"): 
CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at net.sf.jadclipse.JadDecompiler.decompile(JadDecompiler.java:160)
    at net.sf.jadclipse.JadDecompiler.decompileFromArchive(JadDecompiler.java:217)
    at 
 
 Issue is because JAD exe was not available in system and I have just copied
plugin JAR.
 
To solve it I have downloaded JAD exe from JAD site :
 
http://varaneckas.com/jad/
 
and copied into eclipse folder ( for me it was following location ) 
 
D:\Software\eclipse-java-indigo-win32-x86_64\eclipse (\jad.exe)
 
after copy restart eclipse and it should fix the problem :) 

If still it does not work , check it out file association setting with JADEclipse class View 
as below in preference setting :




Cheers, 
 
Kapil  

Popular Posts