[jBPM] - Use rule to decide flow of process
by Mylos Kathos
Mylos Kathos [https://community.jboss.org/people/mylos78] created the discussion
"Use rule to decide flow of process"
To view the discussion, visit: https://community.jboss.org/message/817402#817402
--------------------------------------------------------------
Hi all !
I'm trying to integrate some Drool Rules in a simple process. Basically I'm creating an user class which has some properties:
User user = new User("George",50);
Map<String, Object> params = new HashMap<String, Object>();
params.put("user", user);
ProcessInstance processInstance = ksession.createProcessInstance("DemoProcess", params);
ksession.insert(processInstance);
ksession.insert(user);
ksession.startProcessInstance(processInstance.getId());
ksession.fireAllRules();
When the process is started, there is a Gateway with the following rule in it:
--------- Node X
[Start] -----X
--------- Node Y
The Rules in the Gateway(X) are:
user.IsAdult -->Go to Node X
!user.IsAdult -->Go to Node Y
The problem is that the condition is *always evaluated to Y* because the Rule that sets isAdult seems to be evaluated later (when the process already passed that Gateway)
rule "check user"
no-loop
when
$p: User( age > 18)
$pi: WorkflowProcessInstanceImpl($user: variables['user'])
then
$p.setIsAdult(true);
$pi.setVariable("user", $p);
update($p);
end
Is there something I am missing in my process ????
Thanks a lot
Mylos
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817402#817402]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[EJB3] - Access EJB from different WAR in JBoss AS via injection
by charlie7
charlie7 [https://community.jboss.org/people/charlie7] created the discussion
"Access EJB from different WAR in JBoss AS via injection"
To view the discussion, visit: https://community.jboss.org/message/817451#817451
--------------------------------------------------------------
My Project structure is as follows
JBoss AS 7.1.3.Final-redhat-4
A war VWeb.war which contains an EJB , when VWeb is deployed I get the following
java:global/VWeb/QServiceImpl!com.vi.qciapi.QService
java:app/VWeb/QServiceImpl!com.vi.qciapi.QService
java:module/QServiceImpl!com.vi.qciapi.QService
java:global/VWeb/QServiceImpl
java:app/VWeb/QServiceImpl
java:module/QServiceImpl
I have got another war (ControlWeb-portlet.war) which is a liferay project and I am trying to access the above EJB within a bean from ControlWeb-portlet . The bean is @ViewScoped This has been done based on a link found http://www.verborgh.be/articles/2010/01/06/porting-the-viewscoped-jsf-ann... here
I have tried all these combinations but nothing seems to work
@Inject
QService qService;
@EJB
QService qService;
@EJB(mappedName="java:global/VWeb/QServiceImpl!com.vi.qciapi.QService")
QService qService;
@EJB(beanInterface=QService.class)
QService qService;
@EJB(mappedName="java:global/VWeb/QServiceImpl!com.vi.qciapi.QService")
QService qService;
I kept an EJB in the same project ControlWeb-portlet which is deployed as follows
java:global/ControlWeb-portlet/CdiServiceImpl!com.clink.cdi.CdiServiceImpl
java:app/ControlWeb-portlet/CdiServiceImpl!com.clink.cdi.CdiServiceImpl
java:module/CdiServiceImpl!com.clink.cdi.CdiServiceImpl
java:global/ControlWeb-portlet/CdiServiceImpl
java:app/ControlWeb-portlet/CdiServiceImpl
java:module/CdiServiceImpl
and I am able to inject the EJB with
@EJB
CdiServiceImpl cdiServiceImpl;
Is there anything specific that I have to while accessing an EJB from a different WAR
Thanks in advance
Charlie
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817451#817451]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Javassist] - Proxing methods that are called from within the proxy instance itself
by Electro Type
Electro Type [https://community.jboss.org/people/electrotype] created the discussion
"Proxing methods that are called from within the proxy instance itself"
To view the discussion, visit: https://community.jboss.org/message/817501#817501
--------------------------------------------------------------
Hi, I'm new to Javassist. Thanks a lot to the developers of this project!
I'm pretty sure it's not the first time this question is asked, but I did a search and found nothing.
I'm proxying an abstract class. Something like this (I hope I'm not making any mistakes since this is not the exact code I use) :
ProxyFactory factory = new ProxyFactory();
factory.setSuperclass(MyAbstractClass.class);
factory.setFilter(new MethodFilter()
{
public boolean isHandled(Method method)
{
return true;
}
}
MyAbstractClass myInstance = (IDictionary<?>) factory.create(new Class<?>[0], new Object[0], new MyHandler());
MyAbstractClass is :
public abstract class MyAbstractClass
{
public String sayHello()
{
return "Hello";
}
public String sayHelloWord()
{
return sayHello() + " World!";
}
}
And MyHandler is Something like :
public class MyHandler implements MethodHandler
{
public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwable
{
System.out.println("In invoke()!");
[ + code to actually call thisMethod on the self object ]
}
}
Now, If I call :
myInstance.sayHelloWord();
The +invoke()+ method will be called first, since I told Javassist to handle all methods. But - and this is my question - when +sayHello()+ is called from say+HelloWord()+, *it is called directly, without going through +invoke()+ first!*
Is there a way to make all methods, even when they are called from within the instance itself, being proxied and going through +invoke()+?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817501#817501]
Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[jBPM] - jbpm 5.4 installation problems with eclipse
by David Harris
David Harris [https://community.jboss.org/people/dmwpepper] created the discussion
"jbpm 5.4 installation problems with eclipse"
To view the discussion, visit: https://community.jboss.org/message/800693#800693
--------------------------------------------------------------
Hello,
I need some help getting Eclipse to work with the jbpm installation. I downloaded and unzipped jpemo-5.4.0.final-installer-full.zip. I then ran ant install.demo and the build failed when getting to the Eclipse installation part. The error message is in red bold below:
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\jboss-as-7.1.1.Final.zip into C:\jbpm\jbpm-installer
1. check.jboss.version:
1. download.db.driver.check:
[echo] Checking if db driver jar has been downloaded ....//db/driver/h2.jar
1. download.db.driver:
1. install.db.files:
1. download.drools.guvnor.check:
[echo] Checking Drools Guvnor download ...
1. download.drools.guvnor:
1. install.guvnor.into.jboss:
[mkdir] Created dir: C:\jbpm\jbpm-installer\target
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\guvnor-distribution-wars-5.5.0.Final.war into C:\jbpm\jbpm-installer\target
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\WEB-INF\classes
[zip] Building zip: C:\jbpm\jbpm-installer\target\guvnor-distribution-wars-5.5.0.Final.war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
[delete] Deleting directory C:\jbpm\jbpm-installer\target
1. download.designer.check:
[echo] Checking Designer download ...
1. download.designer:
1. install.designer.into.jboss:
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
1. check.jboss.version:
1. created.designer.deployment.as7:
[touch] Creating C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments\designer.war.dodeploy
1. download.jBPM.gwt-console.check:
[echo] Checking jBPM gwt-console download ...EE6
1. download.jBPM.gwt-console:
1. install.jBPM-gwt-console.into.jboss:
1. check.jboss.version:
1. download.transport.lib.check:
1. install.transport.lib:
1. install.jBPM-gwt-console.into.jboss5:
1. check.jboss.version:
1. install.jBPM-gwt-console.into.jboss7:
1. check.birt.as7:
1. download.birt.check.as7:
[echo] Checking birt reporting engine download for as7 ...
1. download.birt.as7:
[mkdir] Created dir: C:\jbpm\jbpm-installer\target
[mkdir] Created dir: C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\jbpm-gwt-console-server-5.4.0.Final-EE6.war into C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\lib
[copy] Copying 5 files to C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\classes
[copy] Warning: Could not find file C:\jbpm\jbpm-installer\db\jbpm-persistence.xml to copy.
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\classes\META-INF
1. check.birt.as7:
1. install.reporting.into.jboss7:
[mkdir] Created dir: C:\jbpm\jbpm-installer\birt
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\birt-runtime-3_7_0.zip into C:\jbpm\jbpm-installer\birt
[copy] Copying 77 files to C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\lib
[mkdir] Created dir: C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\output
[mkdir] Created dir: C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\reports
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-war\WEB-INF\reports
[delete] Deleting directory C:\jbpm\jbpm-installer\birt
1. install.dependencies:
[zip] Building zip: C:\jbpm\jbpm-installer\target\jbpm-gwt-console-server-5.4.0.Final.war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
[delete] Deleting directory C:\jbpm\jbpm-installer\target
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\configuration
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\configuration
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\configuration
1. download.jBPM.ht-war.check:
[echo] Checking jBPM human task war download ...
1. download.jBPM-ht.war:
1. download.transport.lib.check:
1. install.transport.lib:
1. install.jBPM-ht.into.jboss:
1. install.ht.war.into.jboss5:
1. install.ht.war.into.jboss7:
[mkdir] Created dir: C:\jbpm\jbpm-installer\target
[mkdir] Created dir: C:\jbpm\jbpm-installer\target\jbpm-human-task-war
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\jbpm-human-task-war-5.4.0.Final-EE6.war into C:\jbpm\jbpm-installer\target\jbpm-human-task-war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-human-task-war\WEB-INF
[copy] Warning: Could not find file C:\jbpm\jbpm-installer\db\task-persistence.xml to copy.
[copy] Warning: Could not find file C:\jbpm\jbpm-installer\db\Taskorm.xml to copy.
[zip] Building zip: C:\jbpm\jbpm-installer\target\jbpm-5.4.0.Final-human-task-war.war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
[delete] Deleting directory C:\jbpm\jbpm-installer\target
1. download.form.builder.check:
[echo] Checking Form Builder download ...
1. download.form.builder:
1. install.form.builder.into.jboss:
[mkdir] Created dir: C:\jbpm\jbpm-installer\target
[mkdir] Created dir: C:\jbpm\jbpm-installer\target\jbpm-form-builder-war
[unzip] Expanding: C:\jbpm\jbpm-installer\lib\jbpm-5.4.0.Final-form-builder.war into C:\jbpm\jbpm-installer\target\jbpm-form-builder-war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-form-builder-war\WEB-INF\classes
[copy] Copying 1 file to C:\jbpm\jbpm-installer\target\jbpm-form-builder-war\WEB-INF\classes
[zip] Building zip: C:\jbpm\jbpm-installer\target\jbpm-5.4.0.Final-form-builder.war
[copy] Copying 1 file to C:\jbpm\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments
[delete] Deleting directory C:\jbpm\jbpm-installer\target
1. *download.eclipse.check:*
* [echo] Checking Eclipse download ...*
**
1. *download.eclipse:*
* [echo] Getting Eclipse ...*
*[get] Getting: http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e...
*[get] To: C:\jbpm\jbpm-installer\lib\eclipse-java-helios-SR2-win32.zip*
*[get] Error opening connection java.io.FileNotFoundException: http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e...
*[get] Error opening connection java.io.FileNotFoundException: http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e...
*[get] Error opening connection java.io.FileNotFoundException: http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e...
*[get] Can't get http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... to C:\jbpm\jbpm-installer\lib\eclipse-java-helios-SR2-win*
1. *32.zip*
**
*BUILD FAILED*
*C:\jbpm\jbpm-installer\build.xml:254: Can't get http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e... to C:\jbpm\jbpm-installer\lib\e*
*clipse-java-helios-SR2-win32.zip*
Total time: 1 minute 9 seconds
C:\jbpm\jbpm-installer>
It looks like it can’t find the Helios version. Can I use a later version of Eclipse, like Indigo or Juno? How do I get the jbpm package into Eclipse? Do you have a different installer that uses the latest version of Eclipse? Thanks very much.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/800693#800693]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
jboss-as-7.1.0.Final Stack Trace not being logged
by Stein, Eric
I'm having very little sucess getting JBoss to correctly log the stack trace of my error messages. Our application uses SLF4J , which is in our WAR file (slf4j-api-1.7.5.jar). This prints stack trace:
LOGGER.error("Something blew up", e);
This does not print stack trace:
final String verb = "blew";
LOGGER.error("Something {} up", verb, e);
What is going on? How do I get JBoss to work correctly with SLF4J?
Thanks,
Eric Stein
standalone.xml:
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
</console-handler>
<periodic-rotating-file-handler name="FILE">
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
<file relative-to="jboss.server.log.dir" path="server.log"/>
<suffix value=".yyyy-MM-dd"/>
<append value="true"/>
</periodic-rotating-file-handler>
<logger category="com.arjuna">
<level name="WARN"/>
</logger>
<logger category="org.apache.tomcat.util.modeler">
<level name="WARN"/>
</logger>
<logger category="sun.rmi">
<level name="WARN"/>
</logger>
<logger category="jacorb">
<level name="WARN"/>
</logger>
<logger category="jacorb.config">
<level name="WARN"/>
</logger>
<logger category="org.jboss.resteasy">
<level name="ALL"/>
</logger>
<logger category="com.mycompany">
<level name="ALL"/>
</logger>
<root-logger>
<level name="WARN"/>
<handlers>
<handler name="CONSOLE"/>
<handler name="FILE"/>
</handlers>
</root-logger>
</subsystem>
12 years, 11 months
[jBPM] - JBPM completing workitems
by Raghavendra M
Raghavendra M [https://community.jboss.org/people/ragramaiah] created the discussion
"JBPM completing workitems"
To view the discussion, visit: https://community.jboss.org/message/817348#817348
--------------------------------------------------------------
Hi,
I have a scenario where I need to resume my workflow after exception is handled.
Scenario: I have a two service tasks in my workflow, an exception is raised in second service task, now transaction goes to wait state and second workitem is persisted in WORKITEMINFO table.Now instead of completing workitem, like
ksession.getWorkItemManager().completeWorkItem(workitemid, null), how can I resume or complete this wait state process *which should execute handler code* shown below,
public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
// some business logic here...
}
NOTE: I'm assuming this is right way to handle exception with asynchrosous processes. Please correct me if I'm wrong.
Above requirement is needed when i solve business error and resume the same step where it stopped(need to execute now the business logic while resuming).
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817348#817348]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Datasource Configuration] - Conexión MySQL y JBoss 7.1.1
by Jose Moreno
Jose Moreno [https://community.jboss.org/people/josemo] created the discussion
"Conexión MySQL y JBoss 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/811099#811099
--------------------------------------------------------------
Buenos días,
Desde hace ya un tiempo arrastro el siguiente problema que no me deja continuar con mi desarrollo... Intento conectar una base de datos MySQL (llamada 'login') y un servidor JBoss 7.1.1 en el entorno Eclipse IDE en Windows XP.
Les adjunto los pasos que he realizado para su valoración.
El archivo *standalone.xml*
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
*<datasource jta="true" jndi-name="java:jboss/datasources/login" pool-name="login" enabled="true" use-java-context="true" use-ccm="true">*
* <connection-url>jdbc:mysql://localhost:3306/login</connection-url>*
* <driver>mysql</driver>*
* <security>*
* <user-name>root</user-name>*
* </security>*
* </datasource>*
<drivers>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
*</driver>*
* <driver name="mysql" module="com.mysql">*
* <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>*
* </driver>*
</drivers>
</datasources>
Duda 1. ¿La password de la base de datos es una cadena vacía... está bien que se omita? Lo pongo pero JBoss al cargar elimina el tag de <password>
A continuación, en el directorio *modules/com/mysql/main* pegué el .jar de MySQL (mysql-connector-java-5.0.8-bin.jar), se me creó automáticamente el .index de ese .jar y, además, creé el archivo *module.xml* que pego abajo:
*<?xml version="1.0" encoding="UTF-8"?>*
*<module xmlns="urn:jboss:module:1.0" name="mysql">*
* <resources>*
* <resource-root path="mysql-connector-java-5.0.8-bin.jar"/>*
* </resources>*
* <dependencies>*
* <module name="javax.api"/>*
* <module name="javax.transaction.api"/>*
* <module name="javax.servlet.api" optional="true"/>*
* </dependencies>*
*</module>*
El método que tengo de conexión en Java es el siguiente...
*private Connection cnn = null;*
*public Connection getConexion (String strDs) throws Exception {*
* try {*
* InitialContext initialContext = new InitialContext();*
* DataSource ds = (DataSource) initialContext.lookup(strDs.toString());*
* try {*
* cnn = ds.getConnection(); // Línea en la que falla...*
* } catch (SQLException sqle) {*
* System.out.println(*
* "Error en el método getConexion() de la clase Proceso: " + strDs +*
* sqle.getMessage());*
* throw sqle;*
* }*
* } catch (NamingException ne) {*
* System.out.println(*
* "Error en el método getConexion() de la clase Proceso: " +*
* ne.getMessage());*
* throw ne;*
* }*
* return cnn;*
* }*
Pego también la consola:
15:12:18,218 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:12:19,015 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:12:19,171 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
15:12:23,296 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
15:12:23,328 INFO [org.xnio] XNIO Version 3.0.3.GA
15:12:23,328 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:12:23,343 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
15:12:23,609 INFO [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
15:12:23,671 INFO [org.jboss.as.clustering.infinispan] JBAS010280: Activating Infinispan subsystem.
15:12:23,703 INFO [org.jboss.as.naming] JBAS011800: Activating Naming Subsystem
15:12:23,734 INFO [org.jboss.as.osgi] JBAS011940: Activating OSGi Subsystem
15:12:23,906 INFO [org.jboss.as.security] JBAS013101: Activating Security Subsystem
15:12:23,937 INFO [org.jboss.as.webservices] JBAS015537: Activating WebServices Extension
15:12:24,203 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
15:12:25,468 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
15:12:25,484 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:12:25,953 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Arrancando Coyote HTTP/1.1 en puerto http-localhost-127.0.0.1-8080
15:12:27,296 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:12:27,343 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA
15:12:27,609 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
15:12:27,687 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\Documents and Settings\Administrador\Mis documentos\jboss-as-7.1.1.Final\standalone\deployments
15:12:27,750 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on localhost/127.0.0.1:4447
15:12:27,859 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found Login_7.1.war in deployment directory. To trigger deployment create a file called Login_7.1.war.dodeploy
15:12:28,125 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.com_mysql_jdbc_Driver (missing) dependents: [service jboss.data-source.java:jboss/datasources/login] *¿De dónde sale esto?*
15:12:28,171 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "Login_7.1.war"
15:12:29,390 INFO [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /Login_7.1
15:12:29,406 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015951: Admin console listening on http://127.0.0.1:9990 http://127.0.0.1:9990
15:12:29,406 ERROR [org.jboss.as] (MSC service thread 1-2) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 12110ms - Started 175 of 255 services (2 services failed or missing dependencies, 76 services are passive or on-demand)
15:12:29,609 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "Login_7.1.war"
15:12:44,250 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/Login_7.1].[jsp]] (http-localhost-127.0.0.1-8080-1) Servlet.service() para servlet jsp lanzó excepción: java.lang.NoSuchMethodError: Metodos.bbdd.getConexion(Ljava/lang/String;)V
at org.apache.jsp.Validacion_jsp._jspService(Validacion_jsp.java:68)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_15]
15:15:43,515 INFO [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011942: Stopping OSGi Framework
15:15:43,671 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
15:15:43,984 INFO [com.arjuna.ats.jbossatx] ARJUNA032018: Destroying TransactionManagerService
15:15:43,984 INFO [com.arjuna.ats.jbossatx] ARJUNA032014: Stopping transaction recovery manager
15:15:44,000 INFO [org.jboss.as.server.deployment] JBAS015877: Stopped deployment Login_7.1.war in 510ms
15:15:44,000 INFO [org.jboss.as.controller] JBAS014774: Service status report
JBAS014776: Newly corrected services:
service jboss.jdbc-driver.com_mysql_jdbc_Driver (new available) *¿Por qué cuando apago el servidor aparece este mensaje?*
15:15:44,000 INFO [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 513ms
Espero que me puedan ayudar con las 'pistas' que les estoy dando.
Muchas gracias, un saludo.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/811099#811099]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months