JSF 1.2 commons version

Hi:
I have already asked this question on another thread but now I think I can be more specific about the problem.
I am trying to install Richfaces on JSF Visual.
I have noticed that there are classes that are found in the commons 3.2 collections that are not included in JSF 1.2.
For example AbstractHashMap, IterableMap.
What version of commons is JSF 1.2 using and is it possible to use commons 3.2 and if yes, how do I do that?
Thanks

I can't help you much with Netbeans and RichFaces specific questions as I don't use them. But if RichFaces itself is giving a ClassNotFoundException (by the way, I think that you rather mean NoClassDefFoundError, which is a bit different exception) pointing to an org.apache.commons class, then you need to download that class (or in this case, the JAR with the class) and put it in the classpath of your webapplication (which can be WEB-INF/lib). The desired API can simply be found looking at the 4th part of the package name, e.g. org.apache.commons.collections, which points to the Collections API. http://www.google.com/search?q=collections+site:commons.apache.org will point you to the Collections API home page where you can download the JAR file. Downloading the latest version ought to be sufficient.
The current Sun JSF RI implementation version can be found if you unpack the jsf-api.jar and jsf-impl.jar and read the manifest.mf file. You can download the newest Sun JSF reference implementation at http://javaserverfaces.dev.java.net

Similar Messages

  • Jsf generates ?xml version="1.0"? in xhtml source

    Hi,
    I have a simple xhtml page that looks like this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Insert title here</title>
    </head>
    <body>
         Here is the content
    </body>
    </html>when I open it in a browser and look at the source code it has generated this:'
    <?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    <html xmlns="http://www.w3.org/1999/xhtml"><head><title>Insert title here</title></head><body><!-- MYFACES JAVASCRIPT -->
    </body></html>Why the <?xml version="1.0"?> tag on top? IE expects a doctype and gets confused on how to render the page.
    I think this has to do with jsf, because if I look at the page with this URL it's ok:
    http://localhost:8080/pages/test.xhtml
    But with this URL it has inserted the <?xml version="1.0"?> tag on top.
    http://localhost:8080/pages/test.faces
    Also if I remove xmlns="http://www.w3.org/1999/xhtml then the xml tag is not generated, but I need this code to render the the page correctly.
    Anybody have an idea?
    Ann

    Bogi
    Had exactly the same issue with an external supplier who would not change the interface to remove this line. We created a java proxy which was called instead of the BPEL, then stripped out the invalid line and then called the BPEL. Not pretty, but worked.
    Pete

  • Problem with Richfaces, JSF 1.2, Facelets application

    Hello
    I have trouble using Weblogic 10.3.3 with my JSF-application which is constructed using Richfaces 3.3.3 and Facelets. First I had problems with deployment but with adding weblogic.xml to project.
    This is the weblogic.xml content :
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    This application works without problems in Glassfish 2.1 but when I try to access my application in Weblogic, I get following exception :
    Error 500--Internal Server Error
    javax.el.ELException: /Main.xhtml: The class 'katva.soa.logging.web.soaloggerweb.SessionController' does not have the property 'navigateToMonitor'.
         at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
         at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
         at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
         at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
         at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SessionController - managed bean has method mentioned above, here is the part of the page where the SessionController - bean is referenced:
    <a4j:form id="linkForm">
    <li><h:commandLink value="#{msgs.Main_logSearchLink}" action="#{SessionController.navigateToMonitor}"/></li>
    <li><h:commandLink value="#{msgs.Main_maintenanceLink}" action="#{SessionController.navigateMaintenance}"/></li>
    </a4j:form>
    Could someone help with this ? I am getting desperate and I would need to solve this quite quickly...
    Thank you for everyone who can help with this
    Best Regards Tuomas Katva

    This is probably related: Facelets not rendered on Weblogic 10.3.3
    A step by step example
    - create a web.xml file, with the following contents:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5">
        <context-param>
            <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
            <param-value>.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
        <context-param>
            <param-name>org.richfaces.SKIN</param-name>
            <param-value>blueSky</param-value>
        </context-param>
        <context-param>
            <param-name>org.richfaces.CONTROL_SKINNING</param-name>
            <param-value>enable</param-value>
        </context-param>
        <filter>
            <filter-name>RichFaces Filter</filter-name>
            <filter-class>org.ajax4jsf.Filter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>RichFaces Filter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </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-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <listener>
            <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
        </listener>
    </web-app>- create a faces-config.xml file with at least the following contents:
    <?xml version='1.0' encoding='UTF-8'?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
                  version="1.2">
        <application>
            <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
        </application>
    </faces-config>- create an example page
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
    <head>
        <title></title>
    </head>
    <body>
    <a4j:form id="form">
        <rich:panel header="Login" style="width: 750px">
            <h:panelGrid columns="3">
                <h:outputText id="label" value="Password"/>
                <h:inputText id="login" value="Type Your Password"/>
                <rich:message for="login"/>
                <f:facet name="footer">
                    <rich:toolBar height="20" itemSeparator="line">
                        <rich:toolBarGroup location="right">
                            <h:commandButton value="Click To Login"/>
                        </rich:toolBarGroup>
                    </rich:toolBar>
                </f:facet>
            </h:panelGrid>
        </rich:panel>
    </a4j:form>
    </body>
    </html>- package this into the following structure:
    WAR
        WEB-INF
             faces-config.xml
             web.xml
             lib
                commons-beanutils-1.7.0.jar
                commons-collections-3.2.jar
                commons-digester-1.8.jar
                commons-logging-1.0.4.jar
                jhighlight-1.0.jar
                jsf-api.jar
                jsf-facelets.jar
                jsf-impl.jar
                jstl-api-1.2.jar
                jstl-impl-1.2.jar
                richfaces-api-3.3.1.GA.jar
                richfaces-impl-3.3.1.GA.jar
                richfaces-ui-3.3.1.GA.jar
        test.xhtmlAnd deploy it to WebLogic. Upon deployment the following logging is observed:
    Jul 4, 2011 2:09:44 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_14-b01-FCS) for context '/JSFFaceletsRichFaces'
    Jul 4, 2011 2:09:45 PM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Jul 4, 2011 2:09:45 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.CacheManager getCacheFactory
    INFO: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
    INFO: Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=enable, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.injectionProvider=com.bea.faces.WeblogicInjectionProvider, org.richfaces.SKIN=blueSky}
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
    INFO: Creating LRUMap cache instance of default capacity
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.CacheManager getCacheFactory
    INFO: Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
    INFO: Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=enable, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.injectionProvider=com.bea.faces.WeblogicInjectionProvider, org.richfaces.SKIN=blueSky}
    Jul 4, 2011 2:09:45 PM org.ajax4jsf.cache.LRUMapCacheFactory createCache
    INFO: Creating LRUMap cache instance of default capacityEnter the URL to access the application, for example, http://localhost:7001/JSFFaceletsRichFaces/faces/test.xhtml
    et voila RichFaces and Facelets on WebLogic

  • New 2 JSF, Help me in configuring it

    Hey what all are the JAR's required for JSF?
    where can i find it.
    Does it has any site or link, where i can download?
    Thanks
    Praveen

    Hi,
    The EA4 Version of JSF is bundled in version 1.2 of the Java Web Services Developer Pack (JWSDP):
    http://java.sun.com/webservices/webservicespack.html
    If you want to separate the libs from the pack you will need following libs after you have installed Java Web Services Developer Pack:
    C:\jwsdp-1.2\jsf\lib
    (=essential jsf jar files)
    and probably
    C:\jwsdp-1.2\common\lib
    (=additional jar files needed)
    Greetings,
    Rene

  • Spring hibernate JSF 2.0 Application

    I am trying to deploy application developed using this tutorial http://www.myeclipseide.com/documentation/quickstarts/ME4STutorialScaffoldingJSF/scaffoldingjsfarticle.html to weblogic server and running into all kinds of problem with configuration issues with hiberante properties and persistence.xml files , i was wondering if anybody has links to tutorial or sample project using spring / jsf 2.0 and hibernate developed in jdeveloper
    the sample application works fine in tomcat , not sure how to configure this to weblogic server . trying to rebuild the app in jdeveloper and having problems deploying . my latest error is
    Caused By: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager
    if somebody can help me with configurion parameters to connect weblogic server instalation ( ideally to the integratedweblogic server started from jdeveloper) from myeclipseide , that would help as well
    Regards

    Here is an example that concerns running JSF2.0 (it uses NetBeans but you can probably adopt it in JDeveloper as well)
    From the post:
    "You can see that the library reference in weblogic.xml corresponds to the version of the JSF 2.0 JAR that you activated in the Frameworks pane of the New Project wizard."
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
      <context-root>/WebLogicCustomer</context-root>
      <library-ref>
          <library-name>jsf</library-name>
          <specification-version>2.0</specification-version>
          <implementation-version>1.0.0.0_2-0-2</implementation-version>
          <exact-match>true</exact-match>
      </library-ref>
    </weblogic-web-app>The example uses a libary reference. The library is located: $WL_HOME/common/deployable-libraries/jsf-2.0.war

  • Upgrade from JSF 1.1 to JSF 1.2 (Mojarra and MyFaces) failed.

    Dear all,
    I tried to upgrade from JSF 1.1 to JSF 1.2 but failed. The application starts OK in jsf 1.1 both myfaces and RI, but failed to start using JSF 1.2.
    My environment is as follows.
    - JDK 1.5
    - Tomcat 6.0
    - Facelet
    - JSF Mojarra 1.2
    The error is as follows, occurs when starting tomcat (my application is in context /web)
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/web'
    Feb 12, 2009 10:39:40 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/web'
    Feb 12, 2009 10:39:40 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Feb 12, 2009 10:39:40 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [web] startup failed due to previous errors
    What I have included in WEB-INF/lib are:
    - JSTL 1.2 (standard.jar and jstl.jar)
    - JSF mojarra 1.2 (jsf-api.jar and jsf-impl.jar)
    - Facelets( el-api.jar, el-impl.jar, and jsf-facelet.jar)
    - commons-digester.jar
    - commons-beanutils.jar
    - commons-logging.jar
    - commons-collection.jar
    Documentation that I read from mojarra FAQ states that i need EL, but EL has been included in Facelets.
    Am i missing something? The following is the part of web.xml that i used, maybe useful to locate what i am missing.
    <web-app 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]"
    version="2.4">
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    <!-- Special Debug Output for Development -->
    <context-param>
    <param-name>facelets.DEVELOPMENT</param-name>
    <param-value>true</param-value>
    </context-param>
    <!-- Optional JSF-RI Parameters to Help Debug -->
    <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>true</param-value>
    </context-param>
    <!--use this if start using JSF 1.2 -->
    <context-param>
    <param-name>com.sun.faces.injectionProvider</param-name>
    <param-value>com.sun.faces.vendor.GlassFishInjectionProvider</param-value>
    </context-param>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
    </servlet

    Hi BalusC,
    Thank you for your time answering my question.
    For the first point, you were right. Now I have downloaded the latest Mojarra release.
    As for the case of web.xml, i should mentioned that I have tried declaring it as Servlet API 2.4 and Servlet API 2.5, and still got the error. My web.xml that declares as 2.5 looks as follows:
    <web-app xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaeeweb-app_2_5.xsd"
    version="2.5">
    On the third point, maybe i stated my problem in a wrong way. What I meant was, I tried each implementation separately, and both implementation did not work.
    About Glassfish injection, i followed the step in Mojarra FAQ regarding the following error.
    JSF1033: Resource injection is DISABLED
    This error showed when i started tomcat. However, since I use the latest Mojarra release, the message error disappear. I have deleted the "glasshfish injection provider" from web.xml, and the error has disappeared.
    Here's the latest of my tomcat startup messages (after i replaced the Mojarra libraries, declared as servlet 2.5 in web xml, and removed glassfish injection provider from web.xml).
    Feb 18, 2009 9:41:58 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
    Feb 18, 2009 9:41:58 AM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
    Feb 18, 2009 9:41:59 AM org.apache.coyote.http11.Http11AprProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-80
    Feb 18, 2009 9:41:59 AM org.apache.coyote.ajp.AjpAprProtocol init
    INFO: Initializing Coyote AJP/1.3 on ajp-8009
    Feb 18, 2009 9:41:59 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 772 ms
    Feb 18, 2009 9:41:59 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Feb 18, 2009 9:41:59 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    Feb 18, 2009 9:42:01 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/web'
    Feb 18, 2009 9:42:01 AM com.sun.faces.config.ConfigureListener contextInitialized
    WARNING: JSF1059: WARNING! The com.sun.faces.verifyObjects feature is to aid developers not using tools. It shouldn''t be enabled if using an IDE, or if this application is being deployed for production as it will impact application start times.
    Feb 18, 2009 9:42:06 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Feb 18, 2009 9:42:06 AM org.apache.catalina.core.StandardContext start
    *SEVERE: Context [web] startup failed due to previous errors*
    Feb 18, 2009 9:42:07 AM org.apache.coyote.http11.Http11AprProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-80
    Feb 18, 2009 9:42:07 AM org.apache.coyote.ajp.AjpAprProtocol start
    INFO: Starting Coyote AJP/1.3 on ajp-8009
    Feb 18, 2009 9:42:07 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 8116 ms
    The application still failed to start.There wasnt enough information for me to digest what is actually went wrong, other than SEVERE: Listener start. And let me say this again, the application starts OK when I used JSF 1.1 (Reference Implementation or MyFaces).
    Anyone has the same experience.?
    Thanks in advance.
    Edited by: niner on Feb 17, 2009 7:11 PM

  • An error occurred during local report processing.The definition of the report '' is invalid.The definition of this report is not valid or supported by this version of Reporting Services. he report definition may have been created with a later version of R

    Hi,
    I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
    ' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
      m_fields = NewArrayList()
      Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
          m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
      Next i
      'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
      stream = File.OpenWrite("D:\MyTestReport2.rdlc")
      Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
      ' Causes child elements to be indented
      writer.Formatting = Formatting.Indented
      ' Report element
      writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
      writer.WriteStartElement("Report")
      writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
      writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
      writer.WriteStartElement("ReportSections")
      writer.WriteStartElement("ReportSection")
      writer.WriteElementString("Width", "11in")
      writer.WriteStartElement("Body")
      writer.WriteElementString("Height", "5in")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Tablix")
      writer.WriteAttributeString("Name", Nothing, "Tablix1")
      writer.WriteElementString("Top", ".5in")
      writer.WriteElementString("Left", ".5in")
      writer.WriteElementString("Height", ".5in")
      writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
      writer.WriteStartElement("TablixBody")
      ' Tablix Columns
      writer.WriteStartElement("TablixColumns")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixColumn")
          writer.WriteElementString("Width", "1.5in")
          writer.WriteEndElement() ' TableColumnNext fieldName
      writer.WriteEndElement() ' TablixColumns' Header Row
      writer.WriteStartElement("TablixRows")
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
          ' writer.WriteAttributeString("CanGrow",  True)' writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          writer.WriteElementString("Value", fieldName)
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows          Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows")         Since Rows tag in header is not closed not need to open fresh tag
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          '  writer.WriteAttributeString("CanGrow", True)'  writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          'writer.WriteElementString("Value", fieldName)
          writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow
      writer.WriteEndElement() ' TablixRows'End of Details Rows
      writer.WriteEndElement() ' TablixBody
      writer.WriteStartElement("TablixRowHierarchy")
      writer.WriteStartElement("TablixMembers")
      writer.WriteStartElement("TablixMember")
      ' Group
      writer.WriteElementString("KeepWithGroup", "After")
      writer.WriteEndElement() ' TablixMember' Detail Group
      writer.WriteStartElement("TablixMember")
      writer.WriteStartElement("Group")
      writer.WriteAttributeString("Name", Nothing, "Details")
      writer.WriteEndElement() ' Group
      writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixRowHierarchy
      writer.WriteStartElement("TablixColumnHierarchy")
      writer.WriteStartElement("TablixMembers")
      'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
          writer.WriteStartElement("TablixMember")
          writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixColumnHierarchy
      writer.WriteElementString("DataSetName", "tbdataset")
      writer.WriteEndElement() ' Tablix
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' Body
      writer.WriteStartElement("Page")
      ' Page Header Element
      writer.WriteStartElement("PageHeader")
      writer.WriteElementString("Height", "1.40cm")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Textbox")
      writer.WriteAttributeString("Name", Nothing, "Textbox1")
      writer.WriteStartElement("Paragraphs")
      writer.WriteStartElement("Paragraph")
      writer.WriteStartElement("TextRuns")
      writer.WriteStartElement("TextRun")
      writer.WriteElementString("Value", Nothing, "ABC CHS.")
      writer.WriteEndElement() ' TextRun
      writer.WriteEndElement() ' TextRuns
      writer.WriteEndElement() ' Paragraph
      writer.WriteEndElement() ' Paragraphs
      writer.WriteEndElement() ' TextBox
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' PageHeader
      writer.WriteEndElement() ' Page
      writer.WriteEndElement() ' ReportSection
      writer.WriteEndElement() ' ReportSections' DataSources
      writer.WriteStartElement("DataSources")
      writer.WriteStartElement("DataSource")
      writer.WriteAttributeString("Name", Nothing, "tbdata")
      writer.WriteStartElement("DataSourceReference")
      writer.WriteEndElement() ' DataSourceReference
      writer.WriteEndElement() ' DataSource
      writer.WriteEndElement() ' DataSources'DataSet
      writer.WriteStartElement("DataSets")
      writer.WriteStartElement("DataSet")
      writer.WriteAttributeString("Name", Nothing, "tbdataset")
      writer.WriteStartElement("Query")
      writer.WriteElementString("DataSourceName", Nothing, "tbdata")
      'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
      writer.WriteElementString("CommandText", Nothing, "TableDirect")
      writer.WriteEndElement() ' Query'Fields
      writer.WriteStartElement("Fields")
      ForEach fieldName In m_fields
          writer.WriteStartElement("Field")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          writer.WriteElementString("DataField", fieldName)
          writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
          writer.WriteEndElement() ' FieldNext
      writer.WriteEndElement() ' Fields' rd datasetinfo
      writer.WriteEndElement() ' DataSet
      writer.WriteEndElement() ' DataSets
      writer.WriteEndElement() ' Report' Flush the writer and close the stream
      writer.Flush()
      stream.Close()
      'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
      Dim ms AsNewMemoryStream(myByteArray)
      'Supply Stream to ReportViewer
      ReportViewer1.LocalReport.LoadReportDefinition(ms)
      ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
    An error occurred during local report processing.
    The definition of the report '' is invalid.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
    Details: Data at the root level is invalid. Line 1, position 1.
    Can anybody guide me?

    Hi Wendy Fu,
    Thanks for your feed back. I could see Microsoft.ReportViewer.ProcessingObjectModel.dll to add as reference to my project. Actually I can open generated rdlc in designer, at run time I get error. I could not make out where is the exact mistake out of three
    options flashed.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services
    or contain content that is not well-formed or not valid based on Reporting Services schemas
    Details: Data at the root level is invalid
    My web config has following references
    <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    May be I have to change these versions to 9 or 10.
    First I will try adding Microsoft.ReportViewer.ProcessingObjectModel.dll .
    Once thanks for your reply.
    Races

  • Problem using javascript to submit jsf form, values not submitted

    Greetings!
    I have a t:selectOneMenu where I want the page to be submitted when they change the selected value. At this point, I am able to get the form to submit and reload the page, which is all fine. The problem is that none of the values from the page are not set in the backing bean. I have break points on the setter methods that are not being hit.
    I have tried a number of things from searching multiple forums, but here are snippets from my latest version...
    <h:form>
    <t:commandLink id="hiddenLink" forceId="true" value="test link"
    action="#{pc_PageX.doBtnHiddenLinkAction}"></t:commandLink>
    <t:selectOneMenu id="pageList_top" forceId="true" value="#{pc_PageX.ValueX}"
         onchange="jspellSync(); submitPageX();">
         <f:selectItems value="#{pc_PageX.ListX}" />
    </t:selectOneMenu>
    </h:form>
    function submitPageX(){
         var hiddenLink = document.getElementById("hiddenLink");
         hiddenLink.click();
    }Note that the <t:commandLink> is not hidden, though it will be in the final version if I can get this to work.
    If I click the commandLink myself, the page is submitted with all the page values as expected. If I change the list value, thus using javascript to fire the commandLink's click event, the page is submitted with NO values.
    Can anyone come up with an explanation for this behavior? Or better yet, a solution?
    A couple other things I've tried...
    - Not using a commandLink and using jsf's submit function -> onchange="jspellSync(); submit();"
    - Clicking the link using other ways -> hiddenLink.fireEvent('onclick');
    If all else fails, I'll just add a button that they have to click to submit the form.

    snotmare wrote:
    BalusC wrote:
    I recall this problem in one of the ancient JSF versions. Which JSF version do you use? Do you have any room to upgrade to latest? We're using an IBM implementation of JSF, which is at version 7.0. The IBM implementation appears to be built on the JSF base 1.1.That's not an IBM JSF implementation, they do not have any one, they just have some component libraries which runs on top of some JSF implementation. RAD/WSAD ships by default with Sun JSF RI. Try upgrading to at least 1.1_02 which you can download from the aforementioned link. There's a gap of 2 years (and inherently a lot of bugfixes) compared to 1.1. If the application server used supports Servlet 2.5, you could even upgrade to the latest 1.2.
    We've had other issues with the IBM implementation, which could be the cause in this case too. We've been talking about switching to MyFaces, but there is one feature of the IBM version that we like. It's basically a script collector (hx:scriptCollector) that allows us to do pre-processing on the page.As said before, IBM does not have a JSF implementation. So replacing RI by MyFaces wouldn't make any difference.

  • Log4j problem in JSF

    I'm trying to use log4j in my bean, but not work and prompt error messages,
    then I change Log4j to commons-logging, it's working.
    My container is Tomcat 5.0, Any suggestions?
    Thanks for any help!

    Hi,
    Can you give the steps or configuration involnved in making JSF work with Common-loging/Log4j,
    I am using sun studio creator,But I am not able to get any loggin message ,
    I have put log4j.properties in WEB-INF folder,then also my log file is not getting created,
    Please guide me with configuaration steps,
    Thanks in advance,
    Vani

  • Weblogic 10.3.1, jsf 1.2 will not work

    I deployed the jsf 1.2 and myfaces 1.1.3 as libraries to weblogic domaind if I restart the server and point it to the jsf file which uses the fileupload tomhawk's tag I get this error:
    java.lang.NoClassDefFoundError: Lorg/apache/myfaces/custom/fileupload/UploadedFile;
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
         at java.lang.Class.getDeclaredFields(Class.java:1743)
         at com.sun.faces.mgbean.BeanBuilder.scanForAnnotations(BeanBuilder.java:476)
         at com.sun.faces.mgbean.BeanBuilder.loadBeanClass(BeanBuilder.java:449)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: org.apache.myfaces.custom.fileupload.UploadedFile
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         Truncated. see log file for complete stacktrace
    I'm using the tomhawk's fileUpload
    <t:inputFileUpload id="file" value="#{fnc.uploadedFile}" />
    and I've modified the web.xml
    <filter>
              <filter-name>Extensions Filter</filter-name>
         <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
         </filter>
         <filter-mapping>
         <filter-name>Extensions Filter</filter-name>
         <servlet-name>Faces Servlet</servlet-name>
         </filter-mapping>
    I've all 3 library references in my weblogic.xml file
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>2.0.3</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2.0.1</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>jsf-myfaces</library-name>
    <specification-version>1.1</specification-version>
    <implementation-version>1.1.3</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Bug in JSF 2?

    I'm creating a fairly simple application using Weld and JSF2, running on Glassfish v3. However I have run into a problem which I can't get my head around. On one page I have a search field, which the result populates a h:selectOneMenu. From the h:selectOneMenu it should then be possible to select one of the results. This is were I get an error (or lack thereof, so to speak). The second request never reaches my RequestScoped bean, which I find odd.
    I have created a very simple example to illustrate. The behavior I would expect, is the search field to be populated in the h:selectOneMenu, and then the value selected here shown in the bottom line.
    If I change the bean to return a populated list for #{imTheBean.searchResult} on the first render, I'm able to submit just fine. Which is the behavior I was expecting from my example, but doesn't seem to work because I'm dynamically populating the searchResult..
    <h:messages /> outputs: "searchform:searchResult: Validation Error: Value is not valid". Nothing shows in the glassfish log..
    Am I doing something wrong, or is this a bug somewhere?
    JSF page:
    <?xml version="1.0" encoding="UTF-8"?>
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                    xmlns:ui="http://java.sun.com/jsf/facelets"
                    xmlns:f="http://java.sun.com/jsf/core"
                    xmlns:h="http://java.sun.com/jsf/html">
        <h:messages/>
        <h:form id="searchform" styleClass="as_form">
            <h:inputText id="search" value="#{imTheBean.searchString}"/>
            <h:commandButton id="searchbutton" value="Search" action="#{imTheBean.doSearch}"/>
            <br/>
            <br/>
            <h:selectOneMenu id="searchResult" value="#{imTheBean.selectResult}">
                <f:selectItems value="#{imTheBean.searchResult}"/>
            </h:selectOneMenu>
            <h:commandButton id="selectButton" value="Select" action="#{imTheBean.doSelectResult}"/>
        </h:form>
        <br/>
        <br/>
        You selected #{imTheBean.selectedResult}
    </ui:composition>Bean:
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    import javax.enterprise.context.RequestScoped;
    import javax.inject.Named;
    * ImTheBean.
    @RequestScoped
    @Named
    public class ImTheBean implements Serializable {
        private static final long serialVersionUID = -6412703392546135760L;
        private String searchString;
        private List<String> searchResult;
        private String selectResult;
        private String selectedResult;
        public void doSearch() {
            searchResult = new ArrayList<String>();
            searchResult.add(searchString);
        public void doSelectResult() {
            selectedResult = selectResult;
        public String getSearchString() {
            return searchString;
        public void setSearchString(String searchString) {
            this.searchString = searchString;
        public List<String> getSearchResult() {
            return searchResult;
        public void setSearchResult(List<String> searchResult) {
            this.searchResult = searchResult;
        public String getSelectedResult() {
            return selectedResult;
        public void setSelectedResult(String selectedResult) {
            this.selectedResult = selectedResult;
        public String getSelectResult() {
            return selectResult;
        public void setSelectResult(String selectResult) {
            this.selectResult = selectResult;
    }

    This is a vague error that has existed for a long time, also in JSF 1.x. If you search on that specific error in google you'll get many cries for help, with solutions.
    Among other possibilities, it can happen when the list you use to fill the oneSelectMenu has different values on the postback; if the value that was selected in the menu does not exist in the backing list on the post back, you'll get this error.
    Also check BalusC's reply in this thread:
    [http://forums.sun.com/thread.jspa?forumID=427&threadID=5305443|http://forums.sun.com/thread.jspa?forumID=427&threadID=5305443]

  • JSF 1.2 and  

    Hello!
    I used MyFaces + Facelets and have no problems with After switching to JSF 1.2_01 I getting this strange error:
    XML Parsing Error: undefined entity
    Location: http://boris.nikom.ru:8080/test.jsf
    Line Number 16, Column 14: <tr><td> </td></tr>
    The original file looks like (please note I use &#160; not   directly):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:t="http://myfaces.apache.org/tomahawk">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <head>
    <link rel="STYLESHEET" type="text/css" href="/css/style.css"/>
    </head>
    </head>
    <body>
    <table>
    <tr><td>&#160;</td></tr>
    </table>
    </body>
    </html>
    My enviroment is: Resin 3.0.20, JSF 1.2_01, Facelets 1.1.11
    WEB-INF/lib context:
    commons-beanutils-1.7.0.jar commons-logging-1.0.4.jar
    commons-codec-1.3.jar el-api.jar
    commons-collections-3.1.jar el-ri.jar
    commons-digester-1.6.jar jsf-api.jar
    commons-el-1.0.jar jsf-facelets.jar
    commons-fileupload.jar jsf-impl.jar
    commons-lang-2.1.jar

    Hello!
    Detailed explanation of problem:
    1) FireFox send HTTP Accept header with text/xml,application/xml,application/xhtml+xml ... etc
    2) JSF 1.2 returns Content-Type: application/xhtml+xml
    3) Based on the return type FireFox tries to validate XML and fails.
    MyFaces always returns content-type text/html. So, question to gurus - is this correct behavior of JSF 1.2 or should be reported as bug?
    With respect,
    Boris

  • UIX or JSF

    Hi,
    I know pretty little of Java so forgive me if this should turn out to be a beginner question.
    Could some one please shed some light on the difference between UIX and JSF? I am just starting to make my own "Pet Shop" application and was wondering if I should be implementing it with UIX or JSF prerelease?
    JSF seems to have pretty many controlls and it is a standard. On the other hand UIX is heres since over a year or two, it should be more stable. Is Oracle going to support both on the long run? If yes then why and when should I use UIX and when JSF? If no, then will there be an automatic migration utility or I better start using right away the JSF contolls? As far as I know the event handling of UIX and JSF is different so why learn both?
    Every help is highly appreciated.
    Regards,
    Tamas Szecsy

    Well start by reading the UIX roadmap document:
    http://www.oracle.com/technology/products/jdev/collateral/papers/9.0.5.0/adfuix_roadmap/adfuix_roadmap.html
    Then consider your options - UIX actually has more components today than JSF, it has a visual editor in JDeveloper and it has databinding.
    JSF is still new, you can use it in JDeveloper but you'll be missing the visual editing and drag and drop data binding right now. ADF Faces adds many of the components that UIX has to JSF. And future versions of JDeveloper will have visual editing and databinding for JSF also.
    More on JSF in JDeveloper today here:
    http://www.oracle.com/technology/products/jdev/jsf.html
    The next issue of the Oracle Java Newsletter has more on JSF so register now to make sure you'll get it:
    http://www.oracle.com/go/?&Src=1952635&Act=34

  • Vibe 3.4 Versioning + File locking issues

    Dear all,
    I've searched many Links in google and also the many Novell Forum Threads, but nothing answers my question. This confuses me because I can't imagine that only we have this problem.
    Here our Issue:
    We want to use Vibe as a File Management System with the feature of file versioning. So we imported our Files (Office files, PDFs) into our Vibe Server and started testing with the versioning.
    What we noticed is that it is very easy to destroy the whole versioning of a file! You can reset a files version (f.e. 1.7) back to Version 1.0 with one simple click. It even deletes the whole version history of that file!
    Let me try to explain:
    We Have our Vibe Server (V.3.4) and many Clients (Win7) that have the Office 2007 Vibe Addin + Vibe desktop Client installed.
    Now if a User opens a file (f.e. Word document) from the Vibe Server, with the Browser or with the office addin, makes changes and then wants to save them, he is asked if he wants to create a new version or overwrite it.
    If you press "create new version" it does what is should, but if "overwrite it" is clicked, it will delete the whole versioning + history of the file...
    This is not acceptable for us, because we need to keep the versioning of files for our documentation we create that belongs to files. It is no solution to change the rights to only read for all users. Because everyone needs to be able to create files, change them and delete if necessary.
    Now to my confusion, are we the only company that has this requirement? I cant find anything regarding this problem...
    A second Problem that we have is with the lock function in Vibe. You can lock a file but other users can easily open that file (f.e. over the web browser), make changes and save them... They are then the author of the file.
    So the lock seems to be only a visual notification that it is "locked" from another user.
    Can someone please help me on these issues?
    Thanks and regards
    Michael

    Hi all,
    sorry for the late reply.
    In the meantime I found out something interesting. The mechanic of the office Add-In seems to be broken (?) on some user clients! We compared a few Clients that have the office 2007 + Vibe Add-in installed, and we noticed a big difference in the updating mechanic!
    On my Computer (= broken Add-in), when I open a File from the Vibe server, the first thing I noticed is, that my symbols (Dashboard, lock, refresh, etc.) in the Vibe Add-in are grayed out! I've checked the rights to that file, they are fine. It doesn't matter if I'm a user with admin rights or if I open it as THE Admin, same issue. Even the Dashboard to the right (in office), which should show me the owner, name, and version of the file, is missing. When I make a change and click "save" it opens the "save as" window.
    On the other client (correct working Add-in), all the Vibe Add-in Symbol are usable, the dashboard is shown and when you press "save", it creates a new version. This is what I expect it to do.
    If I use another Client with my credentials, it works fine! The strange thing is, the Add-in error only affects a handfull of clients... I've tryed everything to do a clean reinstallation of the Vibe Office Add-in but it doesn't fix the issue. I think that some files are not being deleted when doing the uninstallment.
    I've checked the eventlog, it showes me the following message when opening files described above:
    ERROR 2015-01-28 15:24:12,436 Novell.Collaboration.UX.Util.WindowSettings [1] - Unable to load window settings
    System.Configuration.ConfigurationErrorsException: Fehler beim Laden des Anbietertyps: Novell.Collaboration.Core.Settings.AppDataSettings Provider, Novell.Collaboration.Common, Version=1.0.1.302, Culture=neutral, PublicKeyToken=null.
    bei System.Configuration.ApplicationSettingsBase.get_I nitializer()
    bei System.Configuration.ApplicationSettingsBase.Creat eSetting(PropertyInfo propInfo)
    bei System.Configuration.ApplicationSettingsBase.Ensur eInitialized()
    bei System.Configuration.ApplicationSettingsBase.get_P roperties()
    bei System.Configuration.ApplicationSettingsBase.Reloa d()
    bei Novell.Collaboration.UX.Util.WindowSettings.Restor eSettings()
    Regards
    Michael

  • What version least buggy 5.0 through 6.0.1?

    I need info on old versions of itunes 5.0 through 6.0.1. Are versions 5.0, 6.0 for Mac stable and non-buggy? Is the low volume prolem I ran into in 6.0.2 and 6.0.3 present in 6.0.1? I found 5.0 online but can't find any other version 5 for Mac.
    I'm satisfied with itunes 4.9 but may be forced to update itunes to 5.0 to use a replacement Shuffle (despite the specs saying 4.7.1 is the minimum).
    My philosophy on updating software is if it ain't broke don't fix it. So... I stayed at 4.7.1 until my podcatcher stopped being developed. Now I'm at 4.9. I don't want to update itunes (or for that matter my OS or QT). It may end up either update or don't buy the new ipod.
    I miss the days when Apple cared about backwards compatibility. Advice on the oldest stable version will be great!

    hi Marlinspike!
    Everything I've read implies problems with iTunes 5 was on the Windoze version. Next time I have to reformat my hard disk I'll maybe install 5 experimentally to see.
    go for 5.0.1.4 over 5.0.0.35. in amongst the "undocumented" problems for a small number of folks with 5.0.0.35 was an issue where downloading certain podcasts could corrupt your library files. (that was on both PCs and Windows.)
    similarly, go for at least a 6.0.1.3 rather than a 6.0.0.18. the most common version of the -208 error could hit Macs as well as PCs:
    iTunes 6: -208 Error message when playing iTunes Music Store content
    (sorry i don't have much more info than that for you ... i spent most of those days "trapped" in "Installing & Upgrading iTunes for Windows", and my links with outside fora were sketchy to say the least ...)
    love, b

Maybe you are looking for

  • Update to STB created a brick and poor customer service

    To whom it may concern,  I honestly have lost all faith in Verizon FIOS and will start pricing to replace your service first thing in the morning. This evening I spent 1.5 hours on the phone trying to get my set top box fixed. This was a total waste

  • Warranty claim $300 fee for damaged phone that was in perfect condition

    they claim when i sent in my phone that was crashing and acting funny that when they received it the "charging port" was corroded.  So after hours on the phone fishing for answers and solutions to get this $300 charge off my account i was sent the pi

  • I enable Display PDF in browser but still opens in Reader

    Our current client PC's are Windows XP 32-bit, IE 7, using Adobe X v.10.1.2. We have an application that opens PDF files. We have the parameter "Display PDF in browser" enabled and it opens in the browser as it should. However, new PC's are built wit

  • Every time I charge my shuffle, my songs get deleted

    I have a first gen shuffle, every time I plug it into my comp's USB, the songs on my shuffle get deleted. It blinks orange, green, orange, green... So I have to rechoose all my songs onto my shuffle. How can I get it so that I don't have to do this e

  • Parental Control Problems

    As soon as I push the "lock icon" to change/edit the "parental controls", the multicolor wheel does not stop rolling and I have to "force quit" from "parental control" window. It won't let me into the Parental Controls setting pane. Any help on this