[Messaging, JMS & JBossMQ] - JMS Framework Stops on changing System Time
by hskiran
Hello All,
My Application uses JMS to execute scheduled Jobs, and these jobs run every minute.
But when JBOSS is running, if I change the System time, I get following exception from JMS framework and the whole JMS framewrok stops working. (org.jboss.mq.SpyJMSException: Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
)
I tried to set the Exception listener, but did not work out. Does anybody has an idea what is the problem?
006-12-13 18:55:57,732 TRACE [org.jboss.mq.il.uil2.UILServerIL] Connecting with addr=10.0.10.52, port=8093, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@1d60412, enableTcpNoDelay=true, bufferSize=2048, chunkSize=1000000
2006-12-13 18:55:57,732 TRACE [org.jboss.mq.il.uil2.UILServerIL] Begin connect loop, maxRetries=10, delay=0
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] start called
java.lang.Exception: Start stack trace
at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96)
at org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:666)
at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:532)
at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:334)
at org.jboss.mq.Connection.authenticate(Connection.java:1114)
at org.jboss.mq.Connection.(Connection.java:267)
at org.jboss.mq.Connection.(Connection.java:338)
at org.jboss.mq.SpyConnection.(SpyConnection.java:68)
at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
at de.coconet.job.AbstractJob.executeWait(AbstractJob.java:1310)
at de.coconet.mwcustody.task.ExecuteJob.executeJob(ExecuteJob.java:241)
at de.coconet.job.TimerEntry.run(TimerEntry.java:91)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.UILServerILService] Accepted connection: Socket[addr=/10.0.10.52,port=3806,localport=8093]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : getThreadGroup
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : getThreadGroup
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] start called
java.lang.Exception: Start stack trace
at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:134)
at java.lang.Thread.run(Thread.java:595)
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg29361740[msgType: m_authenticate, msgID: -2147483440, error: null]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.Connection] PING 1166016357742 Connection@29140661[token=ConnectionToken:ID:7/810ca89fb0609798e062b52c9eef75dc rcvstate=STARTED]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.Connection] Notified of failure reason=Unexpected ping failure Connection@29140661[token=ConnectionToken:ID:7/810ca89fb0609798e062b52c9eef75dc rcvstate=STARTED]
org.jboss.mq.SpyJMSException: Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
at org.jboss.mq.Connection.pingServer(Connection.java:887)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1327)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Client is not connected
at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:224)
at org.jboss.mq.il.uil2.UILServerIL.ping(UILServerIL.java:462)
at org.jboss.mq.Connection.pingServer(Connection.java:883)
... 3 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993368#3993368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993368
19 years, 7 months
[JBoss Seam] - Re: how retrieve current UIComponent
by jarkko@jab.fi
Hello,
I've a slight problem working with Seam enabled (not stricly related to seam ;) Portlets, JSF and Iceface. I think that each portlet has their own JSF view, anyone knows if this is correct?
Now, I use Seam to help those portlets communicate (through session, maybe one day I'll get the conversation scope to work too) with each other. With the inclusion of AJAX (Icefaces) I'm having some trouble getting screen updates at correct times. Like e.g. when drag-n-dropping something from one portlet to another. After dropping an draggable object to other portlet the backing bean (Seam enhanced POJO/SFSB) has got the correct id of JSF component, now however the drag initiated from other portlet (with it's own jsf view) and that JSF view doens't known anything the other view (from where I got the id anyways).
Is there are way to query for all JSF views to find a component?
I admit, it's quite unclear for me how the JSF works internally (how the views are structured etc), so bear if the problem is too silly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993366#3993366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993366
19 years, 7 months
[JBoss Seam] - Re: Using Seam from External Invocation
by msduk
Thanks Gavin but I think that might require a slightly better understanding that I have.
Taking the broader problem, running repeated actions from antoher thread and still having access to the seam beans . Can anyone suggest something please?
I have tried Component.getInstance("testBean") for example but I get
java.lang.IllegalStateException: No application context active
| at org.jboss.seam.Component.forName(Component.java:1534)
| at org.jboss.seam.Component.getInstance(Component.java:1584)
| at org.jboss.seam.Component.getInstance(Component.java:1567)
| at org.jboss.seam.Component.getInstance(Component.java:1561)
| at halvor.schedulers.db.PendingOrderQuartzTarget.execute(PendingOrderQuartzTarget.java:11)
| at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
| at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
|
I am assuming I need to configure something with this approach but do not know where to start.
Any other approach suggestions are welcome; i am not tied to quartz in any way.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993360#3993360
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993360
19 years, 7 months
[JBossWS] - Upgrading 4.0.4 to 4.0.5
by prakah
Hello All,
I have an Medrec application running in JBoss 4.0.4 version. But the same application doesn't work in JBoss 4.0.5, even unable to compile medrec for this version.
I think, there might be some changes were done WebService part. The error is given below.
| genWSjava:
| [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/axis/wsdl/WSDL2Java
| [java] Java Result: 1
|
| compilewsejb:
| [javac] Compiling 14 source files to /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb
| [javac] /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb/com/bea/medrec/webservices/AddressWS.java:148: package org.jboss.axis.description does not exist
| [javac] private static org.jboss.axis.description.TypeDesc typeDesc =
| [javac] ^
|
| ..
| ..
| ..
| ..
I have already checked that there is no jar available in JBoss 4.0.5 which contains org.jboss.axis package.
Please give me an idea to solve the problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993358#3993358
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993358
19 years, 7 months
[EJB 3.0] - @Enumerated with non-ordinal enumeration
by Jeilong
Given this enumeration:
| public enum Gender {
|
| MALE ("M"), FEMALE ("F");
|
| private String codeInDatabase;
|
| private Gender(String codeInDatabase) {
| this.codeInDatabase = codeInDatabase;
| }
|
| public String getCodeInDatabase() {
| return codeInDatabase;
| }
| }
and this fragment from my POJO:
| @Enumerated(EnumType.STRING)
| @Column(name = "gender")
| public Gender getGender() {
| return gender;
| }
| public void setGender(Gender gender) {
| this.gender = gender;
| }
In the database the column "gender" contains the value M or F. When I query the pojo I get the following exception:
javax.ejb.EJBException: java.lang.IllegalArgumentException:
| Unknown name value for enum class com.company.enumeration.Gender: M
Is this a bug? Or is using non-ordinal enumerations not possible at all? I'm using 4.0.5.GA with the EJB3 profile.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993352#3993352
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993352
19 years, 7 months
[JBoss jBPM] - Saving TaksInstance, Task == NULL
by jstachera
I have a problem with saving task instance.
First I create the process instance and then I save it.
ProcessDefinition processDefinition = context.getGraphSession().findLatestProcessDefinition(pName);
| org.jbpm.graph.exe.ProcessInstance processInstance = new ProcessInstance(processDefinition);
| context.save(processInstance);
In next step I retrieve the process instance and create the start task. It takes place in different method with new context.
public static long createStartTaskInstance(int processInstanceId, JbpmDefSession session) throws Exception {
| JbpmContext context = session.getContext();
| try {
| ProcessInstance processInstance = context.getProcessInstance(processInstanceId);
| TaskInstance taskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance();
| context.save(taskInstance);
| return taskInstance.getId();
| }
| catch (Exception e) {
| log.error(e);
| }
| finally {
| context.close();
| }
| }
|
After creating the start task instance I checked the JBPM_TASKINSTANCE table for this task. I found that the task data does not have a reference to task (task_ column is empty) as well as it has empty name_ column, the rest is ok. Because of that it is not possible to get the Task definition from the task instance:
taskInstance.getTask()
returns null.
Where is the problem ?? Or maybe it can not be done in this way ??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993350#3993350
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993350
19 years, 7 months
[JBossWS] - javax.xml.ws.soap.SOAPFaultException: Port does not contain
by ramkrishnatripathi
Hi guys,
I am using jboss4.0.4GA.
I have created a webservice to add Two numbers.
After deploying the project I get CalculatorService.wsdl
Now I want to consume the webservice by client program.
After running the client program I get the following Exception:-
So Please tell me Where I am wrong??
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Endpoint {http://hello/jaws}CalculatorPort does not contain operation meta data for: {http://hello/}add
at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:80)
at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:200)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:549)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153)
at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105)
at $Proxy7.add(Unknown Source)
at hello.JAXWSClient.main(JAXWSClient.java:36)
Interface
=======
package hello;
import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.ejb.Local;
import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@Local
@WebService
@SOAPBinding(style=SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL)
public interface CalculatorInf extends Remote{
@WebMethod(operationName="add", action="urn:add")
public String add(int i, int j) throws RemoteException;
}
implementaion class
====
package hello;
import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.ejb.Stateless;
@WebService
//(endpointInterface="hello.CalculatorInf")
@Stateless
public class Calculator implements CalculatorInf {
public Calculator() {}
@WebMethod(operationName="add", action="urn:add")
public String add(int i, int j) {
int k = i +j ;
System.out.println(i + "+" + j +" = " + k);
return String.valueOf(k);
}
}
Client Program
=========
package hello;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.rpc.*;
public class JAXWSClient {
static String host = "localhost";
static String portType = "Calculator";
static String serviceName = "hello-servlet";
static String serviceEndpointAddress = "http://" + host + ":8080/" + serviceName;
static String nameSpace = "http://hello/jaws";
public static void main(String[] args) throws Exception {
URL wsdlLocation = new URL(serviceEndpointAddress + "/" + portType + "?WSDL");
QName serviceNameQ = new QName( nameSpace, "CalculatorPort");
Service service = Service.create(wsdlLocation, serviceNameQ);
CalculatorInf first = (CalculatorInf) service.getPort(serviceNameQ,hello.CalculatorInf.class);
System.out.println("1: " + first.add(2, 2));
}
}
WSDL
===
<definitions name="CalculatorService" targetNamespace="http://hello/jaws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://hello/jaws" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <schema elementFormDefault="qualified" targetNamespace="http://hello/jaws" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://hello/jaws" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
-
-
-
-
-
-
-
-
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
-
<soap:operation soapAction="" />
-
<soap:body use="literal" />
-
<soap:body use="literal" />
-
-
<soap:address location="http://RAM-KRISHNA:8080/hello-servlet/Calculator" />
=============
Thanks.........
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993338#3993338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993338
19 years, 7 months
[JBoss Portal] - 401 error on selecting dashboard....
by macjboss
Hi,
I am trying to secure access to the portal using NTLM and Active Directory. So far I have manged to create my own servlet based on JCIFs NtlmServlet and created my own LoginModule to authenticate the user against AD and it all work fine; i can successfully log in to the portal.
I have changed the BASIC auth to FORM auth in the web.xml in jboss-portal.sar\portal-core.war\WEB-INF, configured the login page to point to my servlet, that deals with the post to j_security_check after forcing a log in through NTLM. My custom LoginModule then gets called with the username from j_security_check, they are checked against AD and their roles populated, one of which is AUTHENTICATED, user logs in.
The problem is; having been lgged in, when I click on My Dashboard. I get a 401 error:
This request requires HTTP authentication ()
It seems that going to this location, BASIC authentication is being applied. Having already successfully logged in to the portal, I'm not sure why this is happening?
If anyone could point me int he right direction that would be great.
Thanks,
Paul
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993333#3993333
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993333
19 years, 7 months
[JBoss Seam] - Re: Event scoped component accessing Conversion scope
by quilleashm
Done some more investigation into this. I have a minimal test case.
JSF page
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE html
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html">
| <head>
| <title>Element Name Search</title>
| </head>
| <body>
| <h:form>
| <h:inputText value="#{elementSearchAction.searchString}" binding="#{elementSearchAction.searchStringInput}" />
| <h:commandButton value="Search" action="#{elementSearchAction.find}"/>
| </h:form>
| </body>
| </html>
|
Action component
| @Name( "elementSearchAction" )
| @Scope( ScopeType.EVENT )
| public class ElementSearchAction
| {
| @In( create = true )
| private Session referenceSession;
|
| private String searchString = "";
|
| private UIInput searchStringInput;
|
| public void find()
| {
| referenceSession.createQuery( "from Element where eltName like :eltName" ).setParameter( "eltName", searchString + "%" ).list();
| }
|
| public String getSearchString()
| {
| return searchString;
| }
|
| public void setSearchString( String searchString )
| {
| this.searchString = searchString;
| }
|
| public UIInput getSearchStringInput()
| {
| return searchStringInput;
| }
|
| public void setSearchStringInput( UIInput searchStringInput )
| {
| this.searchStringInput = searchStringInput;
| }
| }
|
The problem happens when a post-back is done to the page (hit the search button) and the restore view phase calls through to setSearchStringInput() to bind the control to the bean. At this point the Seam bijection interceptor jumps in and tries to populate the referenceSession but because the conversation context is not active yet it fails to do this.
Removing the binding of the input control and the form works fine on a post-back.
Changing the action to be conversation scoped gives this..
| binding="#{elementSearchAction.searchStringInput}": Target Unreachable, identifier 'elementSearchAction' resolved to null
|
presumably because the restore view phase is trying to do this binding but the conversation scope is not active yet.
I definately need to bind controls into the beans to do dynamic manipulation of controls. Do I need to rethink my component structure? Or something else? Is deferring seam bijection until after the restore view phase a possibility?
Cheers.
Mike.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993328#3993328
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993328
19 years, 7 months
[EJB 3.0] - <timeout-method> in ejb-jar.xml is supported in ebj3 RC9?
by goldfrog
I wrote a stateless session bean with timeservice. i don't want to use annonation @Timeout, so how can i define some timeout method in ejb-jar.xml?
i followed the ejb3 core specification and some examples in Mastering Enterprise JavaBeans? 3.0.
i added the following lines for the SLSB in ejb-jar.xml
<timeout-method>
<method-name>ejbTimeout</method-name>
<method-params>
<method-param>javax.ejb.Timer</method-param>
</method-params>
</timeout-method>
the timeout method defined in my SLSB(without @Timeout annotation) :
public void ejbTimeout(Timer timer) {
......
}
the deployments runs fine, and i successfully create a timer for the SLSB
but after a little while when the timeout method should be called, i receive an EJBException in console:
javax.ejb.EJBException: No method has been annotated with @Timeout
if i add @Timeout for the ejbTimeout(Timer timer) or make my Stateless Session Bean class implement javax.ejb.TimedObject , the EJBException disappears, ejbTimeout(Timer timer) is called and everything is ok.
My Environments JBoss 4.0.5.G.A JBoss EJB3 RC9
I want to know wether there is anything wrong for my code or ejb-jar.xml or just current ejb3 implementation does not support <timeout-method> now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993327#3993327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993327
19 years, 7 months
[Clustering/JBoss] - Unknown exceptions in jboss 5
by @jb0ss
2006-12-13 14:39:03,512 DEBUG [org.jboss.iiop.CorbaORBService] Starting jboss:service=CorbaORB
| 2006-12-13 14:39:03,514 DEBUG [org.jboss.iiop.CorbaORBService] Using OAIAddr=null
| 2006-12-13 14:39:03,524 DEBUG [org.jboss.iiop.CorbaORBService] Ignoring sunJDK14IsLocalBugFix=true due to inability to load org.jboss.iiop.SunJDK14IsLocalBugFix
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.iiop.SunJDK14IsLocalBugFix
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
| at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.iiop.CorbaORBService.startService(CorbaORBService.java:231)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.start(ServiceController.java:431)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
| at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
| at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
| at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
| at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
| at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
| at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
| 2006-12-13 14:39:03,543 DEBUG [org.jboss.iiop.CorbaORBService] Adding portable interceptor initializer: org.jboss.iiop.codebase.CodebaseInterceptorInitializer
| 2006-12-13 14:39:03,543 DEBUG [org.jboss.iiop.CorbaORBService] Adding portable interceptor initializer: org.jboss.iiop.csiv2.CSIv2Initializer
| .....
| .....
| 2006-12-13 14:39:16,248 DEBUG [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed: file:/opt/jboss-5.0.0.Beta1/server/all/deploy/sqlexception-service.xml
| 2006-12-13 14:39:16,251 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.web.deployment:war=/ROOT -> LifecycleException: Manager has not yet been started
|
|
| 2006-12-13 14:39:16,258 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployer] Saw org.jboss.system.server.started notification, starting connectors
| 2006-12-13 14:39:16,311 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
| .....
| .....
| 2006-12-13 15:06:36,432 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] membership changed from 1 to 1
| 2006-12-13 15:06:36,433 WARN [org.jboss.ha.framework.server.ClusterPartition] Stopping failed ClusterPartition
| javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.iiop.naming.ORBInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.iiop.naming.ORBInitialContextFactory]
| at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
| at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
| at javax.naming.InitialContext.init(InitialContext.java:223)
| at javax.naming.InitialContext.<init>(InitialContext.java:175)
| at org.jboss.ha.framework.server.ClusterPartition.stopService(ClusterPartition.java:402)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
| at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:206)
| at AOPContainerProxy$9.stop(AOPContainerProxy$9.java)
| 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:585)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:71)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallAction(LifecycleAction.java:169)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstall(KernelControllerContextAction.java:140)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
| at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:236)
| at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:723)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:685)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:325)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.stop(ServiceController.java:481)
| at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:131)
| at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:111)
| at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:44)
| at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.undeploy(AbstractSimpleRealDeployer.java:60)
| at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.prepareUndeploy(AbstractSimpleDeployer.java:42)
| at org.jboss.deployers.plugins.deployer.DeployerWrapper.prepareUndeploy(DeployerWrapper.java:105)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.prepareUndeploy(MainDeployerImpl.java:419)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.prepareUndeploy(MainDeployerImpl.java:428)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:357)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.shutdown(MainDeployerImpl.java:482)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:739)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:721)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.run(ServerImpl.java:706)
| Caused by: java.lang.ClassNotFoundException: org.jboss.iiop.naming.ORBInitialContextFactory
| at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
| at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
| ... 50 more
| 2006-12-13 15:06:36,439 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=jrmpha
| 2006-12-13 15:06:36,439 DEBUG [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Destroying jboss:service=invoker,type=jrmpha
| 2006-12-13 15:06:36,440 DEBUG [org.jboss.invocation.jrmp.server.JRMPInvokerHA] Destroyed jboss:service=invoker,type=jrmpha
| ....
| ....
| 2006-12-13 15:06:37,561 INFO [org.apache.coyote.http11.Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
| 2006-12-13 15:06:37,567 INFO [org.apache.coyote.ajp.AjpProtocol] Stopping Coyote AJP/1.3 on ajp-0.0.0.0-8009
| 2006-12-13 15:06:37,570 INFO [org.apache.catalina.core.AprLifecycleListener] Failed shutdown of Apache Portable Runtime
| 2006-12-13 15:06:37,575 ERROR [org.apache.catalina.core.StandardContext] error stopping
| LifecycleException: Manager has not yet been started
| at org.apache.catalina.session.StandardManager.stop(StandardManager.java:660)
| at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4498)
| at org.apache.catalina.core.StandardContext.preDeregister(StandardContext.java:5234)
| at org.apache.tomcat.util.modeler.BaseModelMBean.preDeregister(BaseModelMBean.java:1130)
| at org.jboss.mx.server.RawDynamicInvoker.preDeregister(RawDynamicInvoker.java:270)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.handlePreDeregister(BasicMBeanRegistry.java:432)
| at org.jboss.mx.server.registry.BasicMBeanRegistry.unregisterMBean(BasicMBeanRegistry.java:465)
| at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.server.MBeanServerImpl$1.run(MBeanServerImpl.java:400)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:395)
| at org.jboss.web.tomcat.tc6.deployers.TomcatDeployer.stop(TomcatDeployer.java:576)
| 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:585)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:71)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallAction(LifecycleAction.java:169)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstall(KernelControllerContextAction.java:140)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
| at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:236)
| at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:723)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:685)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
| at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:664)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:325)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
| at org.jboss.system.ServiceController.stop(ServiceController.java:481)
| at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:131)
| at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:111)
| at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:44)
| at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.undeploy(AbstractSimpleRealDeployer.java:60)
| at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.prepareUndeploy(AbstractSimpleDeployer.java:42)
| at org.jboss.deployers.plugins.deployer.DeployerWrapper.prepareUndeploy(DeployerWrapper.java:105)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.prepareUndeploy(MainDeployerImpl.java:419)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.prepareUndeploy(MainDeployerImpl.java:428)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:357)
| at org.jboss.deployers.plugins.deployment.MainDeployerImpl.shutdown(MainDeployerImpl.java:482)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:739)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:721)
| at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.run(ServerImpl.java:706)
| 2006-12-13 15:06:37,584 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] Stopping jboss.ejb:service=EJBTimerService
| 2006-12-13 15:06:37,585 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] Stopped jboss.ejb:service=EJBTimerService
| 2006-12-13 15:06:37,586 DEBUG [org.jboss.resource.work.JBossWorkManager] Stopping jboss.jca:service=WorkManager
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993325#3993325
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993325
19 years, 7 months