This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello I have updated the plugin to the latest. And since netbeans does not deploy my app. I really don't see any error message. The last lines: BUILD SUCCESS ------------------------------------------------------------------------ Total time: 4.868s Finished at: Wed Apr 02 15:57:00 CEST 2014 Final Memory: 14M/177M ------------------------------------------------------------------------ NetBeans: Deploying on WildFly Application Server profile mode: false debug mode: false force redeploy: true And in the wildfly window: 15:56:52,210 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "postgresql-9.3-1101.jdbc4.jar" (runtime-name : "postgresql-9.3-1101.jdbc4.jar") 15:56:52,444 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management 15:56:52,444 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 15:56:52,444 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final "WildFly" started in 6007ms - Started 265 of 319 services (97 services are lazy, passive or on-demand) And when I add war by copy to standalone/deployments: 16:00:36,640 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "WildFl2-1.0-SNAPSHOT.war" (runtime-name: "WildFl2-1.0-SNAPSHOT.war") 16:00:38,824 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.2.5-jbossorg-3 20140128-1641 for context '/WildFl2-1.0-SNAPSHOT' 16:00:41,008 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 5.0.3.Final 16:00:41,148 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (MSC service thread 1-4) Running on PrimeFaces 4.0 16:00:41,195 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017534: Registered web context: /WildFl2-1.0-SNAPSHOT 16:00:41,554 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "WildFl2-1.0-SNAPSHOT.war" (runtime-name : "WildFl2-1.0-SNAPSHOT.war")
Could you please givre me the plugin version, how you build your project, is the deploy on save checked ?
I have exactly the same problem, in my case I have tested each Proxy Settings. I can start the server going to the Services Tab, but when I deploy (choosing the "run" option) an application happens nothing (no log message).
jojoka : I don't reproduce, I don't have enough infos to look at it.
I would like add a weird case: - When I add a datasource like "java:/jdbc/sml" using the Oracle's jdbc (created like a module) the application is not deployed. Reason? I don't know because no log is displayed.
How do you add your datasource ? Could you attache the application and the configuration file ?
The application is really big, problems begins when I have changed to NB 8 from NB 8 RC...
How do you add your datasource ?
Did you try removing the server and reconfiguring it ? What kind of application is it ? war / ear / .... maven / netbeans ? is deploy on save checked ?
Did you try removing the server and reconfiguring it? Yes, I noticed the problem with datasource when I reconfigured the server. What kind of application is it ? war / ear / .... war maven / netbeans ? maven with netbeans is deploy on save checked ? no, is unchecked... Not related, the last patch fixed the proxy problem...
the datasource is added from the wildfly console (localhost:9990) the driver is created like a module, when I deploy from the console the application run, but when I deploy from NB nothing happens. I'm testing with Oracle JDBC driver 11.2.0.4. Tomorrow I will verify a weird case, I'll use the 11.2.0.3 version, because I was having a similar problem with glassfish.
i can't reproduce it, works with GF but not when I use WF...
Did you try to remove the plugin and reinstall it (so that its configuration is rebuilt) I had some strange behaviours with old config. The datasource is accessible when netbeans try to deploy ? Do you see it with the plugin ?
Yes I have reinstalled netbeans, wildfly... wildfly is started in the services tab but the app is deployed only when I remove the jdbc driver module from the server. I don't know if is related but Netbeans displayed this: Fri Apr 11 13:35:50 COT 2014 Thread[exec_Run (ped)_5,1,exec_Run (ped)_5] java.io.FileNotFoundException: derby.log (Acceso denegado) ped = Application name Acceso denegado = Access denied
I couldnt find this problem on internet, but I have fixed it, I dont know why this is happening with Netbeans. Fix: Add this line to the oracle driver. <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class> Thanks, all is working now.
(In reply to Lynx6 from comment #14) > I couldnt find this problem on internet, but I have fixed it, I dont know > why this is happening with Netbeans. > > Fix: Add this line to the oracle driver. > <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource- > class> > > Thanks, all is working now. I've had the same problem trying to implement a MySQL database. The workaround you posted also worked for me by defining the MySQL driver as follows:- <driver name="mysql" module="com.mysql"> <xa-datasource-class> com.mysql.jdbc.jdbc2.optional.MysqlDataSource </xa-datasource-class> </driver> This was necessary even though I don't want/need to use an XA datasource, otherwise the NB build fails with no meaningful information.
What was your configuration ? I have a simple one with : <driver name="pg" module="org.postgresql"> <driver-class>org.postgresql.Driver</driver-class> </driver> and it's working properly.