Hello list!
I am trying to figure something out that i cannot for the life of me
understand. I have have two identical environments, two machines with
same os and libs, same jruby and gems, and using the same app. One
detects and starts the rails app and one just stops. Below are the
logs from glassfish startup. Note how the not-working-machine just
stops att Grizzly being loaded. I would really appreciate any clue to
this:
# NOT working machine
.. SNIP ...
Module Status Report Ends
Mar 9, 2010 6:30:32 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Mar 9, 2010 6:30:32 PM org.hibernate.validator.util.Version <clinit>
INFO: Hibernate Validator null
Mar 9, 2010 6:30:32 PM
org.hibernate.validator.engine.ResourceBundleMessageInterpolator
getFileBasedResourceBundle
FINE: ValidationMessages not found. Delegating to
org.hibernate.validator.ValidationMessages
Mar 9, 2010 6:30:32 PM
org.hibernate.validator.engine.resolver.DefaultTraversableResolver
detectJPA
FINE: Cannot find javax.persistence.PersistenceUtil on classpath. All
properties will per default be traversable.
Mar 9, 2010 6:30:32 PM org.hibernate.validator.xml.ValidationXmlParser
getInputStreamForPath
FINE: No default context class loader, fall back to Bean Validation's
loader
Mar 9, 2010 6:30:32 PM org.hibernate.validator.xml.ValidationXmlParser
getValidationConfig
FINE: No META-INF/validation.xml found. Using annotation based
configuration only
Mar 9, 2010 6:30:32 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:30:33 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:30:33 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed ADD interface
com.sun.grizzly.config.dom.NetworkListener
GlassFishConfigBean.com.sun.grizzly.config.dom.NetworkListener
Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.ContextMapper
addHost
FINE: Host-Host: server aliases [] host null
Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.V3Mapper addHost
FINE: Host-Host: server aliases [Ljava.lang.String;@e2f75e5 host null
Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.V3Mapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@7aaf8b32 port 8080
Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.ContextMapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@7aaf8b32 port 8080
Mar 9, 2010 6:30:33 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed CHANGE interface
com.sun.grizzly.config.dom.NetworkListeners
GlassFishConfigBean.com.sun.grizzly.config.dom.NetworkListeners
Mar 9, 2010 6:30:33 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:30:33 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed CHANGE interface
com.sun.enterprise.config.serverbeans.VirtualServer
GlassFishConfigBean.com.sun.enterprise.config.serverbeans.VirtualServer
Mar 9, 2010 6:30:33 PM
com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady
INFO: Grizzly Framework 1.9.18-k started in: 101ms listening on port
8080
... STOP ...
# WORKING machine:
.. SNIP ...
Module Status Report Ends
Mar 9, 2010 6:20:14 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Mar 9, 2010 6:20:14 PM org.hibernate.validator.util.Version <clinit>
INFO: Hibernate Validator null
Mar 9, 2010 6:20:14 PM
org.hibernate.validator.engine.ResourceBundleMessageInterpolator
getFileBasedResourceBundle
FINE: ValidationMessages not found. Delegating to
org.hibernate.validator.ValidationMessages
Mar 9, 2010 6:20:14 PM
org.hibernate.validator.engine.resolver.DefaultTraversableResolver
detectJPA
FINE: Cannot find javax.persistence.PersistenceUtil on classpath. All
properties will per default be traversable.
Mar 9, 2010 6:20:14 PM org.hibernate.validator.xml.ValidationXmlParser
getInputStreamForPath
FINE: No default context class loader, fall back to Bean Validation's
loader
Mar 9, 2010 6:20:14 PM org.hibernate.validator.xml.ValidationXmlParser
getValidationConfig
FINE: No META-INF/validation.xml found. Using annotation based
configuration only
Mar 9, 2010 6:20:14 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:14 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:14 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed ADD interface
com.sun.grizzly.config.dom.NetworkListener
GlassFishConfigBean.com.sun.grizzly.config.dom.NetworkListener
Mar 9, 2010 6:20:14 PM org.glassfish.internal.grizzly.ContextMapper
addHost
FINE: Host-Host: server aliases [] host null
Mar 9, 2010 6:20:14 PM org.glassfish.internal.grizzly.V3Mapper addHost
FINE: Host-Host: server aliases [Ljava.lang.String;@7c6743e2 host null
Mar 9, 2010 6:20:14 PM org.glassfish.internal.grizzly.V3Mapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@71e13a2c port 8080
Mar 9, 2010 6:20:14 PM org.glassfish.internal.grizzly.ContextMapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@71e13a2c port 8080
Mar 9, 2010 6:20:14 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed CHANGE interface
com.sun.grizzly.config.dom.NetworkListeners
GlassFishConfigBean.com.sun.grizzly.config.dom.NetworkListeners
Mar 9, 2010 6:20:14 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:14 PM
com.sun.enterprise.v3.services.impl.DynamicConfigListener$1 changed
FINE: NetworkConfig changed CHANGE interface
com.sun.enterprise.config.serverbeans.VirtualServer
GlassFishConfigBean.com.sun.enterprise.config.serverbeans.VirtualServer
Mar 9, 2010 6:20:14 PM
com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady
INFO: Grizzly Framework 1.9.18-k started in: 73ms listening on port 8080
Mar 9, 2010 6:20:16 PM
org.glassfish.deployment.common.InstalledLibrariesResolver
getInstalledLibraries
FINE: InstalledLibrariesResolver : exception occurred :
java.lang.NullPointerException
Mar 9, 2010 6:20:17 PM com.sun.enterprise.v3.server.ApplicationLifecycle
deploy
FINE: Before Sortingjruby
Mar 9, 2010 6:20:17 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:17 PM org.glassfish.kernel.config.DefaultConfigParser$2
run
INFO: interface org.glassfish.scripting.jruby.config.JrubyContainer
Mar 9, 2010 6:20:17 PM org.glassfish.kernel.config.DefaultConfigParser$2
run
FINE: time to parse domain.xml : 2
Mar 9, 2010 6:20:17 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:17 PM com.sun.enterprise.v3.server.DomainXmlPersistence
save
FINE: domain.xml not persisted, null destination
Mar 9, 2010 6:20:17 PM
com.sun.enterprise.v3.server.ApplicationLifecycle setupContainerInfos
FINE: Keyed Deployer class org.glassfish.scripting.jruby.JRubyDeployer
Mar 9, 2010 6:20:17 PM
com.sun.enterprise.v3.server.ApplicationLifecycle setupContainerInfos
FINE: Ordered Deployer class org.glassfish.scripting.jruby.JRubyDeployer
Mar 9, 2010 6:20:17 PM com.sun.enterprise.v3.server.ApplicationLifecycle
deploy
FINE: After Sorting jruby
Mar 9, 2010 6:20:17 PM
org.glassfish.deployment.common.InstalledLibrariesResolver
getInstalledLibraries
FINE: InstalledLibrariesResolver : exception occurred :
java.lang.NullPointerException
Mar 9, 2010 6:20:19 PM org.glassfish.scripting.jruby.JRubyConfigImpl
<init>
INFO: Running current in staging environment.
Mar 9, 2010 6:20:19 PM
org.glassfish.scripting.jruby.RackApplicationChooser which
FINE: Path is /apps/auktion/releases/20100309111540, checking for Rails
Mar 9, 2010 6:20:19 PM
org.glassfish.scripting.jruby.RackApplicationChooser detectRails
INFO: Rails application detected.
Mar 9, 2010 6:20:19 PM org.glassfish.scripting.jruby.JRubyConfigImpl
<init>
FINE: applicationType: rails
Mar 9, 2010 6:20:19 PM org.glassfish.scripting.jruby.JRubyApplication
<init>
INFO: Loading application current at /
Mar 9, 2010 6:20:19 PM org.glassfish.internal.data.ModuleInfo start
FINE: starting jruby
Mar 9, 2010 6:20:19 PM com.sun.grizzly.jruby.RackGrizzlyAdapter <init>
INFO: JRuby version is: 1.4.0
Mar 9, 2010 6:20:19 PM
com.sun.enterprise.v3.services.impl.ContainerMapper register
FINE:
MAPPER(com.sun.enterprise.v3.services.impl.ContainerMapper@6f0c29fe)
REGISTER contextRoot: adapter:
com.sun.grizzly.jruby.RackGrizzlyAdapter@7991ba7 container:
org.glassfish.scripting.jruby.JRubyApplication@54e674d6 port: 8080
Mar 9, 2010 6:20:19 PM org.glassfish.internal.grizzly.V3Mapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@6600b925 port 8080
Mar 9, 2010 6:20:19 PM org.glassfish.internal.grizzly.ContextMapper
addContext
FINE: Context-Host: server path context
com.sun.grizzly.config.ContextRootInfo@6600b925 port 8080
Mar 9, 2010 6:20:19 PM org.glassfish.internal.grizzly.ContextMapper
addWrapper
FINE: Wrapper-Host: server contextPath wrapper
com.sun.grizzly.config.ContextRootInfo@6600b925 path jspWildcard
false servletName null isEmptyPathSpecial false
Mar 9, 2010 6:20:19 PM org.glassfish.internal.grizzly.V3Mapper
addWrapper
FINE: Wrapper-Host: server contextPath wrapper
com.sun.grizzly.config.ContextRootInfo@6600b925 path jspWildcard
false
Mar 9, 2010 6:20:19 PM org.glassfish.scripting.jruby.JRubyApplication
start
FINE: Sending JRubyProbeStatsProvider() start event for application:
current
Mar 9, 2010 6:20:19 PM
org.glassfish.scripting.jruby.monitor.JRubyApplicationStatsProvider
jrubyModuleStartedEvent
FINE: JRubyApplicationStatsProvider:jrubyModuleStartedEvent invoked
Mar 9, 2010 6:20:19 PM com.sun.grizzly.jruby.rack.JRubyRuntime <init>
INFO: New instance of JRuby runtime created in 74 milliseconds
Mar 9, 2010 6:20:19 PM
com.sun.grizzly.jruby.rack.RackApplicationPoolFactory newApplication
FINE: Creating RailsApplication...
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
on 2010-03-09 18:47
on 2010-03-09 18:59
I have almost always been able to figure out the problem by starting the app w/ mongrel, which will give better error output.
on 2010-03-09 19:17
Well, the app starts fine in both mongrel and jetty_rails unfortunately... On Tue, Mar 9, 2010 at 6:58 PM, Brandon Hauff <Brandon.Hauff@buckle.com> wrote: >> I am trying to figure something out that i cannot for the life of me >> >> Mar 9, 2010 6:30:32 PM >> FINE: No META-INF/validation.xml found. Using annotation based >> com.sun.grizzly.config.dom.NetworkListener >> Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.ContextMapper >> FINE: domain.xml not persisted, null destination >> ... STOP ... >> Mar 9, 2010 6:20:14 PM >> getInputStreamForPath >> com.sun.enterprise.v3.server.DomainXmlPersistence save >> FINE: Host-Host: server aliases [Ljava.lang.String;@7c6743e2 host null >> FINE: NetworkConfig changed CHANGE interface >> Mar 9, 2010 6:20:14 PM >> FINE: Before Sortingjruby >> com.sun.enterprise.v3.server.DomainXmlPersistence save >> org.glassfish.scripting.jruby.JRubyDeployer >> INFO: Running current in staging environment. >> <init> >> com.sun.grizzly.jruby.RackGrizzlyAdapter@7991ba7 container: >> addWrapper >> FINE: Sending JRubyProbeStatsProvider() start event for application: >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> Â Â http://xircles.codehaus.org/manage_email >> > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-09 19:19
The only other problems I have had with glassfish starting tended to be permissions or log files, I guess check that all of those are ok. Uninstall the glassfish gem and reinstall as well.
on 2010-03-09 19:28
Yeah, that all seems to be in order. Tried reinstalling.. no dice :/ On Tue, Mar 9, 2010 at 7:19 PM, Brandon Hauff <Brandon.Hauff@buckle.com> wrote: >> >> >> >> >> this: >> >> Mar 9, 2010 6:30:32 PM >> >> Mar 9, 2010 6:30:32 PM >> >> Mar 9, 2010 6:30:32 PM >> >> Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.ContextMapper >> >> Mar 9, 2010 6:30:33 PM org.glassfish.internal.grizzly.ContextMapper >> >> FINE: domain.xml not persisted, null destination >> >> >> >> INFO: Hibernate Validator null >> >> properties will per default be traversable. >> >> configuration only >> >> GlassFishConfigBean.com.sun.grizzly.config.dom.NetworkListener >> >> com.sun.grizzly.config.ContextRootInfo@71e13a2c port 8080 >> >> com.sun.enterprise.v3.server.DomainXmlPersistence save >> >> 8080 >> >> FINE: domain.xml not persisted, null destination >> >> com.sun.enterprise.v3.server.DomainXmlPersistence save >> >> org.glassfish.scripting.jruby.JRubyDeployer >> >> INFO: Running current in staging environment. >> >> Mar 9, 2010 6:20:19 PM >> >> FINE: >> >> FINE: Context-Host: server path  context >> >> false >> <init> >> >> >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >>   http://xircles.codehaus.org/manage_email >> > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-09 19:33
On Tue, Mar 9, 2010 at 10:27 AM, Albert Ramstedt
<albert.ramstedt@gmail.com> wrote:
> Yeah, that all seems to be in order. Tried reinstalling.. no dice :/
Try starting up under strace and see where it's hanging...
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
on 2010-03-09 23:06
I did not find any evident issue using strace, it just seems to stop
before detecting the app. But with a little bit more experimenting I
noticed when I leave the process on for a while it eventually bombs
out with this:
java/util/Arrays.java:2882:in `copyOf': java.lang.OutOfMemoryError:
Java heap space (NativeException)
from java/lang/AbstractStringBuilder.java:100:in `expandCapacity'
from java/lang/AbstractStringBuilder.java:572:in `append'
from java/lang/StringBuilder.java:203:in `append'
from java/io/UnixFileSystem.java:93:in `resolve'
from java/io/File.java:207:in `<init>'
from java/io/File.java:1056:in `listFiles'
from com/sun/enterprise/deploy/shared/FileArchive.java:395:in
`getListOfFiles'
from com/sun/enterprise/deploy/shared/FileArchive.java:408:in
`getListOfFiles'
... 12 levels...
from
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:55
from
/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:19:in
`load'
from /usr/local/jruby/bin/glassfish:19
Stopping GlassFish!
And I have tried a lot of different memory settings and it does not
help. I have run it with 500m, 1000m, 1500m, 2000m, 2500m, 3000m for
xmx and xms, and permgen set to between 128 and 512.
The strace stop before the crash was here:
... SNIP ...
stat("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/server/libjvm.so",
{st_mode=S_IFREG|0644, st_size=10152401, ...}) = 0
getgid() = 33
getegid() = 33
getuid() = 33
geteuid() = 33
futex(0x7f90101c510c, 0x81 /* FUTEX_??? */, 2147483647) = 0
open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/server/libjvm.so",
O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\6\22"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10152401, ...}) = 0
mmap(NULL, 9939680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f900f2e5000
mprotect(0x7f900f9da000, 1044480, PROT_NONE) = 0
mmap(0x7f900fad9000, 1351680, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6f4000) = 0x7f900fad9000
mmap(0x7f900fc23000, 248544, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f900fc23000
close(3) = 0
open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/bin/../lib/amd64/jli/libm.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/server/libm.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/libm.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47351, ...}) = 0
mmap(NULL, 47351, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f90105ee000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260>\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=526560, ...}) = 0
mmap(NULL, 2621672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f900f064000
mprotect(0x7f900f0e4000, 2093056, PROT_NONE) = 0
mmap(0x7f900f2e3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x7f900f2e3000
close(3) = 0
munmap(0x7f90105ee000, 47351) = 0
mmap(NULL, 1052672, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x40f37000
mprotect(0x40f37000, 4096, PROT_NONE) = 0
clone(child_stack=0x41037260,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x410379e0, tls=0x41037950, child_tidptr=0x410379e0) =
9884
futex(0x410379e0, FUTEX_WAIT, 9884, NULL
On Tue, Mar 9, 2010 at 7:33 PM, Hassan Schroeder
<hassan.schroeder@gmail.com> wrote:
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> Â Â http://xircles.codehaus.org/manage_email
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
on 2010-03-11 12:34
Okay, I found the problem. We have our application set up with symlinks to resources, like images and the like. These directories are huge in production, and it seems glassfish wants to traverse everything when it is detecting the rails application. And in our case, it hits memory limits and dies. Now I would volunteer to try to fix the problem, but I cannot seem to get my hands on any source. This is not in ruby code in the gf-gem, it is in a compiled gf-lib somewhere. Who maintains glassfish and the gem right now? Where is the source? Albert On Tue, Mar 9, 2010 at 11:05 PM, Albert Ramstedt <albert.ramstedt@gmail.com> wrote: > Â Â Â Â from java/io/UnixFileSystem.java:93:in `resolve' > > getgid() Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 33 > mprotect(0x7f900f9da000, 1044480, PROT_NONE) = 0 > O_RDONLY) = -1 ENOENT (No such file or directory) > mprotect(0x7f900f0e4000, 2093056, PROT_NONE) = 0 > 9884 >> -- > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-11 19:22
Albert, Can you please file a bug at: http://rubyforge.org/projects/glassfishgem/ ? The source code is available at: https://glassfish-scripting.dev.java.net/source/browse/glassfish-scripting/trunk/rails/gem/ Thanks, -Arun On 3/11/10 1:00 AM, Albert Ramstedt wrote: > >> Java heap space (NativeException) >> from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:19:in >> ... SNIP ... >> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\6\22"..., 832) = 832 >> O_RDONLY) = -1 ENOENT (No such file or directory) >> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260>\0\0"..., 832) = 832 >> mprotect(0x40f37000, 4096, PROT_NONE) = 0 >>>> Yeah, that all seems to be in order. Tried reinstalling.. no dice :/ >>> http://xircles.codehaus.org/manage_email > -- Need Application Server ? Download from http://glassfish.org Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-11 22:30
Done! http://rubyforge.org/tracker/index.php?func=detail&aid=27955&group_id=5450&atid=21080 I am going to look over the code and see if I can be of any help. On Thu, Mar 11, 2010 at 7:22 PM, Arun Gupta <Arun.Gupta@sun.com> wrote: > >> >>> I did not find any evident issue using strace, it just seems to stop >>> Â Â Â Â from java/io/File.java:207:in `<init>' >>> `load' >>> >>> 832) = 832 >>> open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/bin/../lib/amd64/jli/libm.so.6", >>> directory) >>> munmap(0x7f90105ee000, 47351) Â Â Â Â Â = 0 >>> On Tue, Mar 9, 2010 at 7:33 PM, Hassan Schroeder >>>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > Â http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-12 19:09
I am not sure how large the resources file set are but the exception is really coming from the JDK/JVM itself. All the deployer trying to do is to iterate thru the files in the directories. I see you are using jdk 6.0 build 7. Can you try using JDK6 b18 or so? -vivek. On Thu, Mar 11, 2010 at 1:29 PM, Albert Ramstedt
on 2010-03-13 00:39
On Fri, Mar 12, 2010 at 7:08 PM, Vivek Pandey <vivek.pandey@gmail.com> wrote: > I am not sure how large the resources file set are but the exception is > really coming from the JDK/JVM itself. All the deployer trying to do is to > iterate thru the files in the directories. I don't understand why the deployer should try to traverse everything in RAILS_ROOT. It is common practice to symlink assets into the public dir in rails land, and in our case this just takes too much resources to do. Maybe some configuration to exclude paths would be in order? > I see you are using jdk 6.0 build 7. Can you try using JDK6 b18 or so? I could do that, but our assets are on the production server, and I have no access to them on other environments. This is terabytes of data which I cannot easily move around. What would such a test accomplish? Albert --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-15 19:04
On Fri, Mar 12, 2010 at 5:38 PM, Albert Ramstedt <albert.ramstedt@gmail.com> wrote: > I don't understand why the deployer should try to traverse everything > in RAILS_ROOT. It is common practice to symlink assets into the public > dir in rails land, and in our case this just takes too much resources > to do. Maybe some configuration to exclude paths would be in order? There have also been occasional issues in JRuby with symlinks in application dirs. Hopefully this isn't a JRuby issue, but I wouldn't rule it out. For example, we could be incorrectly recursing forever for a Dir glob, or something. Anyway, chase GF for now and look at possible JRuby issues if that seems to be a dead-end. Since it works in other servers, I'd suspect GF right now. - Charlie --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-30 13:56
Is there any way for me to check out the code? the svn repo under: https://glassfish-scripting.dev.java.net/source/browse/glassfish-scripting/ seems to be password protected? On Thu, Mar 11, 2010 at 8:22 PM, Arun Gupta <Arun.Gupta@sun.com> wrote: > >> >>> I did not find any evident issue using strace, it just seems to stop >>> Â Â Â Â from java/io/File.java:207:in `<init>' >>> `load' >>> >>> 832) = 832 >>> open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/bin/../lib/amd64/jli/libm.so.6", >>> directory) >>> munmap(0x7f90105ee000, 47351) Â Â Â Â Â = 0 >>> On Tue, Mar 9, 2010 at 7:33 PM, Hassan Schroeder >>>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > Â http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 2010-03-30 13:56
Nevermind that, found the guest account :) On Tue, Mar 30, 2010 at 1:55 PM, Albert Ramstedt <albert.ramstedt@gmail.com> wrote: >> >> -Arun >>> get my hands on any source. This is not in ruby code in the gf-gem, it >>>> noticed when I leave the process on for a while it eventually bombs >>>> Â Â Â Â from com/sun/enterprise/deploy/shared/FileArchive.java:395:in >>>> Stopping GlassFish! >>>> {st_mode=S_IFREG|0644, st_size=10152401, ...}) = 0 >>>> mmap(NULL, 9939680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, >>>> open("/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/server/libm.so.6", >>>> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260>\0\0"..., >>>> MAP_PRIVATE|MAP_ANONYMOUS|0x40, -1, 0) = 0x40f37000 >>>>> >>>>> >>> To unsubscribe from this list, please visit: >> To unsubscribe from this list, please visit: >> >> Â http://xircles.codehaus.org/manage_email >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.