Jump to content
JasperReports Library 7.0 is now available ×

Error Running ireport installed w/ bundle


ktrinad

Recommended Posts

By: YSutarko - ysutarko

Error Running ireport installed w/ bundle

2006-07-11 19:39

Hi,

having failed to manually install the war file (http://sourceforge.net/forum/forum.php?thread_id=1534018&forum_id=552417),

i tried downloading jasperintelligence-1.0-windows-installer.exe and successfully installed and running :)

 

but.. when i tried to run the ireport installed with the bundle, then this exception occured:

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jaspersoft/jasperserver/irplugin/IRPlugin (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)

at java.net.URLClassLoader.access$100(URLClassLoader.java:55)

at java.net.URLClassLoader$1.run(URLClassLoader.java:194)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at it.businesslogic.ireport.PluginEntry.getPlugin(PluginEntry.java:110)

at it.businesslogic.ireport.gui.MainFrame.loadPlugins(MainFrame.java:9296)

at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:640)

at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7110)

java.net.ConnectException: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at java.net.Socket.connect(Socket.java:402)

at sun.net.NetworkClient.doConnect(NetworkClient.java:139)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)

at sun.net.www.http.HttpClient.New(HttpClient.java:339)

at sun.net.www.http.HttpClient.New(HttpClient.java:320)

at sun.net.www.http.HttpClient.New(HttpClient.java:315)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)

at it.businesslogic.ireport.plugin.checkupdate.UpgradeSearch.run(UpgradeSearch.java:26)

at java.lang.Thread.run(Thread.java:534)

at it.businesslogic.ireport.plugin.checkupdate.CheckUpdate$1.run(CheckUpdate.java:37)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

 

is the wrong version of IRPlugin because i cannot connect to internet (the 2nd exception, its because my company's internet proxy) ?

or the bundle contains wrong version?

is there any solution for this problem?

 

thanks...

yusuf

 

 

 

By: Javy Dreamer - javydreamercsw

RE: Error Running ireport installed w/ bundle

2006-07-12 05:02

I've found the same type of error with the bundled one. Install the iReport 1.2.4 with the plugin that comes saparately. It works wonders!

 

 

By: Sherman Wood - sgwood

RE: Error Running ireport installed w/ bundle

2006-07-12 05:55

 

Looks like you are running with JDK 1.4. The installer comes with Sun JDK 1.5. Can you set the JAVA_HOME and right executable in the <installDir>/iReport/bin/startup.bat? Something like:

 

set JAVA_HOME=<installDir>java

set PATH=<installDir>javabin;%PATH%

set JAVA_CMD=%JAVA_HOME%binjava

 

"%JAVA_CMD%" -cp "%IREPORT_CLASSPATH%" -Xms24m -Xmx512m it.businesslogic.ireport.gui.MainFrame %*

 

 

Sherman

JasperSoft

 

 

By: YSutarko - ysutarko

RE: Error Running ireport installed w/ bundle

2006-07-12 17:55

Thanks, it's working now..

guess i didn't notice that i have 2 jdks on my computer :)

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...