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.

Bug 76567 - JBoss logging doesn't work when JBoss is run externally
Summary: JBoss logging doesn't work when JBoss is run externally
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 16:07 UTC by Libor Kotouc
Modified: 2006-05-24 11:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libor Kotouc 2006-05-18 16:07:09 UTC
Basic steps to reproduce (there is more scenarios when the logging doesn't
output anything alhough the server is running and logging):
1. start the IDE
2. Runtime tab -> Server -> JBoss server contextual menu -> View Server Log
3. start JBoss outside of IDE

Now the server output should be shown, but is not.

The only way how to make sure that the server output will be shown is to run the
server directly from the IDE. 

The reason is that now we are reading from the server process, we must be able
to read the server.log file.
Comment 1 Libor Kotouc 2006-05-18 16:42:50 UTC
Fixed.

Checking in ide/JBLogWriter.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBLogWriter.java,v
 <--  JBLogWriter.java
new revision: 1.3.42.5; previous revision: 1.3.42.4
done
Checking in ide/JBStopRunnable.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/Attic/JBStopRunnable.java,v
 <--  JBStopRunnable.java
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
Checking in ide/JBStartRunnable.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/Attic/JBStartRunnable.java,v
 <--  JBStartRunnable.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done
Checking in nodes/actions/OpenServerLogAction.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/nodes/actions/Attic/OpenServerLogAction.java,v
 <--  OpenServerLogAction.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done

Now the 'View Server Log' action is improved. It doesn't only open the output
pane but also initializes the JBLogWriter instance for reading from the
server.log file.
Comment 2 Michal Mocnak 2006-05-24 11:17:41 UTC
Verified