(Java Sources Browser)
  1. About
  2. Description
  3. Installation
  4. Starting with JSBrowser
  5. JSBrowser Customization
  6. Questions and known problems
  7. Versions history
  8. Registration and licensing

Change the Port Number
JSBrowser uses two ports: 8007 (for tomcat) and 80 (for HTTP) by default.
If the HTTP port number (default 80) is already used, you can change it.
Edit the file: "JSBrowser/tomcat/conf/server.xml" Search the following elements:
    <Connector className="org.apache.tomcat.service.PoolTcpConnector">
    <Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
    <Parameter name="port" value="80"/>
    </Connector>
and replace "80" by a new port number, example "6578", in this case to access to the JSBrowser url, go to http://JSBrowser_server:6578/JSBrowser

Change the visibility filter of the documented classes
Search the line containing "-private" (that is the default) and replace it by one of the following value: Delete all sub-directories of the directory "javadoc"
Restart JSBrowser.
Then launch the javadoc generation program (see "Generate the java documentation").

Not enough memory while generating the java documentation
If the Generate Javadoc tool (see "Generate the java documentation") displays a memory problem, try to increase the number of memory. Search the line containing "-J-Xmx512m" (that is the default) and increase the number that is after "-Xmx" (or "-Xm" on solaris).
Delete all sub-directories of the directory "javadoc"
Restart JSBrowser.
Then launch the javadoc generation program (see "Generate the java documentation").

Javadoc error
If the java documentation produces an error (see "Generate the java documentation"):
   Check that your java files can be compiled. The java documentation cannot be generated with java files that cannot be compiled.

Javadoc warning: Cannot find class
If the java documentation displays: Warning cannot find class
Go to the configuration page (see "To configure JSBrowser") and add, in the directories list, the directory (if it exists) that contains the javadoc of the classes that are not found.
If this directory is already in the list, check that the external classes are well referenced. (see How a Class Must be Referenced).

The page cannot be displayed
If JSBrowser server is installed on your localhost and you cannot obtain the JSBrowser main page:

Parsing interrupted
If a java file is not entirely displayed and you get the message: "Parsing interrupted"
Check that your file is syntactically correct and that it can be compiled.

java.lang.NoClassDefFoundError
If you cannot start JSBrowser server, check that the Java(TM) 2 SDK or JRE, Standard Edition Version 1.2, 1.3 or 1.4 is weel installed (see "Installation on server side").

Cannot enter in a package or java sources not available
If you cannot enter in a package or you don't see your java source files, check the configuration of JSBrowser (see "Configuration"), check all your directories and the location of your jar/zip files.

FATAL:java.net.BindException
If you cannot start JSBrowser server and you get a java.net.BindException, check that you use the root user id, check that the port number used by JSBrowser is not already used by another application, check that a tomcat server is not already running on your host or change the port used by JSBrowser server (see "Change the Port Number").

"configuration" link is not selectable
This problem occurs if you are using Netscape 4.x, some links are not selectable.
Edit the file: JSBrowser v3.0/tomcat/webapps/JSBrowser/style.css
and delete the line:
      border : 1px solid Black;
in the cssAction section.