[JBossWS] - Optimizing deployment
by getaceres
Hello, I'm developing a set of web services which accept and return data based on a standard. I have the standard schema and I have generated the JAXB elements jar file.
Now, I have some web services (like 6 and it's growing) and they all use the same jar file with the bindings. They are EJB3 services and they are packaged in the same jar. The problem is that, when I deploy that jar, it takes a lot of time to deploy the services. Looking at the debug, I see that JBoss is generating JAXB classes again (or it seems) but it is completely innecessary as most of the classes are already in the classpath in that jar file that I've provided.
I have deployed my services in Glassfish before and it takes only a few seconds to deploy, while in JBoss it takes more than one minute. Is there a way to tell JBoss WS to use the already generated classes or to provide it the necessary artifacts so it doesn't generate it every time?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209813#4209813
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209813
15 years, 10 months
[JBossWS] - Re: WebServices logging
by mobaxkrs
I have already given that
<!-- ====================================================================================-->
<!-- All Web Service Trace logged directly to MySQL Database, through JDBC Appender -->
<!-- ====================================================================================-->
<appender name="JDBC" class="org.apache.log4j.jdbc.JDBCAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Driver" value="com.mysql.jdbc.Driver"/>
| <param name="URL" value="jdbc:mysql://127.0.0.1:3306/logdb" />
| <param name="user" value="root" />
| <param name="password" value="root" />
| <param name="sql" value="insert into logTable (message, class, priority, log_date)
| values ('%m', '%c', '%p', '%d{dd.MM.yyyy}')"/>
| </appender>
|
| <category name="org.jboss.ws.core.MessageTrace">
| <appender-ref ref="JDBC"></appender-ref>
| <priority value="TRACE"/>
| </category>
The same category works if it is for a file appender
Pls help
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209760#4209760
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209760
15 years, 10 months