Deploying UDDI in glassfish
i want to use UDDI registry in glassfish server.
in the below topic
GlassFish Project - Web Services Management home page
https://glassfish.dev.java.net/javaee5/ws-mgmt/registry/registryhome.html
three steps was given to integrate jwsdp1.6 with glassfish server.
they have given steps to create soar.rar file and deploy it in app server 9.0 using connector
module
do any one have followed these steps and used uddi3.0 or EBXML in glassfish server to register web services
please reply me with the correct steps.
to register web service in these above registry
Message was edited by:
grkrish@cdac
Steps to perform:
Configurations>server-config>Security
make
Default Principal to Role Mapping = Enabled
Configurations>server-config>Security>Realms>file
make user
map_admin_role with the asadmin role
Deploy the web.war
All should be fine at the admin login time.
I have troubles after that because lot of pages are not running so fine.
Similar Messages
-
Error in deploying application in GlassFish
Hi,
I'm working on GlassFish server to develop a web service. While deploying the server application i'm encountring an error...
i issue the following command...
asadmin deploy user admin passwordfile password host localhost port 4849 contextroot Calculator upload=true --target server /mnt/GlassFish-Applications/Calculator/Calculator.war
i ain't sure about the option <filepath>
i got the following error...
CLI171 Command deploy failed : Unable to find the archive to be deployed in specified location.
can u help me how to solve this problem..
Thanks in advance
regards,
R VIjay,
CDAC, Chennai
INDIANothing to do with WebLogic JDBC so far...
-
Deploying applications to glassfish using Maven.
Hello,
I am both a glassfish and maven newbie.
I want to know if there's away to automatically deploy my .war in glassfish via the .pom file.
(My current solution: an ant script to copy my target .war to glassfish/domains/domain1/autodeploy is not the best;)
Thanks,oceannetau wrote:
You aren't forced to use Maven's project structure actually.
When I first tried Maven (after years of using Ant) I was annoyed by the perception that I must conform to Maven. However, the default location for such things as the ${project.build.outputDirectory} are just that - defaults for those who favour convention over configuration. You can of course override them (as I still do for the artifact output directory) and even do so in a super pom for al your projects so they can be automatically inherited.
Maven is more than just a dependency management tool though - it is a build sequencer. This perhaps more powerful if a more subtle aspect to appreciate. Once you devote a small amount of time to learn how to get the best out of Maven (read Better Builds With Maven as a good starting point) you will not want to go back to Ant - I haven't yet.
As far as finding JARs is concerned this is just as time consuming with Maven as with any other means of meeting library dependencies. I find two things useful here: one is iGoogle and a plugin for it called "javacio.us search"; the other is using a local proxy such as Nexus which also indexes the repository. Combined with an IDE such as IDEA or Eclipse which have good Maven support including artifact autocompletion this makes locating the right versions of artifacts quite easy.Apache Archiva is another very good Maven proxy. As for finding libraries, I just bang "<dependency name> maven ibiblio" into Google, and let it do the heavy lifting. Never failed me yet. What is annoying is when groupIds change between versions. Yes, Hibernate, I'm looking at you..... -
Deployment problem with glassfish v2
hi,
when i am trying to deploy a WAR file on glassfish v2 following errors are coming.....
Timestamp Sep 11, 2008 14:30:26.006
Log Level SEVERE
Logger javax.enterprise.system.tools.deployment
Name-Value Pairs ThreadID=17;ThreadName=Thread-682;_RequestID=b8995ab4-b83a-4c5f-a476-acd3863f6428;
Record Number 1424
Message ID Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
Complete Message Error expanding archive C:\Users\ADMIN\AppData\Local\Temp\systemcontrol53465.war; please see the server log file for more information at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359) at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131) at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
but the page is running perfectly fine in my IDE.i have observed that this problem occurs when i use any .js file in my project.
Please helpAs the stack trace states ("please see the server log file for more information"), you should look at the server log to get more details on what is causing this.
-
Deployment problem on glassfish v2
hi,
when i am trying to deploy a WAR file on glassfish v2 following errors are coming.....
Timestamp Sep 11, 2008 14:30:26.006
Log Level SEVERE
Logger javax.enterprise.system.tools.deployment
Name-Value Pairs ThreadID=17;ThreadName=Thread-682;_RequestID=b8995ab4-b83a-4c5f-a476-acd3863f6428;
Record Number 1424
Message ID Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
Complete Message Error expanding archive C:\Users\ADMIN\AppData\Local\Temp\systemcontrol53465.war; please see the server log file for more information at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359) at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131) at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
but the page is running perfectly fine in my IDE.i have observed that this problem occurs when i use any .js file in my project.
Please helpAs the stack trace states ("please see the server log file for more information"), you should look at the server log to get more details on what is causing this.
-
Hope I'm in the right place... forum for people new to java(???).
I'm working with netbeans 7.0.1, trying to deploy an app in glassfish 3.1.1.
The app is built using maven.
Java platform used is 1.7
OS is windows 7, and of course, database engine is oracle :)
I can build every component of the project successfully.
But when I try to deploy the app, I get an error:
********************** ear ***************************
Starting GlassFish Server 3.1.1
GlassFish Server 3.1.1 is running.
Initial deploying PROJECT-ear to D:\NetBeansDev\PROJECT\PROJECT-ear\target\gfdeploy\pt.neosit_PROJECT-ear_ear_1.0-SNAPSHOT
Completed initial distribution of PROJECT-ear
Initializing...
deploy?DEFAULT=D:\NetBeansDev\PROJECT\PROJECT-ear\target\gfdeploy\pt.neosit_PROJECT-ear_ear_1.0-SNAPSHOT&name=pt.neosit_SiFiCAP-ear_ear_1.0-SNAPSHOT&force=true failed on GlassFish Server 3.1.1
Error occurred during deployment: Exception while preparing the app : org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;. Please see server.log for more details.
The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:173)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:125)
at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:203)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
******************************* @GLASSFISH ****************************************
SEVERE: SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8]
SEVERE: SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
SEVERE: Exception while preparing the app
SEVERE: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
at org.slf4j.impl.SimpleLogger.formatAndLog(SimpleLogger.java:222)
at org.slf4j.impl.SimpleLogger.info(SimpleLogger.java:258)
at org.hibernate.cfg.annotations.Version.<clinit>(Version.java:43)
at org.hibernate.cfg.AnnotationConfiguration.<clinit>(AnnotationConfiguration.java:135)
at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:127)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71)
at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:205)
at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119)
at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214)
at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483)
at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221)
at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290)
at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250)
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444)
at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308)
at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)
at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171)
at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143)
at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94)
at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)
at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)
at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)
at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:204)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
PS: slfj files in classpath;:
log4j-1.2.16.jar
slf4j-api-1.6.2.jar
slf4j-simple-1.6.2.jar
Thanks for any help
NunoI have no slfj files in the system with a version lower than 1.6. Neither in any file...
The GlassFish log files are:
1009 SEVERE Exception while preparing the app : org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljav... (details) javax.enterprise.system.tools.admin.org.glassfish.deployment.admin Nov 24, 2011 15:07:29.266 ThreadID=36;ThreadName=Thread-2;
Complete Message
Exception while preparing the app : org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;~
1008 SEVERE org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lor... (details) javax.enterprise.system.core.com.sun.enterprise.v3.server Nov 24, 2011 15:07:29.235 ThreadID=36;ThreadName=Thread-2;
Complete Message
org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; at org.slf4j.impl.SimpleLogger.formatAndLog(SimpleLogger.java:222) at org.slf4j.impl.SimpleLogger.info(SimpleLogger.java:258) at org.hibernate.cfg.annotations.Version.<clinit>(Version.java:43) at org.hibernate.cfg.AnnotationConfiguration.<clinit>(AnnotationConfiguration.java:135) at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:127) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:205) at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872) at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290) at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86) at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141) at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138) at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215) at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224) at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250) at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828) at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444) at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308) at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87) at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94) at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193) at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175) at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145) at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:204) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)
1007 SEVERE Exception while preparing the app(details) javax.enterprise.system.core.com.sun.enterprise.v3.server Nov 24, 2011 15:07:29.235 ThreadID=36;ThreadName=Thread-2;
1006 SEVERE See http://www.slf4j.org/codes.html#version_mismatch for further details.(details) javax.enterprise.system.std.com.sun.enterprise.server.logging Nov 24, 2011 15:07:29.228 ThreadID=36;ThreadName=Thread-2;
1005 SEVERE The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8](details) javax.enterprise.system.std.com.sun.enterprise.server.logging
I tried to deploy the ear file from glassfish server, and the log files are the following:
1017 WARNING Response Error during finishResponse java.lang.NullPointerException at com.sun.enterprise.v3.servic... (details) javax.enterprise.system.container.web.com.sun.enterprise.web Nov 24, 2011 15:14:09.699 ThreadID=42;ThreadName=Thread-2;
Complete Message
Response Error during finishResponse java.lang.NullPointerException at com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectionKeyHandler$CloseHandler.notifyClosed(MonitorableSelectionKeyHandler.java:94) at com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectionKeyHandler$CloseHandler.remotlyClosed(MonitorableSelectionKeyHandler.java:90) at com.sun.grizzly.BaseSelectionKeyHandler.notifyRemotlyClose(BaseSelectionKeyHandler.java:233) at com.sun.grizzly.util.OutputWriter.notifyRemotelyClosed(OutputWriter.java:353) at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:148) at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:76) at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:326) at com.sun.grizzly.http.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:398) at com.sun.grizzly.http.SocketChannelOutputBuffer.endRequest(SocketChannelOutputBuffer.java:389) at com.sun.grizzly.http.ProcessorTask.action(ProcessorTask.java:1090) at com.sun.grizzly.tcp.Response.action(Response.java:268) at com.sun.grizzly.tcp.Response.finish(Response.java:412) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:341) at org.apache.catalina.connector.Response.finishResponse(Response.java:582) at org.apache.catalina.connector.CoyoteAdapter.afterService(CoyoteAdapter.java:370) at com.sun.enterprise.v3.services.impl.ContainerMapper.afterService(ContainerMapper.java:366) at com.sun.grizzly.http.ProcessorTask.finishResponse(ProcessorTask.java:760) at com.sun.grizzly.http.ProcessorTask.postResponse(ProcessorTask.java:750) at com.sun.grizzly.arp.DefaultAsyncExecutor.postExecute(DefaultAsyncExecutor.java:198) at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:101) at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193) at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175) at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145) at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:204) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)
1016 INFO Exception Occurred :Error occurred during deployment: Exception while preparing the app : Could not ... (details) org.glassfish.admingui Nov 24, 2011 15:11:16.391 ThreadID=114;ThreadName=Thread-2;
1015 SEVERE Exception while preparing the app : Could not initialize class org.hibernate.ejb.Ejb3Configuration(details) javax.enterprise.system.tools.admin.org.glassfish.deployment.admin Nov 24, 2011 15:11:13.696 ThreadID=127;ThreadName=Thread-2;
1014 SEVERE Could not initialize class org.hibernate.ejb.Ejb3Configuration java.lang.NoClassDefFoundError: Could... (details)
javax.enterprise.system.core.com.sun.enterprise.v3.server Nov 24, 2011 15:11:13.480 ThreadID=127;ThreadName=Thread-2;
Could not initialize class org.hibernate.ejb.Ejb3Configuration java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:205) at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119) at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:214) at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:483) at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:221) at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:167) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872) at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290) at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86) at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141) at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138) at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215) at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224) at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250) at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138) at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:202) at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:195) at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182) at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:184) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828) at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444) at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308) at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87) at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171) at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143) at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:94) at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193) at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175) at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145) at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:204) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:722)
1013 SEVERE Exception while preparing the app(details) javax.enterprise.system.core.com.sun.enterprise.v3.server
Thanks for the help -
Project deployment troubles in Glassfish v3 preview
Hi all!
I've just started to use enterprise technologies and got trouble with deploying the java ee sample in Glassfish v3 preview server. Please, write what I'm doing wrong. Everything is ok, when I deploy a web application, but an enterprise application deployment fails.
Here are the logs:
[#|2009-09-12T11:19:27.718+0500|INFO|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|The Admin Console is already installed, but not yet loaded.|#]
[#|2009-09-12T11:19:27.750+0500|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=13;_ThreadName=Thread-1;|Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://ni-comp:32878/jmxrmi|#]
[#|2009-09-12T11:19:27.750+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=11;_ThreadName=Thread-1;org.glassfish.deployment.common [45];|Started bundle org.glassfish.deployment.common [45]|#]
[#|2009-09-12T11:19:28.703+0500|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|GlassFish v3 startup time : Felix(2172ms) startup services(2985ms) total(5157ms)|#]
[#|2009-09-12T11:19:28.718+0500|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=14;_ThreadName=Thread-1;Thread[GlassFish Kernel Main Thread,5,main];|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.poll (ms) 5000|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.dir F:\glassfishv3\glassfish\domains\vajvajvaj\autodeploy-bundles|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.debug 1|#]
[#|2009-09-12T11:19:29.656+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.bundles.new.start true|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=16;_ThreadName=Thread-1;org.glassfish.admin.monitoring-core [116];|Started bundle org.glassfish.admin.monitoring-core [116]|#]
[#|2009-09-12T11:19:30.062+0500|INFO|glassfish|null|_ThreadID=17;_ThreadName=Thread-1;|Listening on port 32872|#]
[#|2009-09-12T11:19:35.718+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=16;_ThreadName=Thread-1;org.glassfish.deployment.admin [42];|Started bundle org.glassfish.deployment.admin [42]|#]
[#|2009-09-12T11:19:53.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.ejb.gf-ejb-connector [55];|Started bundle org.glassfish.ejb.gf-ejb-connector [55]|#]
[#|2009-09-12T11:19:53.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.gf-web-connector [57];|Started bundle org.glassfish.web.gf-web-connector [57]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.beans-integration [149];|Started bundle org.glassfish.web.beans-integration [149]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.security [135];|Started bundle org.glassfish.security [135]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.persistence.jpa-connector [101];|Started bundle org.glassfish.persistence.jpa-connector [101]|#]
[#|2009-09-12T11:19:53.671+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.connectors.gf-connectors-connector [54];|Started bundle org.glassfish.connectors.gf-connectors-connector [54]|#]
[#|2009-09-12T11:19:54.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.scripting.gf-jruby-connector [56];|Started bundle org.glassfish.scripting.gf-jruby-connector [56]|#]
[#|2009-09-12T11:19:54.640+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.extras.osgi-container [129];|Started bundle org.glassfish.extras.osgi-container [129]|#]
[#|2009-09-12T11:19:54.640+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.extras.grizzly-container [72];|Started bundle org.glassfish.extras.grizzly-container [72]|#]
[#|2009-09-12T11:19:54.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.war-util [142];|Started bundle org.glassfish.web.war-util [142]|#]
[#|2009-09-12T11:19:54.671+0500|SEVERE|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=18;_ThreadName=Thread-1;|Error during deployment : no container associated with application of type : ear
java.lang.RuntimeException: no container associated with application of type : ear
at com.sun.enterprise.glassfish.web.WarHandler.handles(WarHandler.java:89)
at com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:163)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:174)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:419)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:434)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:521)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)Hi all!
I've just started to use enterprise technologies and got trouble with deploying the java ee sample in Glassfish v3 preview server. Please, write what I'm doing wrong. Everything is ok, when I deploy a web application, but an enterprise application deployment fails.
Here are the logs:
[#|2009-09-12T11:19:27.718+0500|INFO|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|The Admin Console is already installed, but not yet loaded.|#]
[#|2009-09-12T11:19:27.750+0500|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=13;_ThreadName=Thread-1;|Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://ni-comp:32878/jmxrmi|#]
[#|2009-09-12T11:19:27.750+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=11;_ThreadName=Thread-1;org.glassfish.deployment.common [45];|Started bundle org.glassfish.deployment.common [45]|#]
[#|2009-09-12T11:19:28.703+0500|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=11;_ThreadName=Thread-1;|GlassFish v3 startup time : Felix(2172ms) startup services(2985ms) total(5157ms)|#]
[#|2009-09-12T11:19:28.718+0500|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=14;_ThreadName=Thread-1;Thread[GlassFish Kernel Main Thread,5,main];|[Thread[GlassFish Kernel Main Thread,5,main]] started|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.poll (ms) 5000|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.dir F:\glassfishv3\glassfish\domains\vajvajvaj\autodeploy-bundles|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.debug 1|#]
[#|2009-09-12T11:19:29.656+0500|INFO|glassfish|null|_ThreadID=15;_ThreadName=Thread-1;|felix.fileinstall.bundles.new.start true|#]
[#|2009-09-12T11:19:28.734+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=16;_ThreadName=Thread-1;org.glassfish.admin.monitoring-core [116];|Started bundle org.glassfish.admin.monitoring-core [116]|#]
[#|2009-09-12T11:19:30.062+0500|INFO|glassfish|null|_ThreadID=17;_ThreadName=Thread-1;|Listening on port 32872|#]
[#|2009-09-12T11:19:35.718+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=16;_ThreadName=Thread-1;org.glassfish.deployment.admin [42];|Started bundle org.glassfish.deployment.admin [42]|#]
[#|2009-09-12T11:19:53.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.ejb.gf-ejb-connector [55];|Started bundle org.glassfish.ejb.gf-ejb-connector [55]|#]
[#|2009-09-12T11:19:53.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.gf-web-connector [57];|Started bundle org.glassfish.web.gf-web-connector [57]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.beans-integration [149];|Started bundle org.glassfish.web.beans-integration [149]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.security [135];|Started bundle org.glassfish.security [135]|#]
[#|2009-09-12T11:19:53.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.persistence.jpa-connector [101];|Started bundle org.glassfish.persistence.jpa-connector [101]|#]
[#|2009-09-12T11:19:53.671+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.connectors.gf-connectors-connector [54];|Started bundle org.glassfish.connectors.gf-connectors-connector [54]|#]
[#|2009-09-12T11:19:54.625+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.scripting.gf-jruby-connector [56];|Started bundle org.glassfish.scripting.gf-jruby-connector [56]|#]
[#|2009-09-12T11:19:54.640+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.extras.osgi-container [129];|Started bundle org.glassfish.extras.osgi-container [129]|#]
[#|2009-09-12T11:19:54.640+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.extras.grizzly-container [72];|Started bundle org.glassfish.extras.grizzly-container [72]|#]
[#|2009-09-12T11:19:54.656+0500|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=18;_ThreadName=Thread-1;org.glassfish.web.war-util [142];|Started bundle org.glassfish.web.war-util [142]|#]
[#|2009-09-12T11:19:54.671+0500|SEVERE|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=18;_ThreadName=Thread-1;|Error during deployment : no container associated with application of type : ear
java.lang.RuntimeException: no container associated with application of type : ear
at com.sun.enterprise.glassfish.web.WarHandler.handles(WarHandler.java:89)
at com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:163)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:174)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:419)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:434)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:521)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:137)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:313)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:180)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:208)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:655)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) -
Hi All,
I want to know if i can deploy (Install) OIM under Glassfish instead of Oracle Application Server?
YounisCertified combinations for OIM (Oracle Identity Manager - the provisioning product) are available at:
http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html#BABGBGHI -
Deploy ADF to GlassFish - Jdev 11.1.2
Hello:
Has anyone successfully deployed a ADF/Oracle DB app to GlassFish? Is this a supported configuration?
ThanksIs this a supported configuration?Nope. On the thread where you asked about JBoss, Shay gave you a link with the supported configurations.
John -
Can't deploy BlazeDS on Glassfish v3
Hi,
I'm trying to deploy a sample application with BlazeDS on Glassfish v3. On each deployments this exception is rising :
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: PWC1430: Unable to add listener of type: flex.messaging.HttpFlexSession, because it does not implement any of the required ServletContextListener, ServletContextAttributeListener, ServletRequestListener, ServletRequestAttributeListener, HttpSessionListener, or HttpSessionAttributeListener interfaces
It seems that flex.messaging.HttpFlexSession needs to implement some interfaces.
Is there a way to use BlazeDS on Glassfish v3 ?
Thank you.
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- Http Flex Session attribute and binding listener support -->
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
<!-- MessageBroker Servlet -->
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/flex/services-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MessageBrokerServlet</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
</web-app>
remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service" class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="blazeds" channels="my-amf">
<properties>
<source>test.HelloService</source>
<scope>application</scope>
</properties>
<channels>
<channel ref="my-amf"/>
</channels>
</destination>
</service>
services-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
</services>
<channels>
<channel-definition id="my-amf">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"/>
</channel-definition>
</channels>
</services-config>
HelloService.java
package test;
public class HelloService {
public String greet(String who) {
if (who == null) {
who = "world";
return "Hello, " + who + "!";Thank you, if it works for you, the problem comes from me
I have tried to deploy the turnkey with a fresh installation of Glasshfish v3 and it's works fine, everything is nice.
Then, I tried to deploy on my first Glassfish and it crashs with the above exception.
I don't have the time to hunt the problem, but it probably comes from a jar or something like this.
* solved * -
Deploying Mapviewer on Glassfish?
Hello,
i'm trying to setup mapviewer with glassfish. Deploying mapviewer.ear (or the war file inside it) worked fine, mapviewer is starting up and i can access the mapviewer page.
But i'm not sure on how to configure the necessary map_admin_role in glassfish so that i can login as oc4jadmin.
What do i have to do to login as oc4jadmin?
Regards,
DirkSteps to perform:
Configurations>server-config>Security
make
Default Principal to Role Mapping = Enabled
Configurations>server-config>Security>Realms>file
make user
map_admin_role with the asadmin role
Deploy the web.war
All should be fine at the admin login time.
I have troubles after that because lot of pages are not running so fine. -
JSFCRUD JPA app can't be deployed to another glassfish 2.1 server
OK, my colleague wrote a JSF Crud app based on this tutorial:
http://www.netbeans.org/kb/docs/web/jsf-jpa-crud-wizard.html
It works fine when I build and run it on my sandbox app server, but when I try to deploy it to our company test app server, the server log complains that org.jnp.interfaces.NamingContextFactory cannot be instantiated because the class is not found (stack trace below). Using google, the only jar I can find that contains this class is in jbossclient-all.jar. I tried adding that to my project's libraries, but then it won't even run properly on my sandbox system. Anybody have any suggestions on an easy way to fix this or should I continue with re-writing it from scratch using Hibernate?
[#|2009-09-25T15:33:40.422-0700|SEVERE|sun-appserver2.1|com.sun.org.apache.commons.modeler.Registry|_ThreadID=16;_ThreadName=Timer-8;_RequestID=02bcabab-8e86-48cc-a9c3-8342a1a72dd6;|Null component com.sun.appserv:type=JspMonitor,name=jsp,WebModule=//server/ClientPricing,J2EEApplication=null,J2EEServer=server|#]
[#|2009-09-25T15:33:40.437-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=Timer-8;_RequestID=02bcabab-8e86-48cc-a9c3-8342a1a72dd6;|WEB0123: WebModule [ClientPricing] failed to deploy and has been disabled
java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
at com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:193)
at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:168)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:159)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5224)
at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)You can check to make sure that all of the required libraries were targeted to the managed servers as well as the admin server. Use the WLS administration console and look at the "deployments" link - check each library and view the targets for it.
It sounds like perhaps the JRF libraries only are targeted to the AdminServer
John -
Getting error While testing Web Service deployed Glassfish using Net beans.
Hi,
I created a web service in netbeans. I deployed it on glassfish server too.
My web service contains one method which return type is Document. Here is my web service class code.
@WebService(serviceName = "DocumentTest")
@Stateless()
public class DocumentTest {
* This is a sample web service operation
@WebMethod(operationName = "hello")
public String hello(@WebParam(name = "name") String txt) {
return "Hello " + txt + " !";
@WebMethod
public Document getDocument(){
Document doc = null;
return doc;
}After Deployment when I m testing the web service I am getting follwoing error on Browser
Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL
Possible causes can be invoking https when the application is not configured for securityI am just testing whether I can send Document object or not.
Regards,
Ajay Sharma
Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM
Edited by: Ajay Sharma on Nov 29, 2012 2:16 PMAjay Sharma wrote:
I am just testing whether I can send Document object or not.An XML document? Wouldn't that be a really ridiculous web service? -
@WebService in EJB 3.0 ? Error on deployment
Hi,
I have implemented a stateless Session EJB with a @WebService Annotation. The EJB Modul can be deployed on a Glassfish Server with out errors.
When I try to deploy the EJB Modul on Weblogic 10.0 I got the following Error:
<23.10.2007 15.03 Uhr GMT+01:00> <Error> <HTTP> <BEA-101216> <Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/ix_workflow/WorkflowModelService".
class: org.imixs.workflow.jee.ejb.jaxws.GetEnvironmentList could not be found
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
Truncated. see log file for complete stacktrace
>
<23.10.2007 15.03 Uhr GMT+01:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1193148199315' for task '35'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(BEA_Test1.jar)
Unable to deploy EJB: WorkflowManagerImplementation from BEA_Test1.jar:
My code dose not include a Class
org.imixs.workflow.jee.ejb.jaxws.GetEnvironmentList
nor the package org.imixs.workflow.jee.ejb.jaxws
Can anybody help me or give me a hint what this error message means?
Thanks a lot
RalphHi, Rick
Thanks for your help.
I deleted de application-client.xml file, added the following lines to the web.xml file:
<ejb-ref>
<ejb-ref-name>ejb/SessionEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>ar.com.eds.ejb3.model.SessionEJB</remote>
</ejb-ref>
and now I´m using oracle.j2ee.rmi.RMIInitialContextFactory
there is no error, and it doesn´t throw any exception but the following line returns null.
SessionEJB sessionEJB = (SessionEJB)context.lookup("java:comp/env/ejb/SessionEJB");
Its seems the lookup method finds the remote ejb because it doesn´t fail, but it returns null.
Any idea what is wrong?
Mauricio. -
InputFile, usesUpload and excel export on Glassfish
Hello,
I am working in an ADF application which is deployed on a Glassfish server. I use jdeveloper 11.1.2.3.0.
I have problems with two components : the af:inputFile and the af:exportCollectionActionListener.
Cause of af:inputFile I had to change the usesUpload property to true.
[code]<af:form id="f1" usesUpload="true">[/code]
In Glassfish, if usesUpload property is true, the af:inputFile component have a strange behavior where the web browser ask user to refresh the page.
The other problem is about export excel functionality.
[code]
<af:commandImageLink text="" id="cil4" icon="/adf/images/excel.png">
<af:exportCollectionActionListener type="excelHTML" exportedId="t2"/>
</af:commandImageLink>
[/code]
In Glassfish, clicking on the export excel button raise a nullPointerException. This nullpointerException does not occur if the usesUpload property is set to false.
Knowing that there is no problem in weblogic, how can I use af:inputFile and af:exportCollectionActionListener components in an application which must be deployed on Glassfish? Is there a solution? or is it an ADF Essential's limitation?used the same code for the export to excel on 11.1.2.3 of adf-essentials deployed to Oracle GlassFish Server 3.1.2.2 (build 5)
<af:menu text="My Options" id="m2">
<af:commandMenuItem text="Export to Excel"
id="cmi1">
<af:exportCollectionActionListener type="excelHTML"
exportedId="t1"/>
</af:commandMenuItem>
Found no issues. Will give the inputfile a shot and let you know what I find.
Maybe you are looking for
-
We are working on a requirement for using SPML in our project and we�ve been able to do simple tasks like Add Delete Search Modify a user using SPML. Now here is a brief understanding jotted down in points that I�ve about SPML SPML is an XML- based f
-
How to Reset Windows 8 Admin Password without Disk
Problem:Forgot Windows 8 admin password and no reset disk available, how can I reset Windows 8 admin password? On the occasion, how to reset password on Windows 8 seems to be our problematic issue. However, the problem looks difficult, not difficult
-
Conceal data item (forms generation)
Hi How could I generate a conceal data item (for example, for entering passwords)? I can't find any property, and the documentation says that the conceal form item property is not set by designer... Thanks
-
Can i still get my photos back ?
My I plus in iphone 4 to the computer. frist time go to www,Icloud.com by mistake I erased the phone and than automatically up date my ios to 7.1.1 I do not have any backup photos on my phone or computer I did not backup photos at all.. On the phone
-
Ipod nano keeps turning off mid song unless plugged into a power source
ipod nano keeps turning off mid song unless plugged into a power source