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

Greenhorn
+ Follow
since Jan 30, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
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 Manifest.mf 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.
weblogic.management.ManagementRuntimeException: weblogic.management.ManagementEr
ror: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
at weblogic.management.runtime.DeploymentTaskRuntimeMBean_Stub.updateTar
getStatus(DeploymentTaskRuntimeMBean_Stub.java:989)
at weblogic.management.deploy.slave.SlaveDeployer$Task.complete(SlaveDep
loyer.java:2161)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2395)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: weblogic.management.ManagementError: - with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Illegal State Tran
sition from 3 to 2 ]]
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:773)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:733)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
60)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
28)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Rem
oteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:946)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unkn
own Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
... 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
ext).
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 {
System.out.println("Here");
// For clarity, command-line args in local vars
String name = args[0];
Integer entity = Integer.valueOf(args[1]);
System.out.println("Here");
// Access the initial context.
Context ctx = new InitialContext();
System.out.println("Context");
// Bind name to entity in the Context.
ctx.bind(name, entity);
System.out.println("Here");
// 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,
Thanks.
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>();

Thanks
15 years ago
When I compile my code it produces:

jakarta-tomcat-5\webapps\begjsp-tourism\WEB-INF\classes\com\wrox\tourism\db\Even
tDAO.java:217: warning: [unchecked] unchecked call to add(E) as a member of the
raw type java.util.ArrayList
list.add(event);
^
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(rs.next()) {

Attraction attraction = new Attraction();
attraction.setUserId(rs.getString(1));
attraction.setPassword(rs.getString(2));
attraction.setName(rs.getString(3));
attraction.setDescription(rs.getString(4));
attraction.setWebSite(rs.getString(5));
attraction.setAddress(rs.getString(6));

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?

Thanks

[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,
Bobby
[ 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 'org.gjt.mm.mysql.Driver'
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:529)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:312)
at com.wrox.tourism.db.util.DBInitServlet.init(DBInitServlet.java:34)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1044)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:88
7)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3820)