(Category) (Category) FAQ-O-Matic :
JBuilder 4 General
General information specific to JBuilder 4.
2001-Jan-05 6:19pm gyles19@visi.com
Subcategories:

Answers in this category:
(Answer) How can I disable the automatic copying of resource files from src to classes?
(Answer) How do I debug JSP code in running in something besides Tomcat?
(Answer) I just installed Enterprise but all the good stuff is greyed out like in Foundation!
(Answer) I have a large project with hundreds of packages/classes. How can I convert this into a JBuilder4 project without manually adding every file myself?
(Answer) I bought JBuilder 4 Enterprise. None of the EJB options are enabled. How do I enable the EJB stuff?
(Answer) When I attempt to enable Smart Agent, I get: "osagent - ordinal not found. Ordinal 6442 could not be located in the dynamic link library MFC42.DLL"
(Answer) How do I uninstall JBuilder 4?
(Answer) What JDKs are bundled with JBuilder4?
(Answer) How can I use WebLogic 6.0 with JBuilder4?
(Answer) I just installed JBuilder 4.0 Foundation but there are no on-line help, samples, or tutorials. What's the deal?
(Answer) JBuilder 4 must have a memory leak. It consumes a lot more ram than specified in the -X parameters in JBuilder.config, and eventually it produces an 'out of memory' error and terminates.
(Answer) I have a Tomcat project which won't execute. I'm getting this error: Context log: path="" Adding context path="" docBase="C:\" Starting tomcat install="C:\" home="C:\"
(Answer) I'm trying to use Tomcat from within JBuilder but I'm getting this error message: Context log: path="" Socket Exception

[Add a New Answer in "JBuilder 4 General"]
2001-Sep-12 8:54am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
How can I disable the automatic copying of resource files from src to classes?
You could try disabling the ResourceBuilder:

  1. Create a new project named nocopyresource anywhere you want
  2. Wizards | Archive Builder
  3. Select the Archive Type: OpenTool 
  4. Click Finish
  5. Edit the classes.opentools file
  6. Insert the line

     OpenTools-Build: -com.borland.jbuilder.build.ResourceBuilder

   Be sure to type Enter at the end of the line

  7. Project | Make
  8. Exit JBuilder
  9. Copy the nocopyresource.jar in the project directory into JBuilder's
   /lib/ext directory

If you want the functionality to return (it is a feature, after all *grin*), delete the JAR.

//Ken@Borland
2002-Mar-19 9:46am gyles19@visi.com

[Append to This Answer]
2002-Mar-19 9:46am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
How do I debug JSP code in running in something besides Tomcat?
Josh Fletcher of Borland writes:
Yes, it is possible but it is not a supported JBuilder feature. We have to write a special plugin for each JSP host in order for this to work since each server handles the JSP mapping-to-a-servlet differently.

Currently we only have a plugin for Tomcat. If you want to debug your JSP in any other server you can try this (note, you will need JBuilder Enterprise):

  1. Start the Web/App Server in debug mode. 
  2. Exercise the JSP so that the server will create the Java bean. Make 
     sure the bean is generated with debug information included. Be sure to 
     keep the generated Java source. 
  3. Add the generated Java source to your JBuilder project. 
  4. Set breakpoints in the source. 
  5. Enable remote debugging in JBuilder. 
  6. Debug the JSP bean (right-click, select debug, NOT Web debug), which 
     will cause JBuilder to attach to the Web/App Server. 
  7. Exercise the Bean again. JBuilder should stop on your breakpoints. 

This technique is known to work in many situations but is, of course, not guaranteed to work. Feel free to try it though.

Thanks, Josh

  http://www.mers.com/MERLIST/BORLAND/PUBLIC/JBUILDER/DEBUGGER/2566.HTML

2001-Jan-08 11:51am gyles19@visi.com
See also this Borland FAQ entry:
  http://community.borland.com/article/0,1410,27021,00.html

2001-Mar-30 3:31pm gyles19@visi.com
[Append to This Answer]
2001-Mar-30 3:31pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I just installed Enterprise but all the good stuff is greyed out like in Foundation!
See these FAQs:

  http://community.borland.com/article/0,1410,21845,00.html
  http://community.borland.com/article/0,1410,26301,00.html
  http://community.borland.com/article/0,1410,26546,00.html
  http://community.borland.com/article/0,1410,26517,00.html

2001-Jan-08 6:43pm gyles19@visi.com
[Append to This Answer]
2001-Jan-08 6:43pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I have a large project with hundreds of packages/classes. How can I convert this into a JBuilder4 project without manually adding every file myself?
JBuilder4 Professional and Enterprise have a feature, 'automatic source discovery and compilation' which will do this for you. But, this handy feature is disabled in Foundation. This feature is controlled by a check box within Project Properties/General.

With Foundation you have to either add all of the packages manually, or you can use one of the existing OpenTools to recursively add the entire directory structure to your project.

Here's one for JB4: http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=15488

Here's another for JB4: http://www.javabuilders.com/opentools/smartnode_overview.html

Here's another, but I don't know if this works with JB4, It might be JB3.x only: http://www.javabuilders.com/opentools/multifile.html

2001-Mar-14 11:12am gyles19@visi.com

[Append to This Answer]
2001-Mar-14 11:12am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I bought JBuilder 4 Enterprise. None of the EJB options are enabled. How do I enable the EJB stuff?
The information for doing this is rather scattered, and what is there is misleading. There is a 8x5 sheet of paper buried in with other literature and easy to miss. There are also readme files and crosslinks in the JB4E installation and release notes.

Despite what the JB4 installation instructions say, IAS is not on a cdrom by itself, it's on the JB4 Enterprise cdrom under the /ias subdirectory. To install IAS, launch setup.exe or setup.sh from that directory. Use setup.sh if you're installing it on Linux or Solaris, setup.exe if you're installing on Windows.

IAS requires its own license and serial number. This is free, you've already paid for it by paying for Enterprise, but the serial number is not packaged with Enterprise.

  http://www.borland.com/jbuilder/iaskeys

You'll be asked for your JB4E Serial number and Reg key. Once you've entered them, you'll be shown a table containing "Platform","Company", and "Key" values. Note these carefully. The form will print if your browser allows, I printed my copy and stuffed it into my manuals.

Once you get into the IAS installer, it will ask for your name, company, and key. Leave the name blank if you like, but for company you MUST put "Inprise". The Key field should be the one from the table which matches your platform.

Once the installation has finished, launch JB4 and use the Tools/Enterprise Setup/Application Server dialog to create the linkage to the IAS directory you just installed. Save the settings, and close JBuilder.

Now launch JBuilder4 and select File/New/Enterprise to see the Object Gallery's EJB beans. You should now have five EJB beans available.

NOTE: You can proceed through the installation without the IAS registration key, but it will be a 60-day evaluation license which will expire. This will get you going if you can't get to Borland's website when you need the key.

NOTE: You don't have to actually RUN IAS to enable the EJB beans inside JBuilder. You only need to INSTALL it. IAS contains a number of jars which JBuilder is simply re-using.

2001-Mar-16 2:28pm gyles19@visi.com

[Append to This Answer]
2001-Mar-16 2:28pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
When I attempt to enable Smart Agent, I get: "osagent - ordinal not found. Ordinal 6442 could not be located in the dynamic link library MFC42.DLL"
This is a library supplied by Microsoft C++, in which some of VisiBroker's components were written. Visibroker's appserver installer apparently fails to provide this file.

You need to find and install a more recent copy of MFC42.DLL. This file does not appear to be bundled in the latest Service Pack from Microsoft, however.
2001-Apr-02 3:37pm gyles19@visi.com

[Append to This Answer]
2001-Apr-02 3:37pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
How do I uninstall JBuilder 4?
JBuilder 4 uninstall instructions may be found under Help|Release Notes, in the release notes file in the Jbuilder4 install directory, and here on this Borland FAQ:

  http://community.borland.com/article/0,1410,26532,00.html

2001-Apr-02 4:25pm gyles19@visi.com
[Append to This Answer]
2001-Apr-02 4:25pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
What JDKs are bundled with JBuilder4?
Here is a list of the JDKs bundled with JBuilder4:

  JBuilder 4 for Windows:  Sun JDK 1.3
  JBuilder 4 for Linux:    IBM JDK 1.3
  JBuilder 4 for Solaris:  none

Sun's JDK 1.3 for Linux and Solaris were still in Beta when JBuilder4 was released. Borland was able to license IBM's JDK for Linux as a substitute for that platform.

However, since no other company makes a JVM for Solaris except Sun, and the Solaris JDK was still in Beta, JBuilder4 for Solaris was released without a bundled JDK.

2001-Apr-02 4:30pm gyles19@visi.com

[Append to This Answer]
2001-Apr-02 4:30pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
How can I use WebLogic 6.0 with JBuilder4?
See the Borland FAQ:
  http://community.borland.com/article/0,1410,26796,00.html

2001-Apr-02 4:35pm gyles19@visi.com
[Append to This Answer]
2001-Apr-02 4:35pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I just installed JBuilder 4.0 Foundation but there are no on-line help, samples, or tutorials. What's the deal?
JBuilder is a huge application. To ease download frustrations, Borland has broken the installer up into sections:

  1) Foundation itself
  2) Documentation
  3) Samples and Tutorials

(Actually, I don't recall if the Tutorials are in the samples download or the documentation doanload. )

If you want the entire package, you must download and execute each installer seperately.

If you have Foundation but are missing the rest, go here to find them:

   http://www.borland.com/jbuilder/download/addons.html

This page offers the Documentation and Samples downloads for English, French, German, and Spanish for both Windows and Linux/Solaris platforms.
2002-Apr-08 8:58am gyles19@visi.com

[Append to This Answer]
2002-Apr-08 8:58am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
JBuilder 4 must have a memory leak. It consumes a lot more ram than specified in the -X parameters in JBuilder.config, and eventually it produces an 'out of memory' error and terminates.

This would be a bug in the JVM bundled with JBuilder 4. See this entry on Sun's Bug Parade for details and status:

http://developer.java.sun.com/developer/bugParade/bugs/4395735.html

Known workarounds:

  1. Disable HotSpot. This may cause some slight reduction in JBuilder's performance but should eliminate the memory leak.

    1. Edit jbuilder4/bin/JBuilder.config and add the line:
      vmparam=-classic
    2. Restart JBuilder.
  2. Replace Sun's 1.3.0 with IBM's 1.3.0 or better. (This is not a supported configuration.)
    1. Install IBM's 1.3.0 (perferably in a different location than the existing JDK.)
    2. Edit jbuilder4/bin/jdk.config and replace all references to Sun's JDK with the corresponding locations in IBM's JDK install tree.
    3. Restart JBuilder.
  3. If your own applications experience out-of-memory errors while running, open "Project Properties | Run | VMParameters" and add "-classic" to the list of parameters applied to the application's launch command. This should prevent the problem when running within JBuilder.

2001-Jun-04 11:58am gyles19@visi.com
[Append to This Answer]
2001-Jun-04 12:47pm
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I have a Tomcat project which won't execute. I'm getting this error: Context log: path="" Adding context path="" docBase="C:\" Starting tomcat install="C:\" home="C:\"
Ken Chan of Borland Support writes:

This is an indicator that you are trying to Web Run a file that is not under the project's docBase directory. When this happens in JBuilder 4, it always tries to make the file viewable by changing the docBase to the root directory.

Try creating a brand new project, and a brand new servlet with an SHTML with the Servlet wizard, then Web Run the SHTML and see if the directories are as expected.

FWIW, this confusing behavior was changed in JBuilder 5.
2001-Jun-15 8:37am gyles19@visi.com

[Append to This Answer]
2001-Jun-15 8:37am
(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
I'm trying to use Tomcat from within JBuilder but I'm getting this error message: Context log: path="" Socket Exception
This operation tries to use your machine's TCP/IP drivers to connect to your application. If your machine has no TCP/IP stack loaded or configured, load and configure it. You do not need to be on a network, you just has to have the drivers loaded.

Also make sure that your machine can 'ping localhost' and 'ping 127.0.0.1' properly. If not, you probably need to create a hosts file containing the line:

  127.0.0.1  localhost.localdomain  localhost

This is primarily a problem on Windows machines, especially the lack of a localhost definition and/or a hosts file.

On NT4, this file is located here:

  /mnt/doscb/winnt/system32/drivers/etc/hosts

2001-Jul-13 10:45am gyles19@visi.com
See also this Borland FAQ:

http://community.borland.com/article/0,1410,27340,00.html
2001-Aug-07 12:43pm gyles19@visi.com

[Append to This Answer]
2001-Aug-07 12:43pm
Previous: (Category) JBuilder 4 Known Bugs
Next: (Category) JBuilder 3.5 Known Bugs
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=29
[Search] [Appearance] [Show Top Category Only]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]