IBM WSAD 5.1.2
In IBM WSAD 5.1.2, can u put EJB Modules as a Jar
Here is a red book link http://www.redbooks.ibm.com/abstracts/SG246361.html?Open
IBM tag documentation link http://www.redbooks.ibm.com/redbooks/SG246361/wwhelp/wwhimpl/java/html/wwhelp.htm
Similar Messages
-
Can NitroX be pluged into IBm WSAD 5.1.1 ?
empty
We are still working on the WSAD integration. The current build does not
support it yet..
M7 Support
"Alex" <[email protected]> wrote in message
news:40720c34$[email protected]..
Hi,I am using IBM WSAD 5.1.1 as my main developing tool.
How can I use NittoX in IBM WSAD 5.1.1 ?
Thank you -
Is there any issue in deploying applications developed using JDeveloper on IBM WSAD
Thanks
SatyaCan you give some examples of Arabic characters from 420 that won't convert to 8859-6 or 1256 that you think should do so?
8859-6 and Windows 1256 are overall not very much alike. They are alike in terms of the Arabic characters themselves, but 1256 has a lot of other characters that won't convert into 8859-6. Are you sure you are looking at conversions of Arabic characters? For example, 1256 and 8856-6 are the same from 0xC1 - 0xD6, but not at all the same from 0xAE to 0xBE.
Another issue that may be tripping you up: code page 420 has a lot of initial, medial, and final form characters in it. Windows 1256 and ISO 8859-6 do not have such characters. 420 is from the era where you didn't have a nice Arabic layout subsystem drawing text on your workstation screen. To convert between 420 and 1256/8859-6 you actually need to do something a bit smarter than a one-to-one conversion. I haven't looked at the conversions in Java lately, but perhaps this conversion has become a bit more rigorous in 1.5. -
IBM WSAD 4.0.3 - getting the DataSource object
Hi guys , i had posted a DataSource question before...but i was able to figure that out. My new problem is that i cant get the DataSource object in my java program and the following error is thrown.
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/TraceElement
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:656)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at DataSourceCheck.main(DataSourceCheck.java:27)
Exception in thread "main"
Here is my Java program :
import java.sql.*;
import javax.naming.*;
import java.util.*;
class DataSourceCheck
public static void main(String[] args)
javax.sql.DataSource myDataSource= null;
try
String initialContextFactory = "com.ibm.websphere.naming.WsnInitialContextFactory";
String providerURL = "iiop://localhost:8081";
java.util.Properties props = new java.util.Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
props.put(Context.PROVIDER_URL, providerURL);
Context myContext = new InitialContext(props);
Connection myConnection = myDataSource.getConnection();
catch (Exception e)
e.printStackTrace();
System.out.println();
I start a Server instance from IBM WSAD and it runs on 8081.
Please suggest what to do .sorry..i forgot to delete that line...its a typing eror.
Here is the code again....
I fail to get the context.
import java.sql.*;
import javax.naming.*;
import java.util.*;
class DataSourceCheck
public static void main(String[] args)
javax.sql.DataSource myDataSource= null;
try
String initialContextFactory = "com.ibm.websphere.naming.WsnInitialContextFactory";
String providerURL = "iiop://localhost:900";
java.util.Properties props = new java.util.Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
props.put(Context.PROVIDER_URL, providerURL);
Context myContext = new InitialContext(props);
//myDataSource = (javax.sql.DataSource)myContext.lookup("jdbc/oracle/OracleDataSource");
//Connection myConnection = myDataSource.getConnection();
catch (Exception e)
e.printStackTrace();
System.out.println(); -
IBM WSAD 4.0.3 - creating a DataSource
I am using Oracle9i. Please suggest how to create a DataSource.
Please tell all the steps.Hi guys , i had posted a DataSource question before...but i was able to figure that out. My new problem is that i cant get the DataSource object in my java program and the following error is thrown.
java.lang.NoClassDefFoundError: com/ibm/ejs/ras/TraceElement
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:656)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at DataSourceCheck.main(DataSourceCheck.java:27)
Exception in thread "main"
Here is my Java program :
import java.sql.*;
import javax.naming.*;
import java.util.*;
class DataSourceCheck
public static void main(String[] args)
javax.sql.DataSource myDataSource= null;
try
String initialContextFactory = "com.ibm.websphere.naming.WsnInitialContextFactory";
String providerURL = "iiop://localhost:8081";
java.util.Properties props = new java.util.Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
props.put(Context.PROVIDER_URL, providerURL);
Context myContext = new InitialContext(props);
Connection myConnection = myDataSource.getConnection();
catch (Exception e)
e.printStackTrace();
System.out.println();
I start a Server instance from IBM WSAD and it runs on 8081.
Please suggest what to do . -
JDBC Drivers compatability between Oracle and IBM WSAD 5.1.1
I am using a DataAccessObject pattern. I discovered you can speed up your procesing with SELECT statments us using an OraclePreparedStatment and setting defineColumnType; thereby reducing the number of trips the SQL is sent to the database.
Here is the code:
((OraclePreparedStatement)ps).defineColumnType(1, Types.BIGINT);'ps' is a PreparedStatement.
However, at runtime, I am getting a class cast exception for the below reason. I am using WASD version 5.1.1. I was not aware IBM was using any specific classes in the JDBC drivers.
[2005-05-23 15:36:59,855][Servlet.Engine.Transports : 2][ERROR][{TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}]
{TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}
at java.lang.Throwable.(Throwable.java)Could someone please explain this to me? Any help would be greatly appreciated.I'm not an WSAD expert to be honest, but it's quite possible they are using their own wrappers. Check out what calls you can make on their ps wrapper or more likely conn wrapper - they may have some type of getWrappedConnection functionality as other vendor(s) do in which case you can, eg, cast the connection to OracleConnection and go from there.
-
Kodo 2.4 integration with IBM WSAD (IBM)
I am using WSAD (IBM/eclipse) 4.0.3. with Kodo 2.4. I have kodo installed,
but whenever I
attempt to use it I get the following error.... I appears that KODO can't
find the workbenchSite,
I have checked the KODO install and it does list the org/eclipse/ui in its
needed files....and I have
verfiied that the ui directory is present and that workbenchsite is present
in the jar.
I get this error whenever I try to use any of the features on Kodo menu....
Log: Fri Dec 13 12:22:03 CST 2002
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Fri Dec 13 12:22:03 CST 2002
4 org.eclipse.ui 0 org/eclipse/ui/IWorkbenchSite
java.lang.NoClassDefFoundError: org/eclipse/ui/IWorkbenchSite
at
com.solarmetric.modules.integration.eclipse.AbstractAction.getView(AbstractA
ction.java:31)
at
com.solarmetric.modules.integration.eclipse.AbstractMetadataAction.run(Abstr
actMetadataAction.java:44)
at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:125)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionCont
ributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionI
tem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(A
ctionContributionItem.java:47)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled
Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled
Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled
Code))
at org.eclipse.ui.internal.Workbench.run(Workbench.java:656)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
a:815)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
at org.eclipse.core.launcher.Main.run(Main.java:442)
at org.eclipse.core.launcher.Main.main(Main.java:315)It appears that in our released version, a different compiler broke our
Eclipse 1.0 support (and for apps based on Eclipse 1.0 such as WSAD 4).
We will get this resolved before the next patch release.
Sorry for any inconvenience this may have caused.
Brian Smith wrote:
Here is the list of files in the solarmetrics.... directory:
list of files in the com.solarmetric.kodo_0.9.0
xml-apis.jar
xercesImpl.jar
xalan.jar
serp_license.txt
serp.jar
plugin.xml
plugin.properties
log4j-1.2.6.jar
kodo-reverse-schema.jar
kodo-jdo-runtime.jar
kodoJDO.library
jta-spec1_0_1.jar
jndi.jar
jdo1_0.jar
jdbc-hsql-1_7_0.jar
jdbc2_0-stdext.jar
jca1.0.jar
jakarta-commons-logging-1.0.2.jar
hypersonic_license.txt
classes12.zip
icons folder
"Brian Smith" <[email protected]> wrote in message
news:[email protected]...
We are running NT 4 for the OS
Yes, this except is from the .log file, the screen just a message that Ihad
an error with the UI (subsystem) and I had to find the .log file to get
something meaningful.
I still don't have a great idea what the root cause of the problem is.
I will get a list of the files in kodo subdirectory when I get intomorrow,
I followed the
directions and copied all of the KODO-JDO-2.4.0 jar files there, but Iwill
get the exact
set for you.
Brian
"Steve Kim" <[email protected]> wrote in message
news:[email protected]...
What OS are you running on? Is this from the .log or from the screen?
If the latter, could you send us the applicable portion of the IDE log
(its $your_eclipse_directory/workspace/.metadata/.log)?
Could you also post a list of the files in your
$your_eclipse_dir/plugins/com.solarmetric.kodo_0.9.0 durectory?
Brian Smith wrote:
I am using WSAD (IBM/eclipse) 4.0.3. with Kodo 2.4. I have kodo
installed,
but whenever I
attempt to use it I get the following error.... I appears that KODOcan't
find the workbenchSite,
I have checked the KODO install and it does list the org/eclipse/ui inits
needed files....and I have
verfiied that the ui directory is present and that workbenchsite ispresent
in the jar.
I get this error whenever I try to use any of the features on Kodomenu....
Log: Fri Dec 13 12:22:03 CST 2002
1 org.eclipse.core.resources 4 Unhandled exception caught in event
loop.
Log: Fri Dec 13 12:22:03 CST 2002
4 org.eclipse.ui 0 org/eclipse/ui/IWorkbenchSite
java.lang.NoClassDefFoundError: org/eclipse/ui/IWorkbenchSite
at
com.solarmetric.modules.integration.eclipse.AbstractAction.getView(AbstractA
ction.java:31)
at
com.solarmetric.modules.integration.eclipse.AbstractMetadataAction.run(Abstr
actMetadataAction.java:44)
at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:125)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionCont
ributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionI
tem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(A
ctionContributionItem.java:47)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled
Code))
atorg.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled
Code))
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled
Code))
atorg.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled
Code))
at org.eclipse.ui.internal.Workbench.run(Workbench.java:656)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
a:815)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
at org.eclipse.core.launcher.Main.run(Main.java:442)
at org.eclipse.core.launcher.Main.main(Main.java:315) -
MQJMS2005 - IBM wsad/mq pub/sub sample
Has anyone had problems running the IBM pub-sub sample for wsad and wq.
http://www-106.ibm.com/developerworks/ibm/library/i-jms2/
I am running MQ5.3 and WIN2000.
The P2P example works fine, getting the folowing error when trying to test client access:
Exception: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:QM1'
Any help will be greatly appreciated.I am having the exact problem. I have MQ5.3/WSAD5.0/WIN2000. Try putting the directory where mqji.properties has
to be in the operating system CLASSPATH environment variable, or you will get the error message you indicated. This was suggested by Willy Farrell himself. I am stil running into issues :) But try and see if this works for you. -
IBM new WebSphere Studio tools and Weblogic?
Hi,
Does anybody know does BEA has any plans to create plug-in for new
(currently beta) IBM's Java development tools to support Webloigic?
Sincerely,
Vladyslav Kosulin, Hauppauge, NY
([email protected])Its true that WSAD is based on Eclipse, which is an open source IDE-framework.
Anyone can make there own extensions like : editors, testenvironments, deployment-wizards
etc.
The main difference between Eclipse an WSAD is that while eclipse comes with a
minimal set of tools, IBM has made a broad range of tools, which is what they
are really selling.
The framework is, as you said, Eclipse.
If I was to start out using Eclipse now for large enterprise solutions, I would
start out with WSAD.
But in time, Eclipse will probably grow beyond WSAD, by the contributions made
by the open source community.
Chemi <[email protected]> wrote:
Nirav, I have several comments about this point:
- IBM WSAD is based on an Open Source project called Eclipse.
- So I don't understand your comment "how open is"......... Perhaps you
should review the meaning of Open Source.
- From my point of view, you could forget IBM WSAD and just concentrate
in
Eclipse.
- BTW, WebGain (I think you know them) is part of the Eclipse.org board.
- Eclipse R1.0 (http://www.eclipse.org) is GA some months ago, IBM WSAD
(http://www-4.ibm.com/software/webservers/studio/preregister.html) is
GA
one month ago, but I haven't seen any new official post about the future
of this integration.
And.......... speaking a little bit more about "how open is....", how
open
is your new "Cajun" strategy?
TIA,
Chemi.
Nirav Chanchani wrote:
Vladyslav,
We are evaluating the IBM WebSphere Studio Application Developer beta.
Since the tool is reportedly based on a new framework, we are not sure
of integration API's available or how "open" is the IBM WebSphere
Workbench.
Regards,
Nirav. -
How to access .asmx Web Service using JAVA? Newbie
Hello Experts,
Currently, I have a project where in I have to access a ,NET web service. It is made of C#. I just want to ask how will I start the accessing process? I made this simple equation on how my project is.
Java Project + C#.Net Web Service = Integration
1. Do i need to create a Web Service too for the Java Project? If yes, What are the necessary tools needed for the creation of this Java Web Service?
2. The .NET Web Service is available online. (It is made by other people).
3. Based on the equation, what is the equivalent technology for the + sign?
4. Can you site a concrete example for accessing a web service?
5. I'm new here. Totally I have no idea where to start.
6. Thank you experts.
Edited by: Benedict.Aluan on 05 30, 08 1:38 PM
Edited by: Benedict.Aluan on 05 30, 08 1:39 PMHello
Thanks a lot for your help ...
I am developing simple J2EE based web service client using IBM WSAD 5.1. I have used the following code to call .asmx web service in Java
String url = "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl";
String namespace = "http://tempuri.org/";
name = request.getParameter("txtName");
try
System.out.println("In Internet Service");
ServiceFactory factory = ServiceFactory.newInstance();
Service serv = factory.createService(new URL(url),new QName(namespace,"TempConvert"));
System.out.println("Got Service......");
Call obj = (Call)serv.createCall();
System.out.println("Got Call......");
obj.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"");
obj.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
obj.setTargetEndpointAddress(url);
obj.setPortTypeName(new QName(namespace,"TempConvertSoap"));
obj.setOperationName(new QName(namespace,"FahrenheitToCelsius"));
obj.addParameter("param1",XMLType.XSD_STRING,String.class,ParameterMode.IN);
obj.setReturnType(XMLType.XSD_STRING);
System.out.println("Parameters Set.....");
Object[] params = new Object[]{name};
k = (String)obj.invoke(params);
System.out.println("Result: "+k);
catch(Exception e)
System.out.println("Exception is : "+e);
}But this code is throwing exception that
Invalid Address "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"I have also tried this URL with Java Proxy. But it showing the same error.
Plz can u tell me how to access .asmx web service ?
Waiting 4 reply. -
Hi,
I am creating a web service which has a method that communicates with the Data access layer (classes that have database connectivity).
While generating WSDL, I am getting the following error in IBM WSAD:
"IWAB0132W Boolean property accessor getBoolean in bean Field begins with "get". Boolean getter methods should begin wth "is"."
This is the error inspite of the fact that there is no boolean data member involved in the code.
Kindly reply urgently with the possible solutions if anyone of u has come across such an error.
Thanks in advance
KaranHi,
While further investigating the problem, I found out that if i try to return a Vector from my Web Service the error message is thrown, otherwise on returning any other object there is no error.
I tried to return an array of type Object, but same error was reported. I am using IBM WSAD 5.1
Please help asap
Thanks
Karan -
Serializing a JavaBean to the WEB-INF directory or subdirectories
Hello, I'm hoping someone can help me on this.
I'm working with two scenarios in WSAD Enterprise Edition 5.0.0.2 for
serializing a JavaBean (called AddressBean) to the following location
in my Web application:
/WEB-INF/classes/resources/serializable
The data corresponding to the bean I'm serializing is being stored in
a file with a name that makes it unique on the file system (e.g.
jeff.ser, jill.ser). In the first scenario, I start by getting a
FileOutputStream, then an ObjectOutputStream which is then used to
write my JavaBean as needed. All of this is done in the first
scenario from a JSP located in:
myWebApp/Web Content/jsp/JSP1.jsp
That works fine and as I'd expect. However, I'm not able to do that
in the second scenario. In this scenario, I created an additional
method in the bean itself that will actually serialize an object of
its own type to the same directory structure that I showed above (i.e.
under the WEB-INF directory). That is, in my bean, I have the
following:
public void writeDataToFile(AddressBean bean, String path) {
FileOutputStream fos = null;
ObjectOutputStream oos = null;
try {
fos = new FileOutputStream(path);
oos = new ObjectOutputStream(fos);
oos.writeObject(bean);
oos.close();
catch(Exception e) {
e.printStackTrace();
In this scenario, another JSP (call it JSP2.jsp) is creating an
instance of AddressBean by using the jsp:useBean tag. The real path
for the .ser file is figured out in the JSP code (same as was done in
JSP1.jsp), and then I delegate the serialization part to the bean
itself like so:
// In JSP2.jsp
<jsp:useBean id="ab" class="examples.beans.simple.AddressBean" />
AddressBean address = (AddressBean) pageContext.getAttribute("ab");
// get the path
String path = ...
String realPath = application.getRealPath(path);
// write the object
address.writeDataToFile(ab, realPath);
What happens is that I get a FileNotFoundException while trying to
create the FileOutputStream in the writeDataToFile() method in
AddressBean at runtime. The message in the console states:
java.io.FileNotFoundException:
C:\WINNT\Profiles\myself\Personal\IBM\wsad\myworkbench\myWebApp\Web
Content\ (Access is denied)
The source file for AddressBean is located at:
myWebApp/Java Source/examples.beans.simple.AddressBean
WHAT is going on here!? I know that everything stored underneath the
WEB-INF directory is not served to clients so I'm also assuming that
whatever stored in that directory or its subdirectories is not
accessible to clients by default. The only real difference between
the two scenarios that I've described is that in the second one, the
attempt to get a FileOutputStream is being made by a resource (i.e.
AddressBean) that is outside of the "Web Content" directory structure
in WSAD. However, the "Java Source" directory, which contains the
package housing my AddressBean class, is also under myWebApp so I'm
not seeing what the problem is at the moment.
If anyone has any ideas, suggestions, solutions, please let me know.
I'm stumped. Thank you!
JeffI figured it out, and it was my mistake. The problem was in a method defined in my AddressBean class that would take a String argument and use it to help create a unique file name (i.e. one with a .ser extension to contain the serialized bean data) for purposes of serialization later.
Basically, I was using a local variable in the method unintentionally instead of the instance variable that I had defined in the bean so my path value was null at runtime--hence the FileNotFoundException.
I'm still not sure why the (Access is denied) message was appearing, but I suspect it was b/c the absolute path that I'd end up with at runtime wasn't kosher; or, not having a destination .ser file was the problem.
In any event, I fixed the mistake and could serialize a JavaBean in several ways:
1. From a JSP directly
2. By using a method defined in the JavaBean itself
3. By passing on the request, which contained the JavaBean as an attribute, to a servlet that took care of the serialization
Jeff -
Error: Requested resource does not exist with SAP WebAS..deployed an ear
hi,
i deployed an application using SDM gui deployement manger. the application is built using struts,spring etc. I have also created a datasource with Oracel 9i succesfully and hav associated it with the application.
When i try to access the application using the struts based path i get an "<b>ERROR 404:- Error: Requested resource does not exist</b>". I also tried accessing the index.jsp page directly without struts paths but dont know why i get an error "<b>File [appContext/admin/index.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].</b>"
The same ear is working perfectly fine with IBM WSAD but not in SAP Web AS ?? is there any configuration issues that i need to address ?? Kindly help me ASAP !!
Regards,
VaibhavHi,
The Required server log contents are as follows:-
#1.5#000CF1AFC124017A000000020000067000041B1D550F525C#1155712701853#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/doculine#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server#Plain###Runtime error in compiling of the JSP file <C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp> !
The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [/WEB-INF/c.tld]: [
com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)(:main:, row=739, col=23) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)
Exception id: [000CF1AFC124017A000000000000067000041B1D550F4D94]#
#1.5#000CF1AFC124017A000000030000067000041B1D550F5C88#1155712701868#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/doculine#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error##Plain###Processing HTTP request to servlet [action] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp].
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:117)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:238)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:429)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1001)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:560)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:209)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:316)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:372)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [/WEB-INF/c.tld]: [
com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)(:main:, row=739, col=23) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: a9(:main:, row:739, col:23)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.validate(JSPParser.java:243)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:348)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:105)
... 37 more
#1.5#000CF1AFC124017A000000050000067000041B1D550F5F94#1155712701868#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/doculine#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#2####661184d02cf711db80fa000cf1afc124#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [action] finished with error.
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page [C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/doculine/servlet_jsp/doculine/root/admin/login.jsp].
Exception id: [000CF1AFC124017A000000030000067000041B1D550F5C88]# -
Jaxb. Problem in generating classes
I am using wsad 5.1.1 and java web services developers pack 1.5.
I am trying to generate classes from xml schema but i am getting following error. please help.
parsing a schema...
compiling a schema...
generated\impl\runtime\ContentHandlerAdaptor.java
generated\impl\runtime\GrammarInfo.java
generated\impl\runtime\SAXUnmarshallerHandler.java
generated\impl\runtime\GrammarInfoFacade.java
generated\impl\runtime\UnmarshallingEventHandlerAdaptor.java
generated\impl\runtime\SAXMarshaller.java
generated\impl\runtime\ValidatingUnmarshaller.java
generated\impl\runtime\AbstractUnmarshallingEventHandlerImpl.java
generated\impl\runtime\GrammarInfoImpl.java
generated\impl\runtime\Util.java
generated\impl\runtime\ValidationContext.java
generated\impl\runtime\UnmarshallerImpl.java
generated\impl\runtime\UnmarshallingEventHandler.java
generated\impl\runtime\NamespaceContext2.java
generated\impl\runtime\SAXUnmarshallerHandlerImpl.java
generated\impl\runtime\XMLSerializable.java
generated\impl\runtime\DefaultJAXBContextImpl.java
generated\impl\runtime\UnmarshallableObject.java
generated\impl\runtime\PrefixCallback.java
generated\impl\runtime\NamespaceContextImpl.java
generated\impl\runtime\ErrorHandlerAdaptor.java
generated\impl\runtime\ValidatableObject.java
generated\impl\runtime\Discarder.java
generated\impl\runtime\MSVValidator.java
generated\impl\runtime\UnmarshallingContext.java
generated\impl\runtime\ValidatorImpl.java
generated\impl\runtime\InterningUnmarshallerHandler.java
generated\impl\runtime\MarshallerImpl.java
generated\impl\runtime\XMLSerializer.java
generated\impl\CommentImpl.java
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.NullPointerException
at com.ibm.nio.cs.SBCS_Encoder.canEncode(SBCS_Encoder.java:199)
at com.sun.codemodel.JPackage$1.requireEscaping(JPackage.java:356)
at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.java:28)
at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.java:54)
at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.java:66)
at java.io.PrintWriter.newLine(PrintWriter.java(Compiled Code))
at java.io.PrintWriter.println(PrintWriter.java(Compiled Code))
at com.sun.codemodel.JFormatter.nl(JFormatter.java:159)
at com.sun.codemodel.JPackageMemberClass.declare(JPackageMemberClass.java:60)
at com.sun.codemodel.JPackage.build(JPackage.java:364)
at com.sun.codemodel.JCodeModel.build(JCodeModel.java:157)
at com.sun.tools.xjc.Driver.run(Driver.java:235)
at com.sun.tools.xjc.Driver._main(Driver.java:80)
at com.sun.tools.xjc.Driver.access$000(Driver.java:46)
at com.sun.tools.xjc.Driver$1.run(Driver.java:60)Use the Sun 1.4.2 JDK instead of the IBM WSAD 5.1.1 built-in JDK.
-
Class javax.servlet.jsp.PageContext compilation error
During Rebuild/compilation of the JSP files inside JDeveloper, I am encountering the compilation error "Error(548,78): method handlepageException (java.lang.Throwable) not found in class javax.servlet.jsp.PageContext. When I developed the same application under IBM WSAD, I included the library com.ibm.servlet.jar and will take care of it. Which Oracle Jdeveloper lib I need to include? Since it is a servlet library error, I tried to include the Oracle "Servlet APIC Classes" but it didn't fix the problem. Thanks in advance!
hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
hope this helps.
Maybe you are looking for
-
Sound & Picture Sync going out
I recently upgraded to iDVD '08 and having a problem with the synchronization on my end movie. I export my wedding movies from FCE with all the chapter markers to iDVD. Everything appears fine in the preview, but once the project is burnt, towards th
-
WAD: How to make time scale in graph ?
Hi, In the query, there are milestone (0MLST_USE) in rows and 3 key figures (0DATE_KYF with value type Target, Actual or Forecast) in columns. I create a report in web template with a chart type 'Profile'. I have 3 categories (Actual, Target and Fore
-
After Effects CS6 locks up when trying to use Preferences sub-menu
I have an issue with AE "freezing" or locking-up when trying to use any of the sub-menu items under preferences. I have to shut down with task manager to regain control. I have a wintel PC with 8 gig of RAM and 2 TB of disk and a quad-core, don't thi
-
I never touch my Pro Tools except for when I am going to work on something I receive that was made on Pro Tools. My situation is that everytime that I try to open Pro Tools(since I upgraded to 7.2.3) it gives me a message stating that "other devices
-
I'm unable to download a trial of After Effects. The download assistant 1.2.5 bombs out saying "Error communicating with Adobe.com(Error 107). Restart Adobe Download Assistant and try to add the product again". This doesnt work. I then signed up for