Error in jsp prg developed in Developer Studio
Hi,
I developed a JSP program with MS ACCESS as back end using SAP NetWeaver Developer Studio. It was successfully deployed to SAP J2EE Engine. But while executing the program, I m getting the following error:
"reference to Statement is ambiguous, both class java.sql.Statement in java.sql and class java.beans.Statement in java.beans match
Statement stat = conn.createStatement();
^
1 error "
Here is my JSP code:
<%@ page language="java" import = "java.sql.*" %>
<html>
<head>
<title>
Title
</title>
</head>
<body>
<h1>
Sample JDBC Programm
</h1>
<table border=1>
<tr>
<td>Name of the Student</td><td>Course</td>
</tr>
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:data");
Statement stat = conn.createStatement();
ResultSet rs = stat.executeQuery("select * from stu");
if (rs != null)
while (rs.next())
String na = rs.getString("name");
String cna=rs.getString("cname");
%>
<tr>
<td> <%= na%> </td>
<td> <%= cna%></td>
</tr>
<%
rs.close();
stat.close();
conn.close();
%>
</table>
</body>
</html>
Hi Ravindra,
by default when a JSP is converted into a Servlet it imports the java.beans.* package.
All you need to do is in your linke of code:
Statement stat = conn.createStatement();
Change it to:
java.sql.Statement stat = conn.createStatement();
I think this will fix your problem.
Cheers,
Jeff
Similar Messages
-
Sytax highlighiting for jsp in Developer Studio for portal development.
Hey,
I am doing JSP with the htmlb taglib for portals. When I edit a jsp page in the Developer Studio, I expect syntax highlighting. This is what I see in the documentation for jsp editing as well - you know where the keywords are highlighted.
Sytax highlighiting for jsp in Developer Studio for portal development.
http://help.sap.com/saphelp_nw04s/helpdata/en/ce/e0a341354ca309e10000000a155106/content.htm
OutputSuccess.jsp, OutputSuccessText.jsp are the two jsp's that are syntax highlighted on this page.
In my Developer Studio this is not the case. Is a JSP editor and its highlighting not part of the Developer Studio. If it is, how do I get it to work.
I also know that given the right taglib's, the editor also gives autocomplete for taglibs with its settings. I am hoping to speed up my development with this.
Right now I am using a text editor for this. There are a couple of jsp plugin's such as exadel or lomboz which I can integrate if a jsp syntax editor is not there in the Developer Studio. I just wanted to know the right way to go about this.
Thank you for your help.
Sumit.Never mind. I was in the preview mode.
-
Error when downloading Netweaver developer studio
HI,
I was trying to Download Netweaver developer studio from SAP SDN SIte itself, Under Downloads-> SAP Netweaver Composite Envirornment
But I am getting the below error while downloading
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.sap.sdn.folder.sdn/com.sap.sdn.folder.application/com.sap.sdn.folder.roles/com.sap.sdn.folder.navigationroles/com.sap.sdn.folder.sdn/com.sap.sdn.role.anonymous/com.sap.sdn.tln.workset.sdnhome/com.sap.sdn.app.workset.additionalobj/com.sap.sdn.app.iview.softwaredownload
Component Name : com.sap.sdn.softwaredownload.SoftwareDownload
com.sap.sdn.reporting.Reporter.
Exception id: 02:53_13/11/08_1022_3414951
See the details for the exception ID in the log file
Regards,
Varunhi
Try out this link for installation.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/307e90ef-0a65-2a10-e48e-c5a888c81537
Update via this link.
https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/
I hope this would help you.
Thanx. -
Error when launching Netweaver Developer Studio
Hi.
can someone help me. I installed Netweaver Developer studio but when I try to launch it.
I get this error:
"Problem during startup. Check the .log file in the ".metadata" directory of your workspace"
!SESSION Aug 30, 2005 14:50:39.954 -
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide -consolelog -debug C:\j2sdk1.4.2_06\bin\java.exe
-Xmx512m
-Xms128m
-XX:PermSize=32m
-XX:MaxPermSize=128m
-DallUserDir='C:\Documents and Settings\All Users\Application Data'
-cp C:\Program Files\SAP\JDT\eclipse\SapStartup.jar com.sap.ide.eclipse.startup.Main
-os win32
-ws win32
-arch x86
-feature com.sap.java.ide
-showsplash C:\Program Files\SAP\JDT\eclipse\SapIde.exe -showsplash 600
-consolelog
-debug -data C:\NetweaverDevStudio\workspace -install file:C:/Program Files/SAP/JDT/eclipse/
!ENTRY Startup 1 0 Aug 30, 2005 14:50:39.954
!MESSAGE Sap NetWeaver Developer Studio - Build: 200507190119
!SESSION -
!ENTRY org.eclipse.core.launcher 4 0 Aug 30, 2005 14:50:40.188
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:489)
at java.lang.Integer.parseInt(Integer.java:518)
at com.tssap.config.ProxySettings.parse(ProxySettings.java:184)
at com.tssap.config.ProxySettings.loadFromPreferences(ProxySettings.java:114)
at com.tssap.config.Startup.runBeforeWBStartup(Startup.java:39)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:65)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
... 8 more
Please advise.
thanks
JenniferHi Jennifer,
This problem is a common one.
1)Make sure that you have Administrator rights in the systems where you are launching NW Studio.
2)Go to your workspace check the log file (basically a text file)
3)Clear your unwanted registry in your registry folder.
If this doesn't work, re-install NW Studio by deleting the older version from Add or Remove Program in control Panel.
Give the Java bin path correctly and devote any folder of your choice to be your workspace.
Hope it helps.
Regards,
Guru.
P.S :- There is no link for launching of NW Studio with Internet Explorer as both are different applications. -
Error when installing NetWeaver Developer Studio 7
Hi,
I am having problems installing the NetWeaver Developer Studio 7.0.0. which comes bundled with the SAP NetWeaver 7.0 - Trial Version on Linux. To initiate installation, i double-clicked on the IDE70Setup file located in the client/IDE folder. I filled in the options presented by the wizard and installation proceeded. However halfway it terminated abruptly, and displayed an error message as shown below:
Missing file: 'C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.java.ide_7.0.0\plugin_customization.ini'.
Has anybody who encountered this problem before help me out? Any help would be greatly appreciated. Thanks!Hi
Thanks a lot for a quick reply I have tried to install the updates from these two sites.
--https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/710/site.xml
--https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/710/policy.xml
This is an error I m getting.
"No features found on the selected site(s) choose the diferent site or site category"
One question do i have to install the Sap Netweaver CE7.1_SR3... to run this Developer Studio coz I just downlaoded the Dev Studio 7.1 and I am running it on my machine. but I am using JDK 6 not 5 will that be a problem.
Yonela -
Error opening JSP files in Netweaver Developer Studio
Hello,
When I try to open a *.jsp file in the Netweaver Developer Studio, I get the following error:
The ordinal 233 could not be located in the dynamic link library SHDOCVW.dll
When I click on OK for a couple of times (same message), I get the option to open the file.
Then this message:
Invalid or corrup jar file (with a reference to the jsp).
I can however open files with java extensions. It is also not project related, all jsp files react in the same way.
I am currently investigating what MS Windows service packs have been installed recently.
Does anyone know what it means or how this can be solved?
regards, William JackmanHello William,
Have you seen this note already ??
Microsoft security patch KB834707 side effects in NW. SAP Note 785308 -
Error deploying PAR file from Developer Studio (NW04)
Hello,
i've got a problem while trying to deploy a PAR file from NW Developer Studio.
The PAR Export function says
"Unable to connect to the Portal",
the portal itself gives the following response:
"ERROR: Upload failed - exception caught: com.sapportals.portal.prt.runtime.PortalRuntimeException: Invalid content type submitted - no multipart data"
Deploying the PAR file manually using the Administration Console (system administration tab) of the portal works fine, but why doesn't the PAR Export function of NWDS?
Thanks in advance for any help!
Regards,
JörgHi Jörg,
as a general advise, use the NWDS version corresponding to the Servers version, so in this case, upgrade (or better: install new) NWDS 2.0.14. The main reason is WebDynpro compatibility, but the deploy mechanism may need this too.
At least, give it a try and report if you have success (or not).
Hope it helps
Detlev -
Error after deploying a JSP Application developed with jdeveloper
Hi there
Running Oracle Enterpride Edition 8.1.7
including Oracle Http webserver
I'm trying to run a JSP application developed with Jdeveloper
through the oracle http server included in
Oracle Enterpride Edition 8.1.7
Think I have modified alle the .conf files correctly
I get the message :
"Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
Of course I know ,this file should be deployed as well. I have done this.
Any ideas what's wrong ?
Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
Many Thanxs
Regards TJ
nullYep, I had the same problem deploying from JDeveloper 9.3.1, followed:
http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
and it works! thanks for the clue! (now I only have to find out what ADF is now!)
Carlos. -
Error while installing the EHP 1 for SAP NetWeaver Developer Studio (NWDS)
Dear All,
I am trying to install the EHP 1 for SAP NetWeaver Developer Studio (NWDS) 7.1 .It got installed once but when i was trying to deploy the application i was getting an error sayind that we need to have JDK1.5 Update 14 or higher for the installation.
Now i have JDK 1.5.0_14 installed in my system.So i Uninstalled the EHP 1 for SAP NetWeaver Developer Studio (NWDS) and i am trying to reinstall it but i am getting the following error
ERROR:
Unable to complete action for feature "SAP NetWeaver Developer Studio Facades" due to errors.
Execution failed! Commmand: "msiexec.exe /norestart /qb /i librfc32.msi /lvx C:\DOCUME1\NS46249\Local Settings\Temp\com.sap.netweaver.developerstudio.facades_librfc32.msi_install_standard.log ALLUSERS=2 REBOOT=ReallySuppress". Exit value: "1639". Working directory: "D:\Program Files\SAP\IDE\CE7.1.1\eclipse\features\com.sap.netweaver.developerstudio.facades_7.1.0.081112155351". Log file: "C:\DOCUME1\NS46249\Local Settings\Temp\com.sap.netweaver.developerstudio.facades_librfc32.msi_install_standard.log".
Can anybody please help me in resolving this issue.Please help needed as early as possible.
Thanks in Advance:)
Regards,
Nishita SalverDear Nishita,
I hope you have removed the older version of jdk before installing the new version of jdk. Also after un installation of NWDS, did you delete all the temp files and also the directories created during the original installation of NWDS. Also did you restart your system after the uninstallation of NWDS EHP1 and older jdk before reinstallation of the two softwares?
Regards,
Veera
P.S. The first thing you can try is restarting the PC and try resuming the installation, if it doesnt succeed, please remove all traces of NWDS and JDK, restart pc and then resinstall both of them. -
Getting an error in Java Project in SAP NetWeaver Developer Studio
Hi,
I am getting this error in my Java Project developed in SAP NetWeaver Developer Studio.
Exception occurred during launch Reason: Source locator does not exist org.eclipse.jdt.debug.ui.javaSourceLocator
Is this problem of not defining some External .jar file or problem with Eclipse?
I am developing Java Project which connects with SAP Master Data Management.
I am referring to a PDF named "How To identify identical master data records using SAP MDM 5.5
Java APIu2019s".
Regards
Kaushik BanerjeeThis may be because of the metadata(registry) cache when it was written out by a second instance of NWDS.
So the plug-in appears in the file system but NWDS doesn't see it in the metadata
Delete the .metadata file from your workspace and then start up NWDS. It might work.
Regards,
PG
Edited by: PG on Dec 16, 2008 3:18 PM -
J2EE Perspective Error in NetWeaver Developer Studio
Hi there,
I'm currently trying to get an existing EJB jar into the NetWeaver Developer Studio.
- I created a new EJBModule Project and imported all files into the EJBModule folder
- then I get "EJB Candidates"
- I include all these candidates into the ejb-jar.xml
- then I get a new structure below ejb-jar.xml where I can adjust all Bean settings.
Now the error:
When I close the Developer Studio and open it again. This structure is gone. I can't edit the Beans settings and I can't create a jar file any more.
I'm using version 2.0.5
Please help!!! At the moment I have to create a new project every morning...
Thanks & regards
KatrinHi,
Search for <b>DynPage</b> class using jar class finder and add it to the portal application; and organize imports.
The problem will be solved.
Regards,
M.Subathra -
Error during installation SAP SAP NetWeaver Developer Studio
Hello,
Can somebody help installing SAP SAP NetWeaver Developer Studio?
I get the message:
SAP NetWeaver Developer Studio 2.0.0. Setup Wizard not Completed
The SAP NetWeaver Developer Studio 2.0.0 Setup has not successfully installed all selected components on your computer, either because a component could not be installed or the process has been aborted.
Click Finish to exit the wizard.
The following program files could not be installed:
c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\vmconfiguration.xml
The installed applications may not function correctly until all program files are successfully installed. For detailed error descriptions, please open file://D:\IDE\setup\saplogvw.exe .
The following program files could not be installed:
c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\vmconfiguration.xml
The installed applications may not function correctly until all program files are successfully installed. For detailed error descriptions, please open file://D:\IDE\setup\saplogvw.exe .
It looks like a Windows XP problem, because manually I can't copy or create a file in de directory:
C:\Documents and Settings\All Users\Documenten
So the following directory doesn't exits:
c:\documents and settings\all users\documenten\sap\workspace\.metadata\.plugins\org.eclipse.jdt.launching\
It's weird that I don't have access to the "Documenten" directory (this is the dutch Shared-documents-directory) , because I never changed it.
When I right-click the directory "Documenten", and I go to Properties, then I don't see a tab setting access groups.
How can I get access again to the "Documenten"-directory?
Kind regards,
Alwin.Sunil,
There is a NW-DS version on the NW4 test drive DVD given out at TechED which I believe was also posted on the ftp.sap.com before TechEd '04 for CeBit 2004. I personally would like to put my vote out there for getting preview versions to the hands of admins to install and kick the tires before we try to convince management to buyin to purchase a product. Another way SAP reduces TCO?
Bill -
Error while starting SAP NetWeaver Developer Studio
Hi,
I have installed Java SDK (v1.4.2_09) and Netwearver development
studio (2.0.13) on my laptop.When i try to lanch the development studio
i get an error, (!MESSAGE Exception launching the Eclipse Platform:).
Please see the error log for the details.
Please help!
Regards
Fatima
!SESSION Aug 15, 2005 14:44:56.32 -
java.version=1.4.2_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide -consolelog -debug C:\j2sdk1.4.2_09\bin\java.exe
-Xmx512m
-Xms128m
-XX:PermSize=32m
-XX:MaxPermSize=128m
-DallUserDir='C:\Documents and Settings\All Users\Application Data'
-cp C:\Program Files\SAP\JDT\eclipse\SapStartup.jar com.sap.ide.eclipse.startup.Main
-os win32
-ws win32
-arch x86
-feature com.sap.java.ide
-showsplash C:\Program Files\SAP\JDT\eclipse\SapIde.exe -showsplash 600
-consolelog
-debug -data C:\Documents and Settings\shahpurf\Documents\SAP\workspace -install file:C:/Program Files/SAP/JDT/eclipse/
!ENTRY Startup 1 0 Aug 15, 2005 14:44:56.32
!MESSAGE Sap NetWeaver Developer Studio - Build: 200507190119
!SESSION -
!ENTRY org.eclipse.core.launcher 4 0 Aug 15, 2005 14:44:56.262
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:489)
at java.lang.Integer.parseInt(Integer.java:518)
at com.tssap.config.ProxySettings.parse(ProxySettings.java:184)
at com.tssap.config.ProxySettings.loadFromPreferences(ProxySettings.java:114)
at com.tssap.config.Startup.runBeforeWBStartup(Startup.java:39)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:65)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
... 8 moreHi,
I got this solution from SAP and it worked.
This is a known problem that appers due to an implementation bug,
while trying to read the proxy information. The studio expects non-
empty value for key com.tssap.config/proxy, located in
[YourDevStudioInstallationPath]\eclipse\plugins\com.sap.java.ide\pl
ugin_customization.ini file. During the installation no value is
assigned to this key (as you mentioned - no proxy in your case). The
problem will be fixed for SP14, however there is a workaround:
1. Change the value for key com.tssap.config/proxy in
plugin_customization.ini to something like this - proxy:80.
2. After this change the DevStudio should start and you'll be able to
configure your proxy settings from Menu Window->Preferences-
>Workbench->Proxy Settings. (In your case - disable the proxy
server) -
Unable to start netweaver developer studio 7 (sp15) error attached
Hi,
when I try and start netweaver developer studio 7 (SP15) I get the error message below.
I also got an error message when trying to reinstall the software about a file not registering and needing to reboot. Which I did,
I have tried deleting the whole .metadata folder - but the error keeps coming back....
we are running on a 64 bit system - but I thought this would run as a 32 bit program....
any ideas??
!SESSION Apr 21, 2008 20:39:36.409 ---------------------------------------------
java.version=1.4.2_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86 -feature com.sap.java.ide C:\j2sdk1.4.2_17-x64\bin\javaw.exe
-Xmx512m
-Xms128m
-XX:PermSize=32m
-XX:MaxPermSize=128m
-DallUserDir='C:\Documents and Settings\All Users\Application Data'
-cp E:\Program Files (x86)\SAP\IDE\IDE70\eclipse\SapStartup.jar com.sap.ide.eclipse.startup.Main
-os win32
-ws win32
-arch x86
-feature com.sap.java.ide
-showsplash E:\Program Files (x86)\SAP\IDE\IDE70\eclipse\SapIde.exe -showsplash 600 -data C:\Documents and Settings\crdadm\Documents\SAP\workspace -install file:E:/Program Files (x86)/SAP/IDE/IDE70/eclipse/
!ENTRY Startup 1 0 Apr 21, 2008 20:39:36.409
!MESSAGE Sap NetWeaver Developer Studio - Build: 200802160348
!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Apr 21, 2008 20:39:38.142
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.reflect.InvocationTargetException
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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: java.lang.reflect.InvocationTargetException
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:861)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
... 7 more
Caused by: java.lang.UnsatisfiedLinkError: E:\Program Files (x86)\SAP\IDE\IDE70\eclipse\plugins\org.eclipse.swt.win32_2.1.2\os\win32\x86\swt-win32-2135.dll: %1 is not a valid Win32 application
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:108)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:46)
at org.eclipse.swt.widgets.Display.internal_new_GC(Display.java:1291)
at org.eclipse.swt.graphics.Device.init(Device.java:547)
at org.eclipse.swt.widgets.Display.init(Display.java:1316)
at org.eclipse.swt.graphics.Device.<init>(Device.java:96)
at org.eclipse.swt.widgets.Display.<init>(Display.java:291)
at org.eclipse.swt.widgets.Display.<init>(Display.java:287)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1361)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
... 8 more
Edited by: Paul Clavering on Apr 21, 2008 8:44 PMCaused by: java.lang.UnsatisfiedLinkError: E:\Program Files (x86)\SAP\IDE\IDE70\eclipse\plugins\org.eclipse.swt.win32_2.1.2\os\win32\x86\swt-win32-2135.dll: %1 is not a valid Win32 application
This seems to be some issue with wrong S/W choice between 32bit and 64 bit version. Or could be some OS related patch missing.
You seem to have Win 32 bit version and JDK installed is 64bit version.
Pls confirm.
Edited by: Shaji Jacob on Apr 21, 2008 9:09 PM -
ResourceBundle error in NetWeaver Developer Studio MI 2.5 SP16 Patch 3.
SAP NetWeaver Developer Studio
Version: 2.0.19
Build id: 200610270428
MDK Mobile Development Kit Tools v2.5.13
Java: j2sdk 1.4.0 Win
Mobile client: MI 2.5 SP16 Patch 3
Running MAU v1.0 SR 5
Downloaded:
MAM FOR UTILITIES 1 0 SP05 05042006
In the SAP NetWeaver Developer Studio I imported the MAU_eclipse.war from MAM FOR UTILITIES 1 0 SP05 05042006 using the MDK as MAU.war.
Yet, without implementing any changes, just to test, I exported the MAU project into a war file in the following path: C:\Program Files\SAP Mobile Infrastructure\webapps\MAU.war.
I renamed the existing folder C:\Program Files\SAP Mobile Infrastructure\webapps\MAU to MAU_Old
Then, I started MAU from within the NetWeaver Developer Studio by selecting Run, Run.
The client application launched and the new MAU.war file was automatically unpacked C:\Program Files\SAP Mobile Infrastructure\webapps\MAU
The application opens and can be successfully logged into from the SAP NetWeaver Developer Studio.
When the MOBILE ASSET MANAGEMENT FOR UTILITIES link is selected in the client application, error messages appear for example.
See below for the full error messages.
It appears the errors below might be somewhat straightforward, mentioning that the resource bundle could not be found.
Please assist regarding how to ensure the resource bundle can be found and properly loaded for example or what else could be the issue.
Please note that the application opens and can be successfully navigated by launching and logging into C:\Program Files\SAP Mobile Infrastructure\MobileEngine.exe directly.
The issue is launching from within the SAP NetWeaver Developer Studio for running or debugging.
Thanks in advance for your assistance.
Error in the console for the SAP NetWeaver Developer Studio:
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.forwardException
at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at org.apache.tomcat.util.StringManager.getString(StringManager.java:136)
at org.apache.tomcat.util.StringManager.getString(StringManager.java:155)
at org.apache.tomcat.util.StringManager.getString(StringManager.java:194)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
at 0002fmam0005fstart_0002ejspmam_0005fstart_jsp_0._jspService(_0002fmam_0005fstart_0002ejspmam_0005fstart_jsp_0.java:62)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)
Error on client is below:
Address: http://localhost:4444/MAU/start
Error: 500
Location: /MAU/home/home_mgmt.do
Internal Servlet Error:
javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
at 0002fmam0005fstart_0002ejspmam_0005fstart_jsp_0._jspService(_0002fmam_0005fstart_0002ejspmam_0005fstart_jsp_0.java:62)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:536)Hello,
MDK plug in is as bad as NWDS itself. Since the mobile applications are really just a java application, you do not need special plugin for developing them. I STRONGLY suggest to take a look at this blog entry I did when I was working on MAM at SAP:
How to set up NWDS or Eclipse without MDK
Thank you,
Julien Guimont
msc mobile Canada inc.
http://www.msc-mobile.com
Maybe you are looking for
-
I Have recently gotten an iPhone 6. I had an iPhone 4s before. I used iTunes to back up my iPhone 4s and worked fine. Now that I have an iPhone 6 I backed it up to the same computer, same iTunes, it then restored my old phone into my new phone. How d
-
I'm having problems parsing an XSD file with xmlparserv2, and I suspect it's something simple I'm missing ... Java Code: DOMParser dp = new DOMParser(); dp.setValidationMode(XMLParser.SCHEMA_VALIDATION); dp.setPreserveWhitespace (true); dp.setErrorSt
-
How do I fix CS6 Installation errors DW050, DW063, DF024 & DF037?
When I installed Photoshop CS6, I got 14 errors numbers in subject line. Does anyone know what these are and how to resolve them? Also, should I have uninstalled CS5 before installing CS6? Is it okay to uninstall CS5 now? Thank you to anyone who can
-
Why is booting up so slow after 'upgrading' to iCloud???
I updated/upgraded to icloud. Now my macbook takes more than 5 minuts to boot up and is painfully slow to use when it does...help?
-
How can check XML in asynchronous
Hi, I am new in XI. I need clarification on below points. I saw lot of links but not cleared to me. 1) I have IDOC - File asynchronous scenario, it is processed successfully in SXMB_MONI. How to check ouput generated XML file in PI. 2) can we set al