Websphere5

When I try too add JSP files in the Websphere5 app server, creating a .ear file and then install the application, I get the error message that it could not compile the JSP files. The same had been deployed in Websphere3, so will there be any problem with JSP version?

yes, 'cause the version 3 use a different version of jsp compilation, you have to change some things, like the jdbc connection context, etc.
how you migrate the files?, with the IMPORT command of the FILE MENU.

Similar Messages

  • Expression language error in websphere5.1.2

    Hi,iam develping a spring based project using websphere5.1.2.
    i got a problem in my login .jsp page which has two fields username and pwd,if iam entering both the values and clicking submit button it was working fine.
    but if iam not entering any values either username or pwd to check validation it was giving the below error.iam using validation.xml and validator rules.xml and included commoms-el.jar and jsp-api.jar and spring.jar and commons-validator.jar.
    so ple help me in this isuue.
    Error page exception
    The server cannot use the error page specified for your application to
    handle the Original Exception printed below. Please see the Error Page
    Exception below for a description of the problem with the specified error
    page.
    Original Exception:
    Error Message: javax.servlet.jsp.PageContext: method
    getExpressionEvaluator()Ljavax/servlet/jsp/el/ExpressionEvaluator; not found
    Error Code: 500
    Target Servlet: null
    Error Stack:
    java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext: method
    getExpressionEvaluator()Ljavax/servlet/jsp/el/ExpressionEvaluator; not found
    at
    org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvalua
    tionHelper.evaluate(ExpressionEvaluationUtils.java:216)
    at
    org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(Expres
    sionEvaluationUtils.java:150)
    at
    org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.ja
    va:196)
    at
    org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTa
    g.java:147)
    at
    org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(Reque
    stContextAwareTag.java:68)
    at org.apache.jsp._logon._jspService(_logon.java:167)
    at
    com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(Jsp
    Servlet.java:344)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.jav
    a:669)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
    tInstance.java:110)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
    cleServlet.java:174)
    at
    com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
    let.java:313)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
    leServlet.java:116)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
    :283)
    at
    com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
    vletReferenceState.java:42)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
    tanceReference.java:40)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
    WebAppRequestDispatcher.java:983)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
    tDispatcher.java:564)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
    Dispatcher.java:200)
    at
    org.springframework.web.servlet.view.InternalResourceView.renderMergedOutput
    Model(InternalResourceView.java:97)
    at
    org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:2
    50)
    at
    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.j
    ava:961)
    at
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServl
    et.java:738)
    at
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServle
    t.java:658)
    at
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSer
    vlet.java:392)
    at
    org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.jav
    a:357)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
    tInstance.java:110)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
    cleServlet.java:174)
    at
    com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
    let.java:313)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
    leServlet.java:116)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
    :283)
    at
    com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
    vletReferenceState.java:42)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
    tanceReference.java:40)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
    WebAppRequestDispatcher.java:983)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
    tDispatcher.java:564)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
    Dispatcher.java:200)
    at
    com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at
    com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
    .java:276)
    at
    com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
    achedInvocation.java:71)
    at
    com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(C
    acheableInvocationContext.java:116)
    at
    com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
    uestProcessor.java:186)
    at
    com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
    r.java:334)
    at
    com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
    a:56)
    at
    com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Error Page Exception:
    Error Message: /error.jsp
    Error Code: 404
    Target Servlet: JSP 1.2 Processor
    Error Stack:
    com.ibm.ws.webcontainer.webapp.WebAppErrorReport: /error.jsp
    at
    com.ibm.ws.webcontainer.srt.SRTServletResponseContext.sendError(SRTServletRe
    sponseContext.java:162)
    at
    com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.
    java:621)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(Jsp
    Servlet.java:379)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.jav
    a:669)
    at
    com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
    tInstance.java:110)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
    cleServlet.java:174)
    at
    com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
    let.java:313)
    at
    com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
    leServlet.java:116)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
    :283)
    at
    com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
    vletReferenceState.java:42)
    at
    com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
    tanceReference.java:40)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
    WebAppRequestDispatcher.java:983)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
    tDispatcher.java:564)
    at
    com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
    Dispatcher.java:200)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleError(WebApp.java:1035)
    at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:897)
    at
    com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:185)
    at
    com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
    .java:276)
    at
    com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
    achedInvocation.java:71)
    at
    com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(C
    acheableInvocationContext.java:116)
    at
    com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
    uestProcessor.java:186)
    at
    com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
    r.java:334)
    at
    com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
    a:56)
    at
    com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

    Websphere 5 is J2EE 1.3 server.
    Ie it supports Servlet2.3/JSP1.2
    So you can only use JSTL1.0 with it, and EL will only be understood in the tags written specifically for it.
    It seems like you are trying to hack it into a JSP2.0 container?
    Adding Tomcat's jsp-api.jar into the mix won't help at all. The base container can only handle what it was designed for.

  • Please help - Toplink on Websphere5.1

    Hi,
    I am newbie on Toplink and I am trying to use toplink to run on a sample table with EJB 2.0 CMP and Session Facade. I created a project.xml and toplink-ejb-jar.xml(renamed the session.xml for Websphere) using toplink workbench and placed in the META-INF folder . Build the jar and made .ear with .war file to access from web and deployed on to Websphere5.1.1 . Deployment went fine.
    When I try to create a record from webpage, looks like it is trying to insert the record into the database with entity bean name as table and throwing the error as " table or view does not exist ". It is understood that it is not going through the Toplink mapping in WebSphere.
    In Websphere, I have put the toplink.jar in classpath.
    Is there anything missing in configuration in websphere or in jar or in toplink?
    Not sure how does Websphere knows it needs to go through the Toplink and Toplink generated xml files?
    Appreciate your help. I am not able to find any help on the documentation on this.
    Thanks
    Sreeni

    TopLink does not support EJB 2.0 CMP in Websphere 5.1.
    Either make use of TopLink's POJO persistence, TopLink's EJB 2.0 BMP support, or investigate TopLink's EJB 3.0 JPA support.
    TopLink 10.1.3 supports EJB 2.0 CMP in Oracle Application Server 10.1.3, and WebLogic 8.
    TopLink supports POJO persistence in any application server, or Java environment.

  • Urgent  ::: Deployment of ejb1.1 on WebSphere5.1

    We are using ejb1.1 cmp entity beans. We are trying to deploy it on WebSphere5.1 , in linux environment.
    We are following these steps....
    1. We created a database say "sampledb" with username as "testuser", passwprd as "test".
    2. In WSAD, we specified the datasource , user, password in the ejb deployment descriptor for each entity bean, created a connection, generated mapping using meet in middle option, generated "Deploy and RMIC code".
    3. Created an ear and deployed it on WebSphere Application Server 5.1 on Linux using default settings (had not checked "Deploy EJBs" in step named "Provide options to perform the installation ").
    4. The system worked fine with the above steps.
    Problem:
    When we tried with a different datasource, username, password while deploying on the server and checked "Deploy EJBs" in step named "Provide options to perform the installation ", it generated Top Down mapping by default.
    On running the application, it gave error on finder because it was trying to find in a table having the same name as the Entity Bean (due to top down mapping).
    Basically we require a solution to deploy Entity Beans when a different datasource, username, password is specified at the time of deployment on the server.
    Thanks

    As soon as you say "Deploy EJBs", WAS tries to do the top down mapping. This seems very ridiculous, but that is the way it works and there is nothing we can do unless they come up with some mapping tools in the browser, which I will not expect any soon.
    Coming back to the original problem, once you used WSAD to generate the meet in the middle mappings for a particular tye of database (say Oracle 9i), the tool will generate the container specific descriptors and also ejbDeploy them.
    The problem is that the container specific CMP descriptors generated by WSAD contains the schema name appended to all the table name entries.
    It also has the Database instance name in one of the descriptors. (Dont remember which one)
    So you might have to go back to WSAD and do it all again. This is the J2EE recommended model where you have all the different actors and the "deployer" actor must use the deploy too to create the EAR. You might then ask as to why they have the "Deploy EJBs" option. Well that is for non CMP apps or CMP apps that can fit into the top down approach - which I by the way find weird.
    But, if your database instance name and Schema name are the same in the second case, you can use the J2EE resource reference mapping to locate the datasource and deploy the ejbDeployed ear file you created in the first step.
    Alternatively, this is what I did. I took the generated deployment descriptors, altered them to get rid of DB instance and SID names and kept them seperate. I create an EAR with these deployment descriptors all the time and then ejbDeploy them.
    So now I have been deploying this ejbDeployed ear in any type of container. I am not bothered about the SID and the instance and since I ejbDeploy the ear outside, I dont have to worry about the container's top down mapping mechanism.
    Also, I do not worry about the DB instance and SID information. I am not sure if this is the right approach. As far as WAS documentation goes this is not a recommended approach.
    Also if the table names / columns change, I will have to change the appropriate DD's, but if you are OK with that, the approach is workable.
    If you have any additional questions, I might be able to help.
    Hope this helps.
    Vijay

  • GregorianCalendar method add(int,int) in websphere5.1

    This bug report landed in my lap. The program is registering payments, and when user is registering multiple payments he gets the duedate set to 1970 from the second payment and on. Someone wrote on the bug report "method add(int,int) in GregorianCalendar doesn't work in WebSphere 5.1".
    So, when t>0 in the following code, things go haywire. Anyone have experience with this?
    dueDateG.clear();
    dueDateG.setLenient(false);
    dueDateG.setTime(dueDate);
    if (t==0)   addMonth = 0;
    else        addMonth = freq;
    dueDateG.add(Calendar.MONTH, addMonth);
    date = dueDateG.getTime();
    dueDate = date;

    By "Websphere 5.1" are you meaning Websphere Application Server 5.1 or Websphere Application Developer 5.1?
    The former (as known as WAS) uses IBM JDK 1.4.X (I believe that's 1.4.1); the later (as known as WSAD) can be used with any version of WAS starting from 4.X I believe.
    Some things can have problems when you're using IBM JDK's instead of Sun's, for instance trying to use the javax.crypto.* classes, that are different from Sun's; but I don't know if GregorianCalendar has problems. The first thing to do is insulate the code that you sent and try running it in IBM's and Sun's JDK. If you get problems only with IBM's JDK, you'll need to rewrite your code.

  • How to use remote JMS in websphere5?

    I want to use JMS in another server to send message so that I config required jndi in server. When I lookup local JMS jndi(connection factory, queue) it works correctly. But when I lookup remote connectionfactory, it throws 'javax.naming.CommunicationException'. BTW, local configuration is same as JMS server. And I use WSAD 5.1.1 to develop it.
    The first question is if I need use JMS server on another server, I should lookup remote queue and JMS connection factory on that server, right?
    The second question : If yes, how to obtain remote JMS connection factory? I use WSAD 5.1.1 trail, I don't know is it possible to obtain remote jndi.
    The third question : do I need change any configuration for supporting remote JMS client instead of local(same compute, different jvm) environment?
    The following is my client code to obtain remote queue:
    public class Test {
         public static void main(String[] args) {
              Properties env = new Properties();
              env.put(Context.INITIAL_CONTEXT_FACTORY,
                    "com.ibm.websphere.naming.WsnInitialContextFactory");
              env.put(Context.PROVIDER_URL, "corbaloc:iiop:10.240.4.203:2809");
              try {
                   Context initialContext = new InitialContext(env);
                   Object obj = initialContext.lookup("jms/IPharmQueue1");
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }It works ok when ip is localhost. But it can obtain remote queue or connectionfactory. I tried to lookup other EJB, it also failed.

    Actually, I have application in one server and four same server as cluster. But only one server provides JMS service. So my application need to use remote JMS server instead of local server. But in my development environment I can not simulate cluster environment as customer environment. So I try to let my application access remote JMS server in different computer. When two server start up I found my application will get local JMS connection factory and queue instead of remote factory. Even I put IP of another computer in PROVIDER_URL.
    I did a application client to test it. The code is above. But it can not lookup remote jndi.
    I use WAS5 as server and WSAD 5.1.1 as development IDE.
    Is any idea about it?

  • Ejb on websphere5.0

    dear all :
    i write projects using jbuilder 9 , websphere application server 5.0.
    Projects about web application and session bean are ok.
    but one project about entity bean goes wrong.
    i use wizards to new entity bean, doing nothing on codes,
    then i compiled the project, there are some bugs.
    Error Message :
    "test.ejbgrpx": [*Error] /temp_test.jar: A table does not exist for enterprise bean: F0btbasic in file: META-INF/backends/DB2UDBNT_V72_1/Map.mapxmi.
    Updating.
    A table does not exist for enterprise bean: F0btbasic in file: META-INF/backends/DB2UDBNT_V72_1/Map.mapxmi.
    Shutting down workbench.
    Execution Halted: Validation Errors Reported
    1 Errors, 0 Warnings, 0 Informational Messages
    does any one know what happen ? :)

    I had the same problem. The whole porting thing from BES to WAS is littered with poor errors.
    Look under google groups for : "A table does not exist for enterprise bean:"
    This error normally happens when a java type to database type has not been
    successfully generated in the WebSphere CMP descriptors.
    Could you check the following :
    1. Double click on the EJB module.
    2. Click on the EJB DD Source tab.
    3. In each CMP descriptor search for 'SQLUnknown'
    For each field that has a SQLUnknown, you will need to find an appropriate
    mapping which is predefined in WebSphere mapping files and set it up in JB
    accordingly :
    To do this :
    1. Tools | Configure Servers. Select WebSphere 5.0
    2. Click on the Custom tab.
    3. Click on the 'CMP Mapping Settings' button.
    4. In the dialog, add data type aliases (the third table) if necessary. For
    example if you are mapping SHORT (database type) to java.lang.Integer, add a
    data type
    alias for all databases with data type 'SHORT' mapping to INTEGER (since the
    default mapping is from INTEGER to java.lang.Integer).
    - Lata
    Antonio Ortega wrote:

  • DataSource DB2 Websphere5 possible?

    I try to set Kodo to use the websphere datasource. Kodo complains if i
    don't set the javax.jdo.option.ConnectionURL.
    Does someone have the same pb? (we use KODO 2.3)

    Miclo-
    Kodo should be able to use a DataSource. Can you let us know the
    exception that you are getting?
    Note that Kodo 2.3 is pretty ancient, so it may be that there are
    problems that have been fixed. Have you tried using a more recent
    version (such as Kodo 3.3.3)?
    In article <da0sl8$82d$[email protected]>, Miclo wrote:
    >
    I try to set Kodo to use the websphere datasource. Kodo complains if i
    don't set the javax.jdo.option.ConnectionURL.
    Does someone have the same pb? (we use KODO 2.3)
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Error while looking up EJB

    Hello,
    I'm trying to develop EJBs 2.0 for my company.
    creation and EJB deployment works fine, but when I try to look up my EJB, I get a NamingException.
    EAR is deployed on a Websphere Application Server 5.1, and I would like to communicate with my EJB in a portlet. This portlet is deployed on a Websphere portal Server 5.1. WPS ans WAS servers are on the same system.
    this is my JSP code :
    Context ctx = new InitialContext();
    Object obj = ctx.lookup("ejb/fr/test/ejbtest/EJBTest2Home");
    EJBTest2Home cacheHome = (EJBTest2Home)javax.rmi.PortableRemoteObject.narrow(obj, EJBTest2Home.class);I think my InitialContext is Websphere Portal Server so it cannot access to my EJB interface deployed on the Websphere Application Server 5.1
    Thx for your help !

    Hi,
    I guess u had made 2 mistakes.
    First one as to ur guess, u got the IntialContext wrong and secondly u should lookup the HomeObject using JNDI name instead of the fully qualified classpath.
    I am not so sure of websphere5.1, but for most of the servers have diff context for webcontainer and BeanContainer
    First u try to get it done changing the code to,
    ctx.lookup("ejb/fr/test/ejbtest/EJBTest2Home");
    to
    ctx.lookup("JNDIName");
    if it doesnt workout then do changes to the context as well
    Thanks and Regards
    Srikanth

  • Transaction Attribute issue in weblogic 8.1

    Hi,
    I have problem with the transaction attribute of my session bean in Weblogic8.1 and SQLServer. Following is the description.
    I have two beans, say SampleBeanOne and SampleBeanTwo. The transaction attribute of SampleBeanOne is "Required" and that of the SampleBeanTwo is "RequiresNew".
    In SampleBeanOne i am trying the execute the a batch of insert quires using PreparedStatement.addBach() and PreparedStatement.executBatch() in a loop that runs of 5 times.
    Inside the loop i am calling a method in SampleBeanTwo to get the next sequence. In that method i am updating the squence and selecting the new value.
    Now the problem i am facing is that when i call the executeBatch() in the PreparedStatement only the final insert statement added to the batch is called and the insert statement added gets vanished.
    If i change the transaction attribute of the SampleBeanTwo to "Required" the code is working fine. But i can't do that since the SampleBeanTwo is accessed throught out my application.
    The same peace of code is working properly with Websphere5 and SQL server combination.
    Kindly help me out in this issue.
    Regards

    Hi
    ThanX for your reply. I raised the issue to the BEA support, they said that the issue is the driver that i am using. It got resolved when i tried with the BEA provided driver. They call it the BEA branded driver for SQL Server.
    Regards
    Muthu

  • ContentType in HTTP Header issue while sending webservice request

    I have a client application deployed on weblogic10.3.4 which access a remote web application (on websphere5.1).
    The soap request fails because WebSphere5.1 does not accept double quote around utf-8 in ContentType header of HTTP.
    e.g:
    Content-Type: text/xml;charset=utf-8 is valid
    Content-Type: text/xml;charset="utf-8" is not valid
    This can be fixed on glassfish by upgrading metro library.
    But how can I fix this problems on weblogic server?
    I found weblogic8.1 doc which says this issue has been fixed (CR198996), but why does it still exist on 10.3.4?
    Any suggestions would be appreciate.

    Hi _MiRichter,
    Well Done!
    Thank you very much for sharing the solution to us.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Servlet Filter not working in JDK1.3.1

    Hi,
    I have an authorization filter which was deployed in WebSphere5.0 which is configured under datasource5(oracle thin driver) with jndi.
    observed facts
    ===============
    WebSphere 5.0 comes with jdk1.3.1. and supports datasource 4/5.0
    datasource 5.0 will support servlet2.3.
    Servlet 2.3 depends on jdk1.2.
    Problem
    ========
    When i am trying execute my filter in websphere its giving the below given error:
    IntranetAuthorizationFilter was found, but is missing another required class.
    ]: java.lang.NoClassDefFoundError: java/lang/CharSequence
    at java.lang.Class.newInstance2(Native Method)
    at java.lang.Class.newInstance1(Class.java(Compiled Code))
    at java.beans.Beans.instantiate(Beans.java(Compiled Code))
    at java.beans.Beans.instantiate(Beans.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:292)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:161)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:208)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1044)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:588)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:206)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    My filter is not using java/lang/CharSequence anywhere.
    Can someone figureout why this problem is coming.
    Regards
    Srinivas

    As you probably know, CharSequence is an interface. Such classes as String implement this interface in JDK 1.4. So if you are trying to use filter compiled under JDK 1.4 then you certainly will meet the problem.

  • Problem in integrating sunone webserver with websphere app server

    Hello all
    I am trying to integrate sunone6.0 webserver with websphere5.0 app server. I did the following changes in sunone6.0 config files
    1) Added one directive to the obj.conf file after "<Object name=default>":
    Service fn="as_handler"
    2) Added two directives to the end of the magus.conf file:
    Init fn="load-modules" funcs="as_init,as_handler,as_term" shlib="/opt/WebSphere/AppServer/bin/libns41_http.so"
    Init fn="as_init" bootstrap.properties="/opt/WebSphere/AppServer/config/cells/plugin-cfg.xml"
    Can any one of u tell me how to check whether sunone webserver is redirecting request to webshere app server?
    i tried this url https://sunonewebserver:80/webapps/examples but i was not getting any result of that url.

    You might want to check here http://developers.sun.com/prodtech/webserver/
    and here http://developers.sun.com/
    These have forums and articles devoted to specific Sun products

  • Application login problem

    In my application when i am trying to login it showing this exception "[IBM][CLI Driver][DB2/LINUX] SQL0206N "ONLINE_FLAG" is not valid in the context where it is used. SQLSTATE=42703"
    can any one help on this issue .....
    null

    Hello java_knight,
    thanks for responding. you are wirght it is not related to java it is with db2 issue... i have two applications the and it be deployed in Websphere5.1, the opening page of the second application is kept in Jboss3.01 and the data base is db2(mysql is also using for 2nd application) . When i tryed to login into the second application, it showing an messag "server side error, please try later". When i checked about this in log file it shows the above problem..

  • Problem sending POST with NSAPI

    Hello, I´m developing a plugin that rewrite this functions:
    __nsapi30_table->f_net_write
    __nsapi30_table->f_http_start_response
    __nsapi30_table->f_netbuf_next
    In this environment:
    iPlanet 6 SP6 + WebSphere5.1 -> This rewrite run OK !
    iPlanet 6 SP8 + JBOSS -> The rewrite of "f_net_write" and "f_http_start_response" run OK, but the function "f_netbuf_next" is not launched.
    I don´t found a documentation about f_netbuf_next, and I don´t know how I do it !!
    Somebody can help me?
    Thanks!!

    Can you tell what exactly do you want to do?
    Can't you make use of Input / Output filters?
    [http://docs.sun.com/app/docs/doc/819-2630/abukg?l=en&a=view|http://docs.sun.com/app/docs/doc/819-2630/abukg?l=en&a=view]
    and
    [http://docs.sun.com/app/docs/doc/819-2630/abukl?l=en&a=view|http://docs.sun.com/app/docs/doc/819-2630/abukl?l=en&a=view]

Maybe you are looking for

  • Print html file via share intent

    Hello HP I'm a developer, I trying to print html file to HP Printer via share intent. Here is my code: Intent intent = new Intent("org.androidprinting.intent.action.PRINT"); Uri uri = Uri.parse(path); intent.addCategory(Intent.CATEGORY_DEFAULT); inte

  • Copying Data from a table to new table

    Hi, I am copying some columns data from one table to another table and my query is INSERT INTO TestTable (empno, empName,deptno) SELECT empno, empname,deptno FROM emp and it's working fine but I want to insert one more column data into testTable on t

  • Windows 8 is bad :(

    Windows 8 is very bad for me ,because it needs high resolution for the start menu (which is actually the main page in it) ... is there a solution for my problem ??  I use Samsung Notebook  N150 plus  please help if u can !!

  • How do i get to the tool bar choices for safari

    Where do i find the choices to add to the tool bar for safari in Lion how do i get to it? also anyone know how we can customize the left side panel on mail??

  • Pls help!!! student project about IMAQ circle detection

    I am working on a school project about machine vision. Circle detection function is being used in the project. my tutor require me to explain the basic algorithm and theory used in the IMAQ circle detection. But after a extensive searching, i still c