Problem: deploy war generated by netbeans 5.5(visual web pack)

I develop web application with netbeans 5.5,
deploy to sun app server 9.0 and work correct.
i deploy jsf1.2 libarary to server, and add weblogic.xml to
application that consist librery-ref='jsf1.2'.
i deploy this war file to weblogic 10.
when i request a page from this application that consist
netbeans jsf component, throw exception not found setId(valueExpression) in for example: PageTag.class.
if jsf page only consist standard component, or netbeans component do not include id attribute then page render correct.
please help me.
thanks.

These forums support the Java language, not NetBeans (or any other IDE). If you can't find a matching addon, change to the 5.5 version - or ask this question at the NB site.

Similar Messages

  • Netbeans 6.0 Visual Web Pack and facelets

    Is it current possible to use Netbeans 6.0 Visual Web Pack and facelets and/or Seams?
    If so please point me to some useful resource.

    >
    ...Below is from the Launch tab:>What exactly is a 'launch tab'? Are you talking about some NetBeans window?
    The reason I ask is that the 'JNLP file' shown, is complete rubbish. It is a bunch of symbols pretending to be a JNLP file. The fundamental problem is that it is invalid (and hence it is not the 'JNLP format' it claims to be).
    How any particular Java implementation deals with an invalid JNLP file is quite unpredicatable.*
    Please people, do not just 'presume' that you (or your IDE) can write a valid JNLP file. Instead - validate it against a DTD or XSD.
    After all.. Garbage in, Garbage out!
    * And to the poster who mentioned that adding the first Jar line twice solved the problem. That is a dangerous and fragile kludge. If it works in some specific microversion of Java, it might (probably will) break in the next.
    Edit 1 - Highlit the most major error in that file using 'code' tags. Hopefully that will make the basic problem more obvious..
    <j2se version="1.5+" java-vm-args="-Djava.endorsed.dirs="C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api" "/>Edited by: AndrewThompson64 on May 21, 2008 9:20 AM
    Edit 2 - Added possible alternatives..
    <j2se version="1.5+" java-vm-args="-Djava.endorsed.dirs='C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api' "/>
    <j2se version="1.5+" java-vm-args='-Djava.endorsed.dirs="C:\Program Files (x86)\NetBeans 6.0.1\java1\modules\ext\jaxws21\api" '/>The hard coded path, as well as the use of unescaped backslashes (e.g. '\' as opposed to '\\') also looks suspiciously wrong, but since I only deploy off the internet, I am not entirely sure.
    Edited by: AndrewThompson64 on May 21, 2008 9:26 AM

  • Example of use of table on visual web pack (netbeans 5.5.1)

    I want one sample (or article, paper, example ...) that shows how to use the component table (of netbeans 5.5.1 visual web pack) retriving data from ObjectListDataProvider (by use of method .setList(List<MyObject>) ...) populate the table and having one collun with radio button and the way to retrive this especific object (selected by user on radio button).

    The getPersons() code will give an ClassCastException error. Change it to:
       public SelectItem[] getPersons()
       ArrayList<SelectItem> people = new ArrayList<SelectItem>();
       //Start For Loop reading from database into 'item' Object
        people.add(new SelectItem(item.getID() + "",item.getName()));
       // End Loop
    /**This line.*/
       return (SelectItem[]) people.toArray(new SelectItem[]{});
       }But this might not be the problem.

  • Problem passing quoted parameter to MySql from Visual Web Pack

    In my session bean VWP did generate:
    private CachedRowSetXImpl myRowSet = new CachedRowSetXImpl();
    The query for myRowSet is:
    SELECT * FROM myTable WHERE name IN ( ? )
    The parameter was passed in different ways ( getSessionBean1().getMyRowSet().setString(1, parameterValue) ) :
    parameterValue = "paul','peter";
    or
    parameterValue = "paul\',\'peter";
    BUT in all cases MySql add backslashes to my quotes in this way:
    SELECT * FROM myTable WHERE name IN ( 'paul\',\'peter' )
    or
    SELECT * FROM myTable WHERE name IN ( 'paul\\\',\\\'peter' )
    And of course this is not working.
    I only want MySql execute : SELECT * FROM myTable WHERE name IN ( 'paul','peter' )
    I tried : getSessionBean1().getMyRowSet().getStatement().setEscapeProcessing(false)
    Two days on this simple thing and only thing I got was a headache.
    Pleas help me, Visual Web Pack is a great Tool, but i can't get work done.

    Thanks for yoyur reply Futeleufu_John
    If I try the way you say
    parameterValue = "'Paul','Peter'";then MySql log shows:
    SELECT * FROM myTable WHERE name IN ( '\'paul\',\'peter\'' )Every sigle quote ( ' ) is replaced by ( \' )
    I abandone visual web pack as my first alternative until my brain or someone else's can resolve this.
    Again, please help me if you get some idea.
    Note : I know this seems aparently very easy to solve, Im not a professional programmer, but I develop web apps in java / tomcat more than 3 years ago and is the first time that an issue gets unresolved for me :�(

  • Problem deploying war created in Sun Java Studio Enterprise 8

    I have, with some help from this forum, converted a portlet application from the Sun Java Studio Enterprise 7 environment to the Sun Java
    Studio Enterprise 8 environment. This portlet application runs in SJSE 8 now but fails when I pdeploy it to the portal server (Portal Server 6
    2005 Q1). The old war created from SJSE 6 does work. The code is identical. The war files are slightly different.
    On deployment I get:
    [DEBUG] Getting Jar File from war...
    [DEBUG] Getting Portlet DD as Stream...
    [DEBUG] Creating DPProviders...
    [DEBUG] Updating the Portlet Application...
    [DEBUG] Adding Providers to DP...
    [DEBUG] Adding provider: provider=__Portlet__timetableEnt8.Timetable
    [DEBUG] Creating DPProvider...
    [DEBUG] Checking for duplicate name: name=__Portlet__timetableEnt8.Timetable
    [DEBUG] Validating modified DP doc...
    [DEBUG] Storing the DP...
    Done Updating Display Profile! Deploying War File to Web Container...
    SUCCESS.But in the logs I see:
    [#|2006-04-04T13:09:58.112-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=10;|WebModule
    [/portlet]Error configuring application listener of class
    com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
    java.lang.ClassNotFoundException: com.sun.portal.container.portlet.impl.PortletContainerContextListenerImpl
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1447)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1228)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3958)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:833)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
            at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
            at com.sun.enterprise.web.WebContainer.start(WebContainer.java:688)
            at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:889)
            at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
            at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
            at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
            at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]
    [#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Skipped installing application listeners due to previous error(s)|#]
    [#|2006-04-04T13:09:58.114-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Error listenerStart|#]
    [#|2006-04-04T13:09:58.115-0400|SEVERE|sun-appserver-ee8.1|tomcat.server./portlet.Context|_ThreadID=10;|
    Context startup failed due to previous errors|#]When I look in the create "New Portlet Channel..." in the am console my application appears in the list but when I create a channel based on it, the whole desktop crashes with this error:
    [#|2006-04-03T11:39:41.699-0400|SEVERE|sun-appserver-ee8.1|javax.enterprise.system.container.web|_ThreadID=16;|
    StandardWrapperValve[desktopServlet]: Servlet.service() for servlet desktopServlet threw exception
    java.lang.IllegalStateException: getWriter() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getOutputStream(CoyoteResponse.java:588)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getOutputStream(CoyoteResponseFacade.java:166)
         at com.sun.portal.desktop.DesktopServlet.getWriter(DesktopServlet.java:444)
         at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:328)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:221)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2072)
    |#]When I remove my custom channel the desktop renders normally.
    As I mentioned before, the war created with 7 did not cause this and the application behaved normally.
    Any insight would be appreciated.
    I am going to look at the diff between the two wars.
    Thanks,
    Allan

    I have the same problem, how do yuo resolve that?
    Edited by: 864937 on Jun 9, 2011 1:43 PM

  • Problem deploying war file in cluster wls 10 mp1

    Hi,
    Weblogic throws the following exception while i am deploying a war file in clusters with 6 servers distributed in 2 physical machines.
    <Mar 6, 2008 12:22:52 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'siiaf'.>
    <Mar 6, 2008 12:22:52 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    Truncated. see log file for complete stacktrace
    java.util.zip.ZipException: Error opening file - /usr/local/bea/user_projects/domains/sctDomain10/stage/siiaf/siiaf.war Message - error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:81)
    at weblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:70)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    Truncated. see log file for complete stacktrace
    >
    <Mar 6, 2008 12:22:52 PM CST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:69)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.util.zip.ZipException: Error opening file - /usr/local/bea/user_projects/domains/sctDomain10/stage/siiaf/siiaf.war Message - error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:81)
    at weblogic.servlet.utils.WarUtils.isWebServices(WarUtils.java:70)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:61)
    The staging mode of all servers is "stage".
    I think the problem is the file size because my war file size is 45 mb aprox.
    When i delete some files within the file and the size is minor (2 mb) , the deploy process ends successfully.
    I appreciate your help
    GPA

    Can you verify the integrity of your staged war file? This problem could be due to a bug in the container.You may want to open a support case with BEA

  • Problems deploying Spring 2.0.8 and Hibernate 3 web application to Weblogic 10.3.6

    My application deploys but when it's accessed this (below) exception is thrown. It appears that it has a problem with my weblogic.xml file. This application was previously deployed on OC4J .
    Here's my weblogic.xml. I added the xsd to the classpath /WEB-INF/classes dir thinking that maybe the server can access it's http location. There are no reference to this particualr error on the web (WlsScaSpringNamespaceHandler)
    Weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app classpath:weblogic-web-app.xsd
            http://java.sun.com/xml/ns/javaee classpath:web-app_2_4.xsd ">
        <weblogic-version>10.3.6</weblogic-version>
        <description>ChargeCodeDeploymentDescriptor
        </description>
        <context-root>chargecode</context-root>
        <container-descriptor>
            <prefer-web-inf-classes>true</prefer-web-inf-classes>
        </container-descriptor>
    </weblogic-web-app>
    ####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '2' for q
    ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8b> <
    1426189749780> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
    ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
    ####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '0' for q
    ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8d> <
    1426189749788> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
    ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
    ####<Mar 12, 2015 2:49:18 PM CDT> <Error> <ServletContext-/chargecode> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread
    : '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <D2gim1K2000000000> <1426189758384> <BEA-000000> <Excep
    tion while dispatching incoming RPC call
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract gov.iowa.dhr.cjis.cca.client.domain.User gov.i
    owa.dhr.cjis.cca.client.ChargeCodeAdministrationService.authenticateUser(java.lang.String,java.lang.String) throws gov.iowa.dhr.cj
    is.cca.client.InvalidLoginException' threw an unexpected exception: org.springframework.beans.factory.BeanDefinitionStoreException
    : Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.Illeg
    alArgumentException: Class [weblogic.sca.engine.parse.WlsScaSpringNamespaceHandler] does not implement the NamespaceHandler interf
    ace
            at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
            at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
            at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
            at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class pa
    th resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class [weblogic.sca.engine.parse.Wls
    ScaSpringNamespaceHandler] does not implement the NamespaceHandler interface

    Hi, Graeme.
    Seems there is an existing CR on something related from v10.0: CR353213
    * WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
    According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
    Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
    I hope this helps,
    -Adrian

  • Deploy .war or .ear file to sun java web server 7.0 update 4

    Hi
    This could be a very daft question, but still I would like to get a clarification.
    My clients are a financial organisation, and for security and various other reasons they accept only .ear files. But this time the development and deployment would be done on Sun Java Web Server 7.0 update 4 . Now since its a web server I don't think I can deploy an .ear file.
    But sure I would like to get an answer from the experts here, is it possible to deploy and .ear file to Sun Java Web Server 7.0 before I can go back to my clients.
    Please help me here as I'm in a real big confusion here. Your help would be highly valuable to me.
    Thanks
    Jagdish

    Hi
    Thanks for the reply and I appreciate your help. Well I tried deploying an .ear file directly and web server 7 complains that it doesn't have a .war extension, understandably so.
    And then ripping apart the .ear file and deploying the .war file does work, as is expected of a web server.
    Well, about my customer is a bank and they have a very tight security policy, and why they need an .ear file is beyond my understanding. Well as far as this issue is concerned, I need a strong point so that I can get back to them that we need to comply to the third party software.
    But I didn't wan't to get back to them saying we can only provide a .war file and then later find out an .ear file could have done the job. And being seen as the technical experts we can't afford to make any mistake.
    Thanks
    Jagdish

  • Netbeans Visual Web Pack

    Is anyone having this problem?
    In a nutshell a dataprovider associated to any database other than the default derby database will return null on dataprovider.canappend();
    I have tried it with MySQL, MS SQL and I know the permissions are right, I even had my root account get this error. However, try the same connector in JSC and the canappend() function returns true.
    Anyways, I was curious to know if any one out there is experiencing this issue.
    Cheers!

    peppertech,
    Hey thanks for the tip and the reply! First of all you are right, there is no canappend(), I was just being lazy and on capitalizing the function correctly or even referencing the correct function name.
    Good news! I figured out what the problem was... Since the connector is declared in my nb55 ide I assumed it was going to associated correctly with my development Java app servers. I knew that for production servers I would have to make the jar available to classpath of the server. In a nutshell that is the problem, a broken reference to the jdbc jar file.
    The solution is to include it in the libraries in your project's properties.... Once you deploy and run the DataProvider.canAppendRow() function you get 'true' value returned!
    Again, thanks for the reply!
    B.

  • Netbeans visual web pack for 6.0.1?

    Hi guys im really new to programming and i decided to do a tutorial on the netbeans website to make an app using google maps api
    to do this though i need to install the netbeans visual webpack and also the blueprint ajax components library.
    The problem is that apparently its only for netbeans 5.5... but i use 6.0.1. The one i have is newer so shouldnt those libraries still be availabe? How do I get around this??
    here is the site the tutorial is on http://www.netbeans.org/kb/55/vwp-ajaxmapviewer.html

    These forums support the Java language, not NetBeans (or any other IDE). If you can't find a matching addon, change to the 5.5 version - or ask this question at the NB site.

  • JSF Listbox Error Using Netbeans 5.5 Visul Web Pack

    Please see my post on the Java Programming Forum. I'm having a Listbox problem.
    http://forum.java.sun.com/thread.jspa?threadID=5115503&tstart=0

    The getPersons() code will give an ClassCastException error. Change it to:
       public SelectItem[] getPersons()
       ArrayList<SelectItem> people = new ArrayList<SelectItem>();
       //Start For Loop reading from database into 'item' Object
        people.add(new SelectItem(item.getID() + "",item.getName()));
       // End Loop
    /**This line.*/
       return (SelectItem[]) people.toArray(new SelectItem[]{});
       }But this might not be the problem.

  • Netbeans 5.5 Visual Web still not support for Java 5 source in Web Project?

    This is really annoying. I would have thought by now that this would be allowed.

    I just converted a project this morning. It wasn't too difficult, it just took a little bit of time getting everything correct. There are a few more changes needed then just the imports. I used a program called rpl (available on windows and unix) to do the find and replacing that was needed. You could easily use sed or some other program to do the same thing.
    Basically, here are the steps.
    1. Create a new EE 5 project and make sure it has the same name and default java package.
    2. Copy your existing .jsp files to the new web dir and existing .java files to the src directory.
    3. Here are the changes I made to the .jsp files:
         bash-2.03$ rpl 'xmlns:ui="http://www.sun.com/web/ui"' 'xmlns:webuijsf="http://www.sun.com/webui/webuijsf"' *
         bash-2.03$ rpl 'ui:' 'webuijsf:' *
         bash-2.03$ rpl 'action=' 'actionExpression=' *
         bash-2.03$ rpl 'valueChangeListener' 'valueChangeListenerExpression' *
    4. And here are the changes to the .java files. Note that there are still some usages of the com.sun.rave.web, so after converting
    everything to com.sun.webui.jsf, I converts a few back to rave:
         bash-2.03$ rpl 'com.sun.rave.web.ui' 'com.sun.webui.jsf' *
         bash-2.03$ rpl 'com.sun.webui.jsf.appbase.AbstractPageBean' 'com.sun.rave.web.ui.appbase.AbstractPageBean' *
         bash-2.03$ rpl 'com.sun.webui.jsf.appbase.AbstractSessionBean' 'com.sun.rave.web.ui.appbase.AbstractSessionBean' *
         bash-2.03$ rpl 'com.sun.webui.jsf.appbase.AbstractApplicationBean' 'com.sun.rave.web.ui.appbase.AbstractApplicationBean' *
         bash-2.03$ rpl 'com.sun.webui.jsf.appbase.AbstractRequestBean' 'com.sun.rave.web.ui.appbase.AbstractRequestBean' *
         bash-2.03$ rpl 'com.sun.webui.jsf.appbase.AbstractFragmentBean' 'com.sun.rave.web.ui.appbase.AbstractFragmentBean' *
    5. You might have to make more changes then this, but this is all I had to do. If you get errors, it is just a matter of figuring out where the error is and then creating a similar action on a new page and looking to see what the correct format is.
    5. Look at your old web/WEB-INF/managed-beans.xml and copy everything between <faces-config> and </faces-config> to the new managed-beans.xml
    6. Look at your old web/WEB-INF/navigation.xml and copy everything between <faces-config> and </faces-config> to the new navigation.xml
    7. Look at your old web/WEB-INF/faces-config.xml and copy and changes you might have made to your new faces-config.xml
    8. Look at your old web/WEB-INF/web.xml and copy and changes you might have made to your new web.xml
    9. Look at your old web/WEB-INF/sun-web.xml and copy and changes you might have made to your new sun-web.xml
    10. Have fun getting your database to work correctly. I have had difficulty getting datasources correct on both old and new projects in VWP, so this could be difficult or easy depending on your database and what you are trying to do. If you are using something like Java DB then you are probably going to have a much easier time then trying to use a third-party JDBC like I was trying to do (MS SQL 2005 JDBC 1.1).
    -Jeff
    http://www.ragtop.org

  • Error when deploying war file

    Hi,
    I develop application using visual web pack + netbeans, it work fine with tomcat but when i want deploy it in our prod environment (Oracle ias) i have the following error:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version
    the web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
    The maximum allowed upload size in bytes. If this is set
    to a negative value, there is no maximum. The default
    value is 1000000.
    </description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
    The size (in bytes) of an uploaded file which, if it is
    exceeded, will cause the file to be written directly to
    disk instead of stored in memory. Files smaller than or
    equal to this size will be stored in memory. The default
    value is 4096.
    </description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>/faces/*</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><welcome-file-list><welcome-file>faces/Page4.jsp</welcome-file></welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config>
    <resource-ref>
    <description>Creator generated DataSource Reference</description>
    <res-ref-name>jdbc/dataSource32</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    thanks for your help
    Walid

    Quick and short answer:
    Oracle AS/OC4J 10.1.2.x only supports J2EE 1.3
    Oracle AS/OC4J 10.1.3.x supports J2EE 1.4
    --olaf                                                                                                                                                                                                                                                               

  • NetBeans Visual Web + instances of users

    hi i have some problem with menages of users, maybe...;)
    so i'm creating new project in netbeans > visual web application,
    next 2 new pages,
    on first i have 1 text field (textField1) and 1 button (button1) and some action:
    public String button1_action() {
            // TODO: Process the action. Return value is a navigation
            // case name where null will return to the same page.
            String temp="";
            temp=textField1.getText().toString();
            getRequestBean1().setRValue(temp);
            getSessionBean1().setSValue(temp);
            getApplicationBean1().setAValue(temp);
            return "ok";
        }after this, we are going to next page and there, we have 1 buttom (button2)
    and 3 static texts (staticText1,staticText2,staticText3) and:
    public String button2_action() {
            // TODO: Process the action. Return value is a navigation
            // case name where null will return to the same page.
           staticText1.setText(" req: "+getRequestBean1().getRValue());
           staticText2.setText(" ses: "+getSessionBean1().getSValue());
           staticText3.setText(" app: "+getApplicationBean1().getAValue())
            return null;
    /code]
    run project> on first page im giving lets say "first person" >click button1
    on second page click button2 and i have results on staticText1..3:
    req: null
    ses: first person
    app: first person
    im opening another browser going to my project web and giving "next person">click button1 on second page click button2 and results:
    req: null
    ses: next person
    app: next person
    backing to first browser click button2 and i have the same results like in the secodn browser (but i dont wonna;))
    req: null
    ses: next person
    app: next person
    how to menage diferent instanses of application? some FacesContext? please help me, some online tutorial? thx:)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    From http://blogs.sun.com/roumen/entry/questions_at_the_sun_booth:
    Q: Does it mean that Java Studio Creator will go away?
    A: Future roadmap of Java Studio Creator is still being discussed, it is possible that it will continue to exist. By using NetBeans + Visual Web Pack you can make sure to have access to the latest and greatest features.

  • Netbeans visual web app design tab won't load?

    Is there anybody that has the following problem when trying to start a new visual web application in Netbeans 6? If so, could you help me fix the problem?
    Every time I try a new visual web application in Netbeans, the design tab won't load and I get an error message. I can use the Java tab and the JSP tab with no problems. It's just that the design tab says "please wait loading" but it nothing ever shows up. I can basically do everything else, except for dragging things from the palette to the design tab. The error message is:
    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
         at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:80)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
         at org.netbeans.modules.visualweb.jsfsupport.container.RaveConfigureListener.contextInitialized(RaveConfigureListener.java:93)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.initialize(FacesContainer.java:182)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.<init>(FacesContainer.java:130)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesContainer(FacesModelSet.java:497)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.<init>(FacesModelSet.java:403)
    Caused: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:257)
    Caused: java.lang.RuntimeException
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:261)
         at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:242)
         at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:209)
    [catch] at java.lang.Thread.run(Thread.java:619)

    Hello,
    Adobe has provided these things:
    Creative Cloud Help/Troubleshoot download and install issues
    https://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    and: Creative Cloud Help/App doesn’t open; progress wheel spins continually
    http://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesnt-open.html
    If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Please have a look there, good luck!
    Hans-Günter

Maybe you are looking for

  • Help fowarding data to a jsp page

    I know your not meant to double post but i was told it would be better if i post this message in here so: I am trying to create a bean that will connect to a database and bring back data depending on what a user typed into a html form. However i need

  • Time stream from resource  not valid for total display period

    Dear Friends, In APO after PPDS Run, and executing  Product View, in period tab of product view I am getting an error with following meassge. Time stream from resource WP5_0110_001 not valid for total display period Message no. /SAPAPO/RRP_PT055 Diag

  • Determine debug status in ABAP

    Is there a way to determine that a program is being run in debug mode? I would like to be able to use transaction /h and then subsequently run a program and the program act differently depending on whether the debug method is being used. I though sys

  • Coldfusion certificate issue

    I have a working site and I am in the process of creating a backup site. My backup site domain anem is backupcompany.com where as I bought the SSL for company.com. The coldfusion works fine for couple of screens but it does not work for CFGRID, when

  • SQL 2005 database authentication Problem

    In the past we have used sql user authentication to create the CF datasource for SQL databases, however, we would like to use windows authentication instead, does CF support windows authentication?