[Clustering/JBoss] - Re: WAR redeployment requires restart
by bstansberry@jboss.com
I see. I saw the deploy work at the beginning, which was from the initial deploy.
Anyway, I need org.jboss logged at DEBUG, not INFO.
BTW, how are you deploying this? What this datasource deployment via farming in the middle?
2008/05/26 08:17:53 | 08:17:52,994 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager
| 'jboss.jca:service=DataS
| ourceBinding,name=ssa' from JNDI name 'ssa'
| 2008/05/26 08:17:53 | send a packet PING : ping
| 2008/05/26 08:17:53 | Received a packet PING : ping
| 2008/05/26 08:17:53 | Send a packet PING : ok
| 2008/05/26 08:17:53 | read a packet PING : ok
| 2008/05/26 08:17:53 | Got ping response from JVM
| 2008/05/26 08:17:53 | 08:17:53,244 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.j
| ca:service=DataSourceBind
| ing,name=ssa' to JNDI name 'ssa'
| 2008/05/26 08:17:53 | 08:17:53,256 INFO [ClusterFileTransfer] Start push of file ssa-ds.xml to clus
| ter.
| 2008/05/26 08:17:53 | 08:17:53,295 INFO [ClusterFileTransfer] Finished push of file ssa-ds.xml to c
| luster.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153704#4153704
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153704
17 years, 11 months
[JBoss jBPM] - Re: 'Errors' in atm sample applications
by semby
Me too,
How you run the Helloworld Example...
I have an exception while running the hello build file :
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:227)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:197)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]javax.servlet.http.HttpServlet.service(HttpServlet.java:717)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]javax.servlet.http.HttpServlet.service(HttpServlet.java:810)[\n]"
[deployprocess] 17:39:03,836 DEBUG [content] << "[0x9]org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)[\n]"
however, in the web console, I have a "HelloWorld" Process definition but nothing in the jbossws
.
Help please!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153691#4153691
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153691
17 years, 11 months
[JNDI/Naming/Network] - Re: Java API
by bedehaan
jndi.properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://localhost:1099
VM Arguments (Using Eclipse)
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
-Djava.naming.provider.url=jnp://localhost:1099
-Djava.security.auth.login.config="C:\Documents and Settings\ben_dehaan\Desktop\P8API\jaas.conf.JBoss"
Code
package com.ibm.filenet.edu;
|
| import java.util.Iterator;
| import javax.security.auth.Subject;
|
| import com.filenet.api.collection.ObjectStoreSet;
| import com.filenet.api.constants.*;
| import com.filenet.api.core.*;
| import com.filenet.api.util.UserContext;
|
| public class CEConnectionEDU {
|
| public Connection getCEConnectionEDU()
| {
| String uri = "iiop://host:8080/FileNet/Engine";
| String username = "User";
| String password = "Pass";
| Connection conn = Factory.Connection.getConnection(uri);
| Subject subject = UserContext.createSubject( conn, username, password, null);
| UserContext uc = UserContext.get();
| uc.pushSubject(subject);
|
| return conn;
| }
|
| public Domain getDomainEDU(Connection conn)
| {
| String domainName = "P8Dom";
| Domain domain = Factory.Domain.fetchInstance(conn, domainName, null);
| System.out.println("Domain Name is: "+ domain.get_Name());
| return domain;
| }
|
| public void getObjectStoresEDU(Domain domain)
| {
| ObjectStoreSet osSet = domain.get_ObjectStores();
| ObjectStore store;
| Iterator osIter = osSet.iterator();
| System.out.println("Available Object Stores: ");
| while (osIter.hasNext())
| {
| store = (ObjectStore)osIter.next();
| System.out.println(store.get_Name());
| }
| }
|
| public ObjectStore getObjectStoreEDU (Domain domain, String objectStoreName)
| {
|
| ObjectStore store = Factory.ObjectStore.fetchInstance(domain, objectStoreName,null); System.out.println("Objectstore is: "+ store.get_Name());
| return store;
| }
|
| public Folder getFolderEDU(ObjectStore store, String folderName){
|
| Folder folder= Factory.Folder.fetchInstance(store,folderName, null);
| folderName = folder.get_FolderName();
| System.out.println(folderName + " folder has been retrieved");
| return folder;
|
| }
|
| public static void main(String[] args)
| {
| try{
|
| CEConnectionEDU myInstance = new CEConnectionEDU();
| Connection conn = myInstance.getCEConnectionEDU();
| Domain domain = myInstance.getDomainEDU(conn);
| myInstance.getObjectStoresEDU(domain);
|
| } catch (Exception e) {
| e.printStackTrace();
| }
|
|
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153690#4153690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153690
17 years, 11 months
[JBossWS] - Re: New to WS... Need help...
by PeterJ
Try something simpler. The web service (class only, no interface):
import javax.ejb.Stateless;
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
| @Stateless
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class ProfileMgmtBean {
| @WebMethod
| public int summ(int a, int b){
| return a+b;
| }
| }
Compile that, place in jar, and deploy it. Then use wsconsume to generate the client stubs. The client:
public class WSClient {
| public static void main(String[] args) {
| ProfileMgmtBeanService svc = new ProfileMgmtBeanService();
| ProfileMgmtBean inst = svc.getProfileMgmtBeanPort();
| System.out.println("And summ = " + inst.summ(1, 1));
| }
| }
Compile the client along with the stubs generated by wsconsume. Then use wsrunclient to run it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153688#4153688
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153688
17 years, 11 months