[Installation, Configuration & DEPLOYMENT] - jboss 4.2.1 throws NoClassDefFoundError's on boot on 64bit s
by slotties
Hi,
we're currently installing a JBoss on a sun solaris 10 (sun fire t2000) with a sun jvm for sparc (1.5.0_16). When we use the 32bit version everything works fine (even though the jboss boots *very* slow) but when we use the "-d64" parameter we run into NoClassDefFoundError's on startup:
| 16:50:34,949 INFO [Server] Starting JBoss (MX MicroKernel)...
| 16:50:34,953 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
| 16:50:34,958 INFO [Server] Home Dir: /cms/jboss-4.2.1.GA_slimmed
| 16:50:34,958 INFO [Server] Home URL: file:/cms/jboss-4.2.1.GA_slimmed/
| 16:50:34,961 INFO [Server] Patch URL: null
| 16:50:34,962 INFO [Server] Server Name: pb-cms2
| 16:50:34,963 INFO [Server] Server Home Dir: /cms/jboss-4.2.1.GA_slimmed/server/pb-cms2
| 16:50:34,964 INFO [Server] Server Home URL: file:/cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/
| 16:50:34,964 INFO [Server] Server Log Dir: /cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/log
| 16:50:34,965 INFO [Server] Server Temp Dir: /cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/tmp
| 16:50:34,967 INFO [Server] Root Deployment Filename: jboss-service.xml
| 16:50:36,163 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
| 16:50:36,163 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_16-b02,Sun Microsystems Inc.
| 16:50:36,164 INFO [ServerInfo] OS-System: SunOS 5.10,sparcv9
| 16:50:37,656 INFO [Server] Core system initialized
| 16:50:46,858 WARN [DeploymentOrderComparator] Could not read reload-period from mbean.
| 16:50:46,861 WARN [DeploymentOrderComparator] Could not read configuration-location from mbean.
| 16:50:46,862 INFO [DeploymentOrderComparator] Initializing with: reloadPeriod=120000, location=JBOSS_SERVER_HOME/conf/deployment-order.conf, strictToModules=false
| 16:50:47,265 INFO [WebService] Using RMI server codebase: http://10.11.17.100:18083/
| 16:50:47,853 WARN [ServiceController] Problem creating service jboss.remoting:service=Connector,transport=socket
| java.lang.NoClassDefFoundError: org/jboss/remoting/marshal/SerialMarshaller
| at java.lang.ClassLoader.defineClass1(Native Method)
| [...]
|
Does anyone know what may the problem or how we can do more analysis on this?
Regards,
Stefan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174341#4174341
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174341
17 years, 10 months
[JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader
by mircea.markus
anonymous wrote : For this, I have done a custom eviction Policy to remove data from cache, as related in here.
JBC3.0 solves this problem much nicely: you are allowd to specify an EvictionActionPolicy for each evcition algorithm. EvictionActionPolicy refers to allowing one to do to-disk eviction, remove from memory or whatever strategy is chosen.
anonymous wrote : What I experience is that my data is being written to secondary storage as soon as I write into cache
I guess what you need here is passivation:
<passivation>false</passivation>
Take a look at what passivation can do for you in the user guide.
anonymous wrote : and once the eviction work runs, it removes data from database that has the custom remove policy.
|
That is because when you do cache.remove within your custom eviction, this will go through the interceptor chain and remove data from DB, as per a normal cache.remove. Again, passivation should solve this issue for you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174336#4174336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174336
17 years, 10 months