Posts tagged ‘java’

intellij 8.0 memory settings

Just installed the new version 8.0 of Intellij Idea.

idea8_header

With default memory settings i got permanent OutOfMemory with nothing else as created a default webapp with one jsp (using Sun JDK 1.6.0_10).

Exception occurred during event dispatching:
java.lang.OutOfMemoryError: PermGen space

So, i modified the memory settings a little bit more aggressive than recommended on IntelliJ Blog:

edit idea-9013/bin/idea.vmoptions (no -server, no -Xms to let the VM decide min settings)
-Xmx512m
-XX:MaxPermSize=140m
-ea

It runs now quite well.

Saturday, 8 November 2008 at 18:06 UTC 2 comments

Updated: Netbeans 6.5 beta now available

Today it is official: The beta release of Netbeans 6.5 is available.

Download here.

After some internal confusing last days at Amit Sahas’ blog at Sun Lukas Haslik (NetBeans Platform & Core QA team lead) replied, that this “internal” link was not created for public users.

Rohan Ranade replied as every other software development team should care:

@Amit: I agree completely with Lukas. It’s common sense. NetBeans is a product, not just another open source part time project. There are dedicated teams which manage the lifecycle of NetBeans. Such journalistic activism has happened earlier too (earlier too a Sun India guy had done it). It does not do any good to NetBeans image when people download and use untested beta versions. Worse, it creates a headache for QA and Dev when spurious bug reports come in. That’s a definite loss IMO. And remember, you are a SUN employee. What you say on the blog will be taken as official. It’s a double edged sword.

I can agree with him, it is very important for any product to assure a clear and transparent communication strategy to customers. In our world of information overflow it is more important than ever.

Today Netbeans published the official beta link, looking forward to test it developing Java and indeed (for some internal applications) PHP code.

NetBeans IDE 6.5 Beta Highlights:

PHP
o Code Completion
o Quick Fixes and Semantic Checks
o FTP Support
o Debugging with Xdebug
o Support for popular Web Services
Ajax/JavaScript
o Debugging support for Firefox and IE
o HTTP client monitoring
o Bundled popular JavaScript libraries
Java
o Groovy/Grails support
o Compile/Deploy on Save
o Eclipse project import and synchronization
o Built-in Hibernate support
o JSF CRUD Generator now Ajax-enabled
Database
o Editor Improvements
C/C++
o Improved code completion and error highlighting
o Remote Development
Ruby
o Support for Ruby Tests
o Improved support for Rake build tool
GlassFish v3 “Prelude”
o Small footprint, fast startup and deployment
o Support for scripting, including jRuby

Testing Netbeans 6.5 beta!

Thursday, 14 August 2008 at 16:15 UTC Leave a comment

persistence ioexceptions during tomcat confluence startup

i just upgraded my wiki to the new confluence 2.9 from Atlassian.

Great software!

i got several runtime exception with confluence at tomcat startup:

first tomcat restart


INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 10:58:32 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
java.lang.ClassNotFoundException: com.atlassian.plugin.repository.model.TransferStatus
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:78)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)

second tomcat restart


INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Aug 14, 2008 11:31:31 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.atlassian.bonnie.search.SearchWordsLister
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1441)

Found a note in confluence documentation to prevent session persistance:

Set org.apache.catalina.session.PersistentManager to false between Context tomcat server.xml:


Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"

Now startup exception are gone.

Thursday, 14 August 2008 at 12:05 UTC 1 comment

Netbeans 6.5beta is released.

Found a link to the next Netbeans 6.5beta: release 6.5beta.

*Update:* My mistake, this blog post was too early. I didn’t wait until the official Netbeans team post about the next beta.

After playing around with 6.5M1 and multiple nightly development snaphots i’m glad to use this next beta.
Developing in a Java and PHP environment makes fun with Netbeans

netbeans.

*IMPORTANT UPDATE:*

no, we have to wait some days to 6.5M2 (or beta?).
It was an internal mistake that they post a link to an unofficial beta on a blog at sun.com.

Something is strange at Netbeans! On their official netbeans development plan page everybody can read the schedule:

Milestone Code Freeze Date
Milestone 1 June 15
Feature Complete July 21
Milestone 2 BETA Aug 11
UI Frozen Aug 25
Code Freeze / High Resistance Sep 15
FCS Oct 15

.

Today is August, 11, but their is no 6.5M2 (beta) available.

Monday, 11 August 2008 at 11:22 UTC 1 comment

SpringSource Announces General Availability of SpringSource Enterprise

SpringSource Enterprise released to help customers develop and run Spring-powered enterprise applications more productively, securely and with the greatest uptime.

SANTA CLARA, Calif.—July 22, 2008— SpringSource, the company behind Spring, the de facto standard in enterprise Java, and a leading provider of infrastructure software, today announced the general availability of SpringSource Enterprise.

“The application landscape is undergoing significant change, as developers and architects demand a combination of powerful capabilities and simplicity in the next generation of enterprise applications,” said Peter Cooper-Ellis, SpringSource senior vice president of engineering and product management. “The commercial release of SpringSource Enterprise, coupled with the recent introduction of the SpringSource Application Platform, delivers more flexible and modular alternatives that the market is looking for in their application infrastructure.”

SpringSource has published some months ago the SpringSource Application Platform, currently in beta.

As Eberhard Wolf posted in Google’s Spring User Group Germany :

SpringSource is a fully modular environment for
* Enterprise Java applications, that based on modern concepts
* it is based on OSGi as underlying system for module coordination
* it contains tomcat for support of web applications
… and supports Spring as programming model of course

He invites everybody to take part in SpringSource beta program: Register here …

Friday, 25 July 2008 at 15:21 UTC Leave a comment


Categories