Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Thursday, 1 July 2010

[Eclipse Error] - Plugin Install error

Error Message :
An error occurred while collecting items to be installed
No repository found containing:
org.apache.oro/osgi.bundle/2.0.8.v200903061218

Install plug-in file
checkStyle

Solution
Help > Software Updates > "Manage Sites..." > Un check all except "checkStyle" url
And Install again

Thursday, 4 March 2010

[Error] Address already in use: JVM_Bind

- Error message

java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)

- Solution
1. open command
2. c:\>netstat -a -n -o
3. check 8080 PID
4. kill the process

Monday, 7 September 2009

remote access

checking service for remote access

->Terminal Services

Tuesday, 26 May 2009

[MS-sql] Error

Error message when you try import database from backup file

=======Error Message===========
Restore failed Server 'your-computer' (Micorsoft.SqlServer.Smo)

Additional information:
->An exception occurred while executing a Transact-SQL statement or batch
(microsoft.SqlServer.ConnectionInfo)
--> The file or filegroup 'yourfileName_log' cannot be selected for this operation.
RESTORE DATABASE is terminating abnormally.(Microsoft SQL Server, Error: 3219)
==================================

--- Solution ----- (progress as manual way)
create database that you want (ex: test)
right button click from test db
Tasks - > Restore -> Files and Filegroups...
select From device and select backup file location

---> Select "Script" from top location

Type this script on page

RESTORE DATABASE [ct3] FROM DISK = N'D:\temp\test.bak' WITH FILE = 1, MOVE N'test' TO N'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test.mdf', MOVE N'test_log' TO N'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test_log.LDF', NOUNLOAD, REPLACE, STATS = 10
GO

Tuesday, 10 February 2009

[Error] Hibernate error

- Error Message
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

This error is from that the hibernate can not find "Transactional".

Please insert
@SuppressWarnings("unchecked")
@Transactional

Wednesday, 4 February 2009

[Error] Eclipse Ganymede start error

When you have the problem for starting eclipse , please check eclipse.ini file
==== Error message
-VM terminated...

==== original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

==== update this eclipse.ini file
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\Sun\SDK\jdk\bin\javaw.exe

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

[Error] Eclipse Ganymede start error

when you start eclipse , you might have the error with popup message box.
such as "VM terminate...."
Please check eclipse.ini file and update it

original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

==== Please update this eclipse.ini file =====
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
D:\java\jdk1.6.0\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

Monday, 19 January 2009

[Error] Could not open Hibernate Session for transaction

[Error Message]
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader


Please insert org.hibernate.jdbc pacakge in MENIFEST file

Monday, 5 January 2009

[Error] Can not Start Eclipse

* Error Message
JVM terminated. Exit code=-1 .......
................
.......

- Open eclipse.ini file under eclipse installed folder

change the last line like this
-Xmx256m

http://blog.naver.com/sungback?Redirect=Log&logNo=90033293141

Thursday, 6 November 2008

[Error - Rest] com.noelios.restlet.Engine createHelper

====== Error message (Rest) ======
com.noelios.restlet.Engine createHelper
No available server connector supports the required protocols


==== Solution ======
need "com.noelios.restlet.ext.jetty_6.1.jar" file

org.mortbay.jetty.ajp.jar
org.mortbay.jetty.https.jar
org.mortbay.jetty.jar
org.mortbay.jetty.util.jar

=== You might see other error message ====
Exception in thread "main" java.lang.NoClassDefFoundError: org/mortbay/jetty/Connector

=== Solution ===
need "org.mortbay.jetty.jar" file

=== You might see other error message ====
Exception in thread "main" java.lang.NoClassDefFoundError: org/mortbay/component/LifeCycle

=== Solution ===
need "org.mortbay.jetty.util.jar" file

=== You might see other error message ====
Exception in thread "main" java.lang.NoClassDefFoundError: org/mortbay/jetty/ajp/Ajp13SocketConnector

=== Solution ===
need "org.mortbay.jetty.ajp.jar" file

=== You might see other error message ====
Exception in thread "main" java.lang.NoClassDefFoundError: org/mortbay/jetty/security/SslSelectChannelConnector

=== Solution ===
need "org.mortbay.jetty.https.jar" file

Monday, 3 November 2008

[Error] NoClassDefFoundError org/apache/commons/codec/DecoderException

==== Error Message ====
NoClassDefFoundError org/apache/commons/codec/DecoderException



==== Solution =====
You need org.apache.commons.codec.jar file

[Error] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

=== Error MEssage ===
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

== Solution ===
you need "commons-logging.jar" file

Sunday, 2 November 2008

[Erro] Axis2 - Eclipse

=== Error message =====
The Axis2 facets cannot be installed since the Axis2 runtime location has not been set. Please go to the Web Services preference page and set the Axis2 runtime


==== Solution ====
Eclipse
Window > Preferences > Web Services > Axis2 Preferences > Axis2 Runtime
Setup Axis2 location and check "Axis2 runtime loaded successfully!!!"

Friday, 4 July 2008

error : hibernate with Data type in DB

* Error Message
"java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date"

You might have data type column in DB table and read it with hibernate.
In this case , you should update "dataSource.xml" file
Add " p:zeroDateTimeBehavior="convertToNull" "

=== Pull xml file =====
[?xml version="1.0" encoding="UTF-8"?]

[beans xmlns="http://www.springframework.org/schema/beans"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"]

[bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource"
p:driverClassName="com.mysql.jdbc.Driver"
p:url="jdbc:mysql://localhost/test?useUnicode=true&characterEncoding=euckr&zeroDateTimeBehavior=convertToNull"
p:username="root" p:password="1111"]

[/beans]