JConnect-5_5 and J2SDK1.4.1 ClassNotFound
This my constructor:
public microsdb() {
try{
Class.forName("com.sybase.jdbc2.jdbc.SybDriver");
bo=true;
catch(java.lang.ClassNotFoundException cnfe) {
System.out.println("Error in Class.forName ");
System.out.println(cnfe.toString());
bo=false;
c:\jConnect-5_5 in my JDBC_HOME
c:\jConnect-5_5\devclasses in my CLASSPATH, but cnfe.toString() is :
java.lang.ClassNotFoundException:com.sybase.jdbc2.jdbc.SybDriver
Help!
I use Win2k. For this error copy c:\jConnect-5_5\jconn2d.jar for c:\Program Files\java\j2re1.4.1_01\lib\ext\jconn2d.jat thats ok
Similar Messages
-
Oc4j 9.0.3 and j2sdk1.4.0
Hi,
I'm new to OC4J, even though I am an experient java programmer. I copied a file called test.jsp which is working with Tomcat to the j2ee\home\default-web-app directory and then I tried to access it through the following URL: http://localhost:8888/test.jsp
I get the following error:
OracleJSP: oracle.jsp.provider.JspCompileException:
error: Invalid class file format in C:\Program Files\Java\j2re1.4.0_01\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\java\oc4j\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_test.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
^
2 errors
I have j2sdk1.4.0 installed and working properly. I am using version 9.0.3 of OC4J. It seems to me that oc4j 9.0.3 and j2sdk1.4.0 cannot work together. Has anyone passed through this? Can anyone help me out?
Att.
Leonardo PenhaPlease search the archives before you post....
global-web-application.xml
<init-param>
<param-name>javacmd</param-name>
<param-value>c:\jdk1.4.0\javac</param-value>
</init-param>
replace tools.jar from jdk1.4.0 directory
-Christer -
IQ 16, jConnect 16 and numeric datatype
Hi,
I have a situation where I create a table like this:
CREATE TABLE DBA.A_TEST (
PK INTEGER DEFAULT AUTOINCREMENT NOT NULL,
TEST_9_2 NUMERIC(9,2),
PRIMARY KEY (PK)
INSERT INTO A_TEST (TEST_9_2) VALUES (2.01)
When I select the value 2.01 into a BigDecimal (java) value and then use that value to update it on the IQ server (jConnect version is:
jConnect Driver version: jConnect (TM) for JDBC(TM)/16.0 PL03 (Build 27073)/P/EBF23152/JDK 1.6.0/jdbcmain/OPT/Wed Jul 16 00:36:57 PDT 2014
the value 2 is sent. This occurs when DynamicPrepare = true (default value for jConnect 7.X and 16.0).
I find that the Update command, when sent in DYNAMIC tds receives this from IQ:
PARAMFMT
returns TDS_INT4, usertype = 58
jConnect then calls sp_sql_type_name with the 56 for data type and 58 for user type. This seems to cause the update statement to send "2" instead of "2.01". Is this a known issue?
It does seem if I set DYNAMIC_PREPARE = false, then the update works fine (since it explicitly depends on the binding for the parameter.)
File bigdeciTest157.txt is the java jdbc source
testbd_iq16_dp_true_esd05.txt is the TDS on a run - using 7.07 ESD#5 (16.0 PL03 jConnect had same behavior).
I'm thinking the dynamic prepare might not be fully supported on IQ? I notice the dynamic prepare is allocated but on executions only TDS_LANGUAGE is sent and executed. Is this normal as well?
Cheers,
-PaulHi Paul,
Likely Jconnect CR#762132 (allableStatement with BigDecimal , SQL Types.DECIMAL scale zero should error.)
fixed in Conn 15.7 SP130 and Conn16 PL04.
Regards,
Tayeb. -
NetBeans and J2sdk1.4.2 installation problem
Hello,
I downloaded the "j2sdk-1_4_2_07-nb-4_0-bin-win.exe" and did installation.
The installation got completed with a message saying that the installation was over with errors.
Then when i execute the Netbeans, it gives an error message "Cannot find java.exe".
In my j2sdk folder there is a folder by name "_uninst", and a test file "install.txt". No other files are present.
The text file contains the following 2 lines,
"Installing J2SDK..."
"Finished Installing J2SDK..." "
Where Iam wrong. How should i get my java working.
Can any one give me a suggestion.
Regards,
vdharanThe bundled Java/NB product has a much higher incidence of install problems that the individual products.
I recommend you download and install a Java-only product , then separately download (from www.netbeans.org) a matching NB product.
I have Java 1.5.0_02 and a separately installed NB 4.0
(this route also allows easy upgrades of either product, independently.) -
Rebuilding JVM hotspot1.3.1 and j2sdk1.3.1
I have rebuilt the hotspot1.3.1 and j2sd1.3.1 after I made some changes using linux 6.2. When I try to run the interpreter or the compiler I get the message: Error Iinitializing the VM. Unable to load native library libverify.so: undefined symbol.
I trie dsetting the LD_LIBRARY_PATH variable to no success. I also tried inserting the path to libverify in the ld.so.config file nad running ldconfig command. That did not work either. I am suspecting that the share dlibrary is compiled with a version of glibc that generates unrecognizable symbols. Any suggestions for correcting the problem?Well at least 3.0.1 was made available to me for download today.
-
Linux and J2SDK1.4.0
Hi:
I've created a wonderful application on Windows XP and I used 1.4.0. I was so excited tonight because I put the JAR on my Linux box and it ran the app with all the functionality and swing components, iconcs, everything! wow! But ... it was very slow. Am I supposed to recompile on the java box? And, how do I build a Forte Project on the linux machine? I am kind of confused. I have structure like com.piratepete.treasurefind and others, ... do I ftp the com folders and below and then command line somehow?
Any help is appreciated. This is great! I can put out something that runs on any platform! Wow! But I need some help with the build. Or some good URL link to some documentation of such work.
Thanks
PiratePeteI am afraid a mere recompilation will not help. The execution speed depends on the JVM etc. not on the class files; they proved to be portable (platform-independent) anyway.
-
Differences between jdk1.1 and j2sdk1.4 (urgent please)
Someone tels me what are the main differences between jdk 1.1 and j2sdk 1.4 : packages, classes, methods, types ...please. And if there is a package that makes changes to upgrate a code written under jdk1.1 to one that operates under 1.4 or even 1.3 please tell me as quick as possible
ThanksYes, that might "generally" be true, but if you want a
list of incompatibilities:
Starting here
http://java.sun.com/j2se/1.4/compatibility.html#incompa
ibilities1.4 (Incompatibilities between 1.4 and 1.3)
you can trace back through the incompatibilities
between 1.3 and 1.2 and the incompatibilities between
1.2 and 1.1.Correct, but I feel pretty safe saying "generally" because of the following paragraph from the above mentioned document:
J2SE 1.4.0 is strongly compatible with previous versions of the Java 2 Platform. Almost all existing programs should run on J2SE 1.4.0 without modification. However, there are some minor potential incompatibilities with 1.3 that involve rare circumstances and "corner cases" that we are documenting here for completeness. -
What's the different of JDK5.0 and J2SDK1.4.2?
i am a beginner of JSP,don't know which one to choose,thanks.
Use the JDK that your servlet/JSP engine supports.
Which servlet/JSP engine do you have?
If it's Tomcat 5.x or earlier, use JDK 1.4.2.
If it's WebLogic 8.1 or earlier, use JDK 1.4.2.
If it's Tomcat 5.5 or later, use JDK 1.5.
% -
Reef Shark and JDBC datasources
In the pre-Reef Shark version I was able to include and build using Sybase's 12.5 jconn2.jar class files. Since the upgrade, the following error has occurred:
com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String; III)Ljava/sql.PreparedStatement;
In previous in IDE version I found I needed Sybase's jconnect-5_5 jar file to successfully call and process stored procedures. Since the Reef upgrade all previously functioning jConnect have failed with the above error.
Has anyone else seen this error? or knows of a workaround....
ThanksThis is a known issue that Sybase JConnect 5.5 JDBC Driver doesn't support the JDBC 3.0 features that Creator needs.
Even jConnect 6.0 (not available as separate download but it gets installed with newer versions of Sybase) has not yet implemented any JDBC 3.0 methods --
http://www.sybase.com/detail/1,6904,1033283,00.html
If you are deploying to Sun AppServer then using Sun JDBC drivers would be free and easy.
Thanks,
Sakthi -
Installing J2SE 1.4.2 SDK and netbeans 3.6 bundle
I downloaded the bundle and a different computer and burned it to a CD. I brought It home and tried to install it straight from the CD, the computer said that It didnt have enough space on D:\. So I copied the bundle to C: and tried to install. Apart from the fact that the installer doent refresh leaving the image all over the screen. It seems to freeze at 48% on the install log. It installs some files in the netbeans and j2sdk1.4 directories but nowhere near all.
I should mention that I use Windows XP home and when I try to end the task of installing it tells me that I cannot exit the installation just as It would If I had just closed the Window.Hello, I am having the same problem he is when installing the J2SE 1.4.2 SDK + NetBeans 3.6 where I get the warning:
WARNING: D:\ partition has insufficient space to install the items selected. 102 MB additional space would be needed to install the selected items.
Should I try copying it into C: drive or install them separately without the bundle?
Thanks,
Taylor -
J2sdk1.5.0 Error
Please help me out.
I wanted my Jdeveloper 10g to migrate from j2sdk1.4.0_04 to J2sdk1.5.0. I changed the path by going to Tools->Project Properties->Libraries and edited the J2Se version It has done that successfully now while I am running my previous program I am getting error
Error: initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on classpath C:\jre1.5.0_04\lib\rt.jar;C:\jre1.5.0_04\lib\i18n.jar;C:\jre1.5.0_04\lib\sunrsasign.jar;C:\jre1.5.0_04\lib\jsse.jar;C:\jre1.5.0_04\lib\jce.jar;C:\jre1.5.0_04\lib\charsets.jar;C:\Jdeveloper10g\jdev\mywork\webapp\webapp_prj\classes;C:\Jdeveloper10g\jdev\mywork\webapp\webapp_prj\public_html\WEB-INF\lib\mvclient.jar;C:\Jdeveloper10g\jdev\lib\jdev-rt.jar;C:\Jdeveloper10g\j2ee\home\lib\activation.jar;C:\Jdeveloper10g\j2ee\home\lib\ejb.jar;C:\Jdeveloper10g\j2ee\home\lib\jaas.jar;C:\Jdeveloper10g\j2ee\home\lib\jaxp.jar;C:\Jdeveloper10g\j2ee\home\lib\jcert.jar;C:\Jdeveloper10g\j2ee\home\lib\jdbc.jar;C:\Jdeveloper10g\j2ee\home\lib\jms.jar;C:\Jdeveloper10g\j2ee\home\lib\jndi.jar;C:\Jdeveloper10g\j2ee\home\lib\jnet.jar;C:\Jdeveloper10g\j2ee\home\lib\jsse.jar;C:\Jdeveloper10g\j2ee\home\lib\jta.jar;C:\Jdeveloper10g\j2ee\home\lib\mail.jar;C:\Jdeveloper10g\j2ee\home\lib\servlet.jar;C:\Jdeveloper10g\j2ee\home\lib\ojsp.jar;C:\Jdeveloper10g\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\Jdeveloper10g\j2ee\home\oc4j.jar;C:\Jdeveloper10g\jdev\lib\ojc.jar;C:\Jdeveloper10g\BC4J\lib\adfm.jar;C:\Jdeveloper10g\BC4J\jlib\adfjclient.jar;C:\Jdeveloper10g\jlib\bigraphbean.jar;C:\Jdeveloper10g\jlib\LW_PfjBean.jar;C:\Jdeveloper10g\BC4J\lib\bc4jimdomains.jar;C:\Jdeveloper10g\BC4J\jlib\bc4jimjui.jar;C:\Jdeveloper10g\ord\jlib\ordim.jar;C:\Jdeveloper10g\ord\jlib\ordhttp.jar;C:\Jdeveloper10g\ord\jlib\jmf.jarclass file has wrong version 49.0
Jdev 10g and J2sdk1.5.0 beta -
Error using JDBC and DB2 - Please help
Hi, I need some help solving this problem. I ran the same program at my university and it worked. At home I am using TomCat4 and j2sdk1.4.1. I want to connect to the IBM DB2 Universal database personal edition v7. The program compiles, but when I run it, it says it can't find
com.ibm.db2.jdbc.app.DB2Driver. The class path was automatically updated when I installed DB2. What could the problem be? Please help because I really need to use this. Thank you.
Marianne.
This is my program:
import java.io.*;
import java.sql.*;
class testDB {
public static void main(String argv[]) {
try {
// load driver and connect to database
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
String url = "jdbc:db2:test";
String userid = "the database name"; // blanked out
String password = "my password";
Connection con = DriverManager.getConnection(url, userid, password);
// an SQL retrieval getting all rows in table
Statement stmt = con.createStatement();
String SQLStatement = "SELECT issueID, stock FROM test.issue ORDER BY issueID";
String theIssueId;
int theStock;
ResultSet rs = stmt.executeQuery(SQLStatement);
// loop to step through each row of result set
while (rs.next()) {
theIssueId= rs.getString("issueID");
theStock = rs.getInt("stock");
System.out.println(theIssueId + " : " + theStock);
// tidy up
rs.close();
stmt.close();
con.close();
} catch( Exception e ) {
e.printStackTrace();
}Try add path C:\Program Files\SQLLIB\java\db2java.zip to classpath.
-
Exception when "Edit Maps and Interface"
This is pretty uniform on all .jws I tried. Right click on the client
interface and choose "Edit Maps and Interface" yields:
Unexpected exception:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
at
jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
ound(SvcMapEditorDialog.java:1441)
at
jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:134)
at java.awt.Dialog.show(Dialog.java:524)
at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:134)
at java.awt.Dialog.show(Dialog.java:524)
at
jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
ction.java:93)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
19)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
MenuItemUI.java:932)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Was caught at:
jellybeans.util.AssertionFailureException: Unexpected exception: null
at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
at
java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:202)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:134)
at java.awt.Dialog.show(Dialog.java:524)
at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:134)
at java.awt.Dialog.show(Dialog.java:524)
at
jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
ction.java:93)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
n.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
19)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
MenuItemUI.java:932)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)Thanks all. I appreciate the help.
"Peter Laird" <[email protected]> wrote in message
news:[email protected]...
>
Me too. I got different errors however because I did something different:
1.) Download and install the public beta.
2.) Start WLS (I started mydomain server)
3.) Start Workshop from the Start Menu.4) Created a new method for my webservice
5) Selected Debug->"Start and Debug"
6) Got ClassNotFound exceptions on my mydomain server console window andWorkshop
showed a progress bar for multiple minutes instead of failing outright.
There seems to be a basic assumption for some users that Workshopinteracts with
the out of the box WLS instance. Its not clear for people that don't readthe
documentation (that's me!) that the WLS instance needs to be Cajun aware.
Perhaps a message dialog should appear upon first install explaininglittle gotchas
like this. It should be one of those windows that you can uncheck "Showthis window
at startup".
Just a suggestion.
"Joe Noonan" <[email protected]> wrote:
Thanks Ian. I also had this problem. I had started WebLogic before
WorkShop and ran into the same problem. Once I read this and started
it
from within WorkShop, it ran fine.
Joe Noonan
[email protected]
"Ian M. Goldstein" <[email protected]> wrote in message
news:[email protected]...
Thanks, Robert. It looks like this error happens when running a
non-Workshop-enabled instance of WebLogic Server.
Note the differences in the classpath settings in the Workshop-enabled
startWebLogic.cmd script
(C:\bea\weblogic700b\samples\workshop\startWebLogic.cmd) as opposedto the
non-Workshop-enabled scripts at
C:\bea\user_domains\mydomain\startWebLogic.cmd or
C:\bea\weblogic700b\samples\server\config\examples\startWebLogic.cmd.
I'll file an issue about improving the error message if the instanceof
WebLogic Server which is running doesn't have the necessary Workshopjars
in
its classpath.
Ian M. Goldstein
Developer Relations Engineer
BEA Systems, Inc.
"Robert Patrick" <[email protected]> wrote in message
news:[email protected]...
Here are the steps to reproduce this.
1.) Download and install the public beta.
2.) Start WLS (probably don't need to do this)
3.) Start Workshop from the Start Menu.
4.) Right Click on the Hello interface and Choose "Edit Maps andInterface".
Hope this helps,
Robert Patrick
Technical Director
BEA Systems
Ian M. Goldstein wrote:
Hi Steve. I'm not seeing this myself with any of the samples or
my own
jws
files. There was a pre-beta issue that fit this description, but
it
was
resolved before the beta release. What build are you running?
(Click
on
Help
About WebLogic Workshop.)
Are you actually modifying the interface when you're getting that
error,
or
does it happen just from opening the "Edit Maps and Interface"
dialog
box?
Once you get the error, can you get past it and try to open the
"Edit
Maps
and Interface" dialog box again? Do you get the error again, or
does
it
let
you actually edit the interface now?
Thanks,
Ian M. Goldstein
BEA Developer Relations Engineer
"Steve Demuth" <sdemuthxxxxartemisalliance.com> wrote in message
news:[email protected]...
This is pretty uniform on all .jws I tried. Right click on the
client
interface and choose "Edit Maps and Interface" yields:
Unexpected exception:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:394)
at java.lang.Integer.parseInt(Integer.java:476)
at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
at
jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
>>>>>
ound(SvcMapEditorDialog.java:1441)
at
jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164
atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:134)
at java.awt.Dialog.show(Dialog.java:524)
at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:134)
at java.awt.Dialog.show(Dialog.java:524)
at
jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
>>>>>
ction.java:93)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
>>>>>
n.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
>>>>>
19)
atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
>>>>>
MenuItemUI.java:932)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Was caught at:
jellybeans.util.AssertionFailureException: Unexpected exception:
null
at
jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>>>>>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>>>>>
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304
at
java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:202)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:134)
at java.awt.Dialog.show(Dialog.java:524)
at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:134)
at java.awt.Dialog.show(Dialog.java:524)
at
jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
>>>>>
ction.java:93)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
>>>>>
n.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
>>>>>
19)
atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
>>>>>
MenuItemUI.java:932)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1380)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Component.dispatchEvent(Component.java:3367)
atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
at java.awt.Container.dispatchEventImpl(Container.java:1423)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
>>>>>
va:191)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
>>>>>
:144)
atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) -
How find html_basic.tld and jsf_core.tld
I am using Sun's WSDP 1.3 in Windows.
Both tlds are in C:\jwsdp-1.3\jsf\lib as you know.
Usually Tomcat find tld by taglib in the web.xml. Or automatically find it in the jar file in WEB-INF\lib.
Why Tomcat can find C:\jwsdp-1.3\jsf\lib\html_basic.tld and jsf_core.tld?You have downloaded the jsf 1.0 Beta 1? Follow it's replacement of EA4.
Use
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
whether you are online or offline localhost; it works. What doesn't work is
<%@ taglib prefix="f" uri="/WEB-INF/lib/jsf_core.tld" %>
<%@ taglib prefix="h" uri="/WEB-INF/lib/html_basic.tld" %>
But for me right now I have to use
<%@ taglib prefix="c" uri="/WEB-INF/entities/c-1_0.tld" %>
instead of
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Also if you are interested in the xml tags I could only get the x:parse to work but not x:transform. I made a custom tag and backing bean for xslt; needed other output than String anyway.
Just some observations; not 100% sure why the above. [JSWDP 1.3 with jsf 1.0 Beta 1, tomcat 5.0.18 and j2sdk1.4 or j2sdk1.5 beta]. -
JDeveloper 9.0.5.2 and JDK 1.5
Hello all,
Af far as I can see, JDeveloper 9.0.5.2 seems not to be able to work with JDK version 1.5 (Java 5). The new version of JBuilder is already able to do this. Can anyone tell me which version of JDeveloper will support JDK 1.5 and where I can find information about this.
Kind regards,
RonaldThe next major version of JDeveloper will have JSK 1.5 support.
Meanwhile this thread:
Jdev 10g and J2sdk1.5.0 beta
Explains how you can hack a 1.5 support in the current version.
Maybe you are looking for
-
No Synchronisation of Photos between iTunes 10.5 and iPhone 3GS after iOS 5
I made the Update to iTunes 10.5 on my Notebook with Windows XP and the Update to iOS 5 on my iPhone 3GS. I had a lot of Problems (the Backup had an Error, my outgoing Mails were all deleted in all Mail Accounts, the Synchronisation of Music and Apps
-
My HP Pavilion has a WinTv-1260 card in it. The card seems to work fine except I cannot capture video or audio from the front ports of the PC. I can capture it from the ports on the card itself in the back. I suspect that HP may have done somethin
-
GNOME screensaver won't start!@!$%
for some time now I have not been able to launch gnome-screen-saver, either from a gnome-panel or from the command line. from the command line one sees the following error: ** (gnome-screensaver:2468): WARNING **: Failed to get session presence prox
-
hello. i'm new to all this so please can anyone help me? when i first installed safari it worked fine. then next time i started it up, it come up the error message saying it could not open at this time - asking me to send the error reprt as usual. ag
-
Can't Figure Out How the Briblocks Widget
Hey guys. I have a really simple really kind of silly question for you. Does anyone know how to get the blocks from the briblocks widget to multiply in number? Or does it just stay singular for you to look at? Thanks!