[JBoss AOP] - Re: New SystemOuts since upgrade to 2.0.0.GA with Jboss AS (
by DerMas
Just some more info:
The sysouts come from the class:
| package org.jboss.aop.util.logging;
|
| /**
| *
| * @author <a href="kabir.khan(a)jboss.com">Kabir Khan</a>
| * @version $Revision: 1.1 $
| */
|
| public class SystemOutLoggerPlugin implements LoggerPlugin
The methods used are:
| public void debug(Object message)
| {
| print("[aop-debug]", message, null);
| }
|
| public void trace(Object message)
| {
| print("[aop-trace]", message, null);
| }
|
I noticed that the same debug method is used, when executing the aopc precompile task with verbose = true
It is ok, when it is used during the aopc precompile task, but I dont want it, when executing my ejbs(loadtime weaving is off) :/
Btw. I deployed my project on tomcat 5 with axis 1.4. and there i got no sysouts on my clientside console. So maybe it has something to do with the Jboss AS? But I cant believe that since the sysouts are on the clientside.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192012#4192012
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192012
17 years, 5 months
[JBossWS] - Could not transmit message when 2nd time deploying.
by dmitry.kudrenko
Greetings,
I have web application deployed on jboss 4.2.2.GA. This application communicates with a web service. It works fine when I deploy the application first time after restarting jboss. But stops work when I deploy it without restarting jboss.
Caused by: java.io.IOException: Could not transmit message
| at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:255)
| ... 41 more
| Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333)
| ... 44 more
| Caused by: java.lang.NullPointerException
| at org.jboss.ws.core.soap.SOAPElementImpl.<init>(SOAPElementImpl.java:86)
I noticed with WireShark that when I deploy the application second time and try to send request to the web service it sends the SOAP request and response is received.
Also, when I tried to deploy 2 different instances of application in the same time to the jboss only the application who sent SOAP request first is working. The second application faults with the same error as described above.
Have anybody idea what can be a reason of this issue?
Thanks in advance.
--
Dmitry Kudrenko
ARDAS group (http://www.ardas.dp.ua)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191994#4191994
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191994
17 years, 5 months
[Security & JAAS/JBoss] - is it security hole
by sunlinux
Pls. go thru below text from nikto( web server scanner ) .. what it showing .. Is thr any security hole in my jboss server if yes pls tell how to fix it.
+ Target IP: *.*.*.*
+ Target Hostname: *.*.*.*
+ Target Port: 80
+ Start Time: 2008-11-26 13:22:53
---------------------------------------------------------------------------
+ Server: Apache-Coyote/1.1
+ No CGI Directories found (use '-C all' to force check all possible dirs)
- Allowed HTTP Methods: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS
+ OSVDB-397: HTTP method ('Allow' Header): 'PUT' method could allow clients to save files on the web server.
+ OSVDB-5646: HTTP method ('Allow' Header): 'DELETE' may allow clients to remove files on the web server.
+ OSVDB-877: HTTP method ('Allow' Header): 'TRACE' is typically only used for debugging and should be disabled. This message does not mean it is vulnerable to XST.
+ OSVDB-0: Retrieved X-Powered-By header: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5
+ OSVDB-39272: /favicon.ico file identifies this server as: JBoss Server
+ OSVDB-6659: GET //4jMvouXjTAI0l6q0s9PJz4ME7t2c2lWekO6lkW2fHtVCUXPM4YTiy44U1TUR4a5czl41wXgRZAJJZjDT5aOTIuvBU04zUTmbhcmSjW6Af7kBKYG391zCTfny14KqA8IbqzkPMm8MrFxGGHzXI8WuZ0LGeY5GU4lTaihpwuEvHN7sBx0jCwbbKg2VjEnvnE7bHrjtT8KRHBvhIc4ISUG41O8W2YN20io<font%20size=50>DEFACED<!--//-- : MyWebServer 1.0.2 is vulnerable to HTML injection. Upgrade to a later version.
+ OSVDB-3092: GET //status?full=true : Apache Tomcat and/or JBoss information page.
+ 3577 items checked: 8 item(s) reported on remote host
+ End Time: 2008-11-26 13:28:52 (359 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191991#4191991
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191991
17 years, 5 months