This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!

Robert Bonslater

+ Follow
since Jan 30, 2005
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Robert Bonslater

Hello, I am upgrading from Weblogic Server 8.1 to 9.2 for my company. When I run a build for deployment I recieve several wlappc pre-compile parsing issues. My JSP code compiles fine with 8.1. Here is a little snippet of the ant log:

[wlappc] minibatch.jsp:1:1: The page failed validation from validator: "org.x
tion: Attribute "onkeyDown" was already specified for element "html:text".".
[wlappc] <%@ include file="/include/taglibs.jsp"%>
[wlappc] ^------ --------- ---------- ----------- ---^
[wlappc] minibatch.jsp:1:1: The page failed validation from validator: "org.x
tion: Attribute "onkeyDown" was already specified for element "html:text".".
[wlappc] <%@ include file="/include/taglibs.jsp"%>
[wlappc] ^----- ------- --------- --------- ---------^
[wlappc] MarketSummary.jsp:2:18: Syntax error near 'import'

Thanks, Bobby
13 years ago
Hello, I have been deploying this application for my company running on Weblogic 8.1 for quite some time now without receiving any errors. Everything is running on my local machine (Windows) for development purposes. One day I switched ant versions from 1.5.3 to 1.6.1 because the old one contains a bug that injects multiple classpath definitions in my files upon updating jar files with each build. When I manually deploy my ear file from the Weblogic admin or using ant I keep recieving this error:

<Oct 5, 2006 9:58:25 AM CDT> <Error> <Deployer> <BEA-149201> <Failed to complete
the deployment task with ID 0 for the application ghost.
ror: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
at weblogic.kernel.ExecuteThread.execute(
Caused by: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
own Source)
at weblogic.rmi.internal.BasicServerRef.invoke(
at weblogic.rmi.internal.BasicServerRef$
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
... 2 more

When I switched back to the old ant version 1.5.3 I still received the same error. Everything worked perfectly before so what could have went wrong? Can somebody help me?

Thank you
13 years ago
My name is Robert Bonslater from Chicago IL, and I am interested in an entry level Java position (willing to relocate 100%). Here is some information about me:

1 year of IT experience in Programming, Database Design, Development Management and Server Administration.

Well versed with various stages of SDLC, application development and system software.

1 year of extensive programming experience in JAVA, JSP, J2EE, Jakarta Struts, Advanced Java SWING Components, JavaScript Programming & XML.

Experience in JavaScript Programming.

Experience in MySQL, Oracle 8i/9i.

Networking Experience: Managing Windows XP Server, Solaris Servers & Linux Clusters.

Experience in website design, management and application development. Expertise in HTML, MS FrontPage, Macromedia Dreamweaver MX, FLASH.

Web Servers: Extensive web-server experience in administering and maintenance of IIS, Apache Tomcat 4.x/5.x, Web Logic.

Excellent analytical skills, valued commitment to collaborative teamwork, commitment to customer satisfaction and developing high quality software.

Thank you.
14 years ago
When I try to bind name and entity using JNDI what does this mean:

log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingCont
log4j:WARN Please initialize the log4j system properly.
javax.naming.CommunicationException: Receive timed out [Root exception is java.n
et.SocketTimeoutException: Receive timed out]

I added some String executions to find the problem and it is obviously at
ctx.bind(name, entity);
Here is a piece if my code:

try {
// For clarity, command-line args in local vars
String name = args[0];
Integer entity = Integer.valueOf(args[1]);
// Access the initial context.
Context ctx = new InitialContext();
// Bind name to entity in the Context.
ctx.bind(name, entity);
// To test, retrieve the entity through the name
Integer retrieved = (Integer) ctx.lookup(name);
System.out.println("From lookup: " + retrieved);
catch(NamingException e) { System.err.println(e); }
catch(NumberFormatException e) { System.err.println(e); }
[ April 04, 2005: Message edited by: Robert Bonslater ]
My code compiles fine in Command Prompt but when I run it using java:
Exception in thread "main" java.lang.NoClassDefFoundError: book\Goo (wrong name: blah blah blah...

Yet I do the same in TextPad and it compiles and runs perfectly. What's the deal with that. The Classpath, to my understanding, was set correctly so I do understand.

Please help,
15 years ago
Hi all,

Can anyone give me any resources for Java projects I can practice on? I would like real "on-the-job" example projects perhaps J2EE related.
[ March 29, 2005: Message edited by: Robert Bonslater ]
15 years ago
Right, I also needed to use <Type_Name> tags after the array:

ArrayList<Attraction> list = new ArrayList<Attraction>();

15 years ago
When I compile my code it produces:

jakarta-tomcat-5\webapps\begjsp-tourism\WEB-INF\classes\com\wrox\tourism\db\Even warning: [unchecked] unchecked call to add(E) as a member of the
raw type java.util.ArrayList
I thought I defined the gerneric types. What do I need to do to list.add(new Attraction(attraction));?
Here is the piece of code:

public Collection findAll() {

PreparedStatement ps = null;
ResultSet rs = null;
ArrayList list = new ArrayList();

String sql = "SELECT * from attraction ";

try {

if (con.isClosed()) {
throw new IllegalStateException("error.unexpected");

ps = con.prepareStatement(sql);
rs = ps.executeQuery();

while( {

Attraction attraction = new Attraction();

list.add(new Attraction(attraction));


return list;
15 years ago
Hi guys,

Got an over-the-phone ORACLE interview on Tuesday and I was wondering if anyone knows what kinda questions they might ask? A web site I can go to?


[edited to remove ALL CAPS from subject]
[ March 20, 2005: Message edited by: Jeanne Boyarsky ]
15 years ago
Hey everybody,

I have an over the phone interview on Tuesday. The job is JavaScript and HTML oriented. Can anyone with experience tell me what kind of interview questions they will have on JavaScript or maybe a site I can go to?

Thank you so much,
[ March 19, 2005: Message edited by: Bear Bibeault ]
Thanks guys, I finally got it.

Just needed to place that "mysql-connector-java-3.0.16-ga.jar" file into my JAVA_HOME\jre\lib\ext directory. The downfall of this though is that I might forget again when upgrading java versions again. The best thing for me to do is set it in my classpath environment.
Thanks David,

but how does this work exactly. How does this separate jre function with the client.
15 years ago
What is the name of this jar file that must be recognized by the classpath?
Hi everybody,

installed jdk 1.5 from jdk 1.4 on Tomcat server environment. My JDBC connection with my driver was working fine until I installed the new java version. What has changed since 1.4?

Here's the error message:
java.sql.SQLException: Cannot load JDBC driver class ''
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
at com.wrox.tourism.db.util.DBInitServlet.init(
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex