Java publishing framework using Weblogic personalization

Hi All, Has anyone used the Weblogic personalization server/portal or
a different Weblogic product as a publishing framework.
We want to design a publishing system in which we can quickly create
templates for new type of content on the website, and provide an
interface for entering the data to the admins. The data can then be
presented using XML/XSL transformation, and the source can either be a
database or static XML file.
Cocoon does provide a framework that comes close to our requirements,
but as we are using weblogic it might be worth expoling if a
commercial product can be used for such a framework.
I am sure many people have a need to post content on the site and use
a variety of mechanisms to use it.
Also, can the Portal product be used to generate portlets which can be
placed on multiple pages. We are looking at 500+ pages in our site,
with 100+ portlets.
I can give more specific details if needed. Any help is appreciated.
Please feel free to also email at [email protected]
Thanks, Yogi.

1) http://commerce.bea.com/showproduct.jsp?family=WLP&major=8.1&minor=4
2)Make sure you add your JDBC drivers to the beginning of CLASSPATH in either setDomainenv.cmd or setEnv.cmd
3)What really helped was BEA support and playing with BEA's JDBC example that shows how to create and deploy and use a data source.
http://dev2dev.bea.com/codelibrary/code/examples_jdbc.jsp

Similar Messages

  • See Java System properties using WebLogic Server console

    hi
    If I deploy "systempropertiesweb.war" [1] on WebLogic Server I can see all or individual Java System properties,
    e.g. http://localhost:7101/systempropertiesweb/systemproperties?property=java.version results in "java.version = 1.6.0_24"
    Is it possible to see the same Java System properties using WebLogic Server Administration Console? If so, how?
    ( via http://localhost:7101/console )
    - [1] at SystemPropertiesApp/SystemPropertiesWeb/deploy/systempropertiesweb.war
    in http://www.consideringred.com/files/oracle/2013/SystemPropertiesApp-v0.01.zip
    many thanks
    Jan Vervecken

    Thanks for your reply Timo.
    Timo Hahn wrote:
    I don't think that there is an option to see this in the admin console. ...Thanks for the confirmation.
    ... There my be a mbean but I did not find it.Well, if I start JConsole (e.g. at C:\oracle\jdevstudio111240-mw\jdk160_24\bin\jconsole.exe ) and connect to e.g. Local Process "weblogic.Server", on the MBeans tab I can navigate to java.lang:type=Runtime which has an SystemProperties attribute.
    But, I don't know how to get to this same MBean using the WebLogic Server Administration Console (if possible).
    regards
    Jan Vervecken

  • Java.io.IOException using weblogic.jspc

    I've seen a number of similar questions on this but no answers. Can
              anyone provide some insight?
              I have a JSP containing a custom tag library that compiles and executes
              successfully when deployed as a war file under wls 5.1 sp8 but running
              the weblogic.jspc compiler from the command line produces a
              java.io.IOException: cannot resolve '/WEB-INF/tlds/struts-template.tld'
              into a valid tag library.
              The web.xml file includes:
              <taglib>
              <taglib-uri>/WEB-INF/tlds/struts-template.tld</taglib-uri>
              <taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location>
              </taglib>
              The command I'm using is:
              java -Dweblogic.home=/opt/weblogic
              weblogic.jspc
              -d /home/wmeier/java/StrutsTemplate/build/jsp
              -docroot /home/wmeier/java/StrutsTemplate/web
              -contextPath StrutsTemplate
              -encoding default
              -keepgenerated
              -g
              introduction.jsp
              I can get the jsp compiler to work when I change the taglib uri
              declaration from
              <%@ taglib uri='/WEB-INF/tlds/struts-template.tld'...
              to
              <%@ taglib uri='/tlds/struts-template.tld'
              This modified uri also works as a war file under WebLogic but fails
              under the Tomcat 3.2 reference implementation.
              Does anyone have any ideas how I can get the compiler to work without
              hacking the taglib uri?
              Thanks,
              Bill Meier
              

    CeciNEstPasUnProgrammeur wrote:
    Hm, well... the API docs say for non-existing files you get an IllegalArgumentException, and IOException is for "no application registered" or "application won't start"...
    Just a guess: is the firewall blocking the execution?I don't think it is a fire wall issue since everything runs on the same machine (the file is created and invoked on the same machine)
    Any other ideas?

  • Request: Java Media Framework

    http://java.sun.com/products/java-media … nload.html
    OpenOffice.org 2,x uses the Java Media Famework (JMF) to render media such as film and sound under Linux.
    It would be very usefull in Impress presentations
    I tryed but was unable to make a package
    Thanks in advance

    Try this package:
    http://aur.archlinux.org/packages.php?d … 1&ID=11728
    Give me feedback please
    See you
    You also have to:
    Set up OpenOffice.org to use Java Media Framework
    Use the Tools > Options > OpenOffice.org > Java menu
    Click the Class Path... Button.
    Click the Add Archive... Button.
    Browse to the /opt/java/jre/lib/ext/jmf.jar file to add it.
    More info at http://www.oooforum.org/forum/viewtopic … mfhome+sun
    Last edited by darzephyr (2007-06-20 19:23:47)

  • How to load Java properties file dynamically using weblogic server

    Hi,
    We are using Java properties file in Java code. Properties in java properties file are frequently modified. If I keep these properties file in project classpath or as part of war, I will have to redeploy application after each change.
    We are using Weblogic Server.
    Can you please suggest me how can this properties file be loaded at weblogic server startup. Then in that case, how to refer property file in Java code?
    What is the best practice for this?
    Thanks,
    Parshant

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • Error Using weblogic.jspc --- java.lang.ExceptionInInitializerError

    Hi,
              I am trying to use the weblogic.jspc compiler to pre-compile my jsp
              files so that I can verify that they compile w/o having to visit the
              page. I am using Weblogic 4.5.1. I am encountering the following
              error:
              java.lang.ExceptionInInitializerError
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Compiled Code)
              at java.lang.LinkageError.<init>(Compiled Code)
              at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
              at java.beans.Beans.instantiate(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
              at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
              at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
              at weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled
              Code)
              at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
              at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
              at weblogic.jhtmlc.runBody(Compiled Code)
              at weblogic.jspc.runBody(Compiled Code)
              at weblogic.utils.compiler.Tool.run(Compiled Code)
              at weblogic.jspc.main(Compiled Code)
              Have any of you seen this? Can you tell me what I am doing wrong
              (Classpath, etc.)?
              Any and all help would be greatly appreciated.
              The command line I am using is:
              java -verbose -classpath
              $CLASSPATH:/apps/weblogic/license:/apps/weblogic/classes:/apps/weblogic/lib/weblogicaux.jar
              weblogic.jspc -d $HOME/weblogic/myserver/classfiles/examples
              100-Welcome.jsp
              Regards,
              Richard
              

    Fixed with a patch CR0737797 and CR062538 for the 6.1 sp3 source line
              Prasanna Yalam

  • How to find Number of working threads using java executor framework

    I'm creating a java thread pool using java 1.5 executor framework.
    private ExecutorService executorService = Executors.newFixedThreadPool(threadPoolSize);
    public <T> Future<T> submit(Callable<T> task) {
              return executorService.submit(task);
    }Now I want to get the number of working thread at runtime. Is there any java api available to do this using java 1.5 executor framework?
    Thanks,
    Arpan

    If the ExecutorService you are working on is a ThreadPoolExecutor then you can use ThreadPoolExecutor#getActiveCount() to get the count of threads actually running tasks. There is no such method on the ExecutorService interface though.

  • How to send automated mail using Weblogic API ,,,,,, NOT Java Mail API.

    Hi All,
    I need to send an automated mail using BEA Weblogic API, can you please let me know how to accomplish this task,
    I will be heartly thankful to you,
    waiting for your response back
    naveen

    does it uses weblogic API ,, is thre any other way to do the task apart from email controls ,,,, because we are using timers and email control uses event genrators.

  • Web services with Jdeveloper using weblogic as server

    Hi,
    I try to test creating PL/SQL web services by using a connection hosted by weblogic server instead of OC4J. The problem is what I try to publish a package of the database in the second stage when it asks for the connection to use, in the list I don't found the connection I create to weblogic . It presents as choice only connections used the server OC4J.
    I do not Know if it is possible to publish a package as web service by using weblogic server connection, and how to do it.
    can anyone help me please .
    Nawal

    Web services can only be published to BEA if you install Apache SOAP on BEA and use the Apache SOAP option of JDeveloper. The J2EE Web Services implementation framework is specific to Oracle9iAS.
    The PL/SQL Web Services server implementation is based on the J2EE Web Services option and as a result is not really portable to BEA.
    To publish a PL/SQL Web service on BEA with JDeveloper you would have to write the Java wrapper code to invoke the stored procedure using standard JDBC and then publish that Java class as a Web service using Apache SOAP. Then if you had Apache SOAP installed on BEA you would be set.
    Portability of Web services implementations is a big feature coming with JAX-RPC - currently what most vendors have is interoperability between implementations because of things like SOAPBuilders and WS-I. When JAX-RPC becomes part of J2EE 1.4 roughly in June and vendors start putting out implementations on it you should get closer to portability.
    In the meantime, the easiest way to get portability is to use the same SOAP server on both servers - Apache SOAP is a good example.
    Hope this helps.
    Mike

  • Referencing Shared Java EE Libs in Weblogic from WAR inside EAR

    We have a number of applications that need to reference to both Oracle and our own Shared Java EE Libraries on WebLogic. They are structured as folows:
    Our own shared library, "framework", is packaged as a JAR inside an EAR, along with all non-Oracle, third-party libraries (JAR:s) and deployed as a shared library in WebLogic. This is it's manifest:
    Manifest-Version: 1.0
    Created-By: Apache Maven 3.0.4
    Built-By: lajokon
    Build-Jdk: 1.7.0_07
    Implementation-Vendor: <organization>
    Implementation-Title: Framework Lib
    Implementation-Version: 15.0.2
    Implementation-Vendor-Id: org
    Specification-Vendor: <organization>
    Specification-Title: Framework Lib
    Specification-Version: 15.0.2
    Extension-Name: framework-lib
    All JAR:s are in APP-INF/lib
    The applications are each packaged in a WAR inside its own EAR. The WAR weblogic.xml:
    <wls:weblogic-web-app>
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>app-name</wls:context-root>
    <wls:library-ref>
    <wls:library-name>adf.oracle.domain.webapp</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:exact-match>false</wls:exact-match>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jsf</wls:library-name>
    <wls:specification-version>2.0</wls:specification-version>
    <wls:exact-match>false</wls:exact-match>
    </wls:library-ref>
    </wls:weblogic-web-app>
    The EAR application.xml:
    <application>
    <display-name>app-name</display-name>
    <module>
    <web>
    <web-uri>app-name.war</web-uri>
    <context-root>/app-name</context-root>
    </web>
    </module>
    </application>
    The EAR weblogic-application.xml:
    <weblogic-application>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    <specification-version>1.0</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>coherence</library-name>
    <specification-version>3.7</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    <library-ref>
    <library-name>framework-lib</library-name>
    <specification-version>15.0</specification-version>
    <exact-match>false</exact-match>
    </library-ref>
    </weblogic-application>
    All libraries are deployed by default or deploy correctly in WL. As does the application EAR.
    But, when I access the application i get runtime errors saying it can't load resources located in the WAR:s WEB-INF/classes dir!?
    However, I can see, from log output, that it loads resources from the Framework EAR. Why does WL not seem to care about the contents of my WAR?

    If I use the Admin Server Console to view the shared library, I can see ecif-ear(1.0,1.0) in the Deployments list. Its State is shown as "Active", Type is "Library", Deployment Order is 100.
    I deployed the shared library using the Admin Server Console but deployed the referencing application using WorkShop for WebLogic Platform by Run As -> Run on Server. The Eclipse error log shows the following Exception Stack Trace:
    com.bea.workshop.wls.core.j2eelib.UnresolvableReferenceException: ecif-ear|1.0|1.0|true
         at com.bea.workshop.wls.core.j2eelib.LibraryModuleRegistry.resolve(LibraryModuleRegistry.java:106)
         at com.bea.workshop.wls.core.j2eelib.LibraryModulesSvc.resolve(LibraryModulesSvc.java:884)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deployLibraryModules(J2EEDeploymentHelper.java:409)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deployAllLibraryModules(J2EEDeploymentHelper.java:392)
         at com.bea.workshop.wls.core.server.internal.J2EEDeploymentHelper.deploy(J2EEDeploymentHelper.java:198)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishModules(WeblogicServerBehaviour.java:893)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:459)
         at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:334)
         at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:862)
         at org.eclipse.wst.server.core.internal.Server.publish(Server.java:850)
         at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:142)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

  • Java.lang.LinkageError in weblogic 10.3

    i had deployed the jasperserver.war in weblogic 10.3 server...
    i am getting the following exception...
    Context Initialization failed
    org.springframework.beans.factory.BeanDefinationStroreException:unexpected exception parsing xml document from ServletCotext resource[WEB-INF/applicationContext.xml]nested exception is java.lang.LinkageError:loader constraint voilation when resolving the method javax.xml.parser.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver:)V"the class loader intance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class,og/springframework/factory/xm/DefaultDocumentLoader and the classloader<instance of <bootloader>) for resolved classes javax/xml/parsers/DocumentBuiler have different class objects for the type org/xml/sax/EntityResolver used in the signature
    please help me out ...
    thanks in advance
    venkat seerla

    I think there is conflict with a class in the system classloader an one into jasperserver.war. Maybe It is due to a diferent implementation of Spring framework of WebLogic and jasper reports. Check if jasper spring version matches weblogic spring version.
    To understand classloading visit http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/classloading.htm

  • Federation using weblogic as an IDP and OIF as a SP(service Provider)

    Hi,
    I am facing some problem during SAML creation.
    I am using weblogic as an Identity Provider and Oracle Identity federation (OIF) as a service Provider. The federation will be IDP(weblogic) initiated.
    I have configured both sides , published metadata and exchanged.
    Is there any out of box feature of weblogic by which we can use SAML after configuration only or we need to write a separate java code(Login page.jsp etc) in order to create login page and using the entire configuration which I made in weblogic.
    I am using OIF as service provider . I have Exchanged metadata of OIF and weblogic as part of building trust between IDP and SP.
    IF I had used OIF at both sides in that case my job would be pretty easy (cause OIF is specifically built for this purpose. But our requirement is different as I have to use weblogic as an IDP).
    What URL I need to hit for SAML if there is out of box feature in weblogic for using SAML(after configuring everything in weblogic).
    Thanks.
    Piyush

    Weblogic itself does not have an identity provisioning store, you will have to employ a provisioning mechanism.
    -MD

  • Error while attempting to use WebLogic with EDS

    Hello,Previously, I have installed EDS and used the default TomCat (which I would prefer was not automatically installed).Now I want to stop using TomCat and start using WebLogic 8.x . I've gone through the docuemented steps to create the application in WebLogic, but when I attempt to access the URL for WebLogic, I recieve the following Java error:javax.servlet.ServletException: Cannot initialize essbase deployment server framework.     at com.essbase.server.plugins.http.EssbaseEnterprise.init(Unknown Source)I realize this is a generic error, but is there any documentation on this?

    I encountered the similar error before.I replaced Tomcat with WebSphere and DB2 with MySql.After I installed the EDS according to the EDS install guide file and started it,there were a lot of error happened.I don't know whether the cause of your error is same as mine.But I can tell you that there are some errors and missings in the EDS install guide pdf file.You should get help from the WebLogic expert if you really don't familiar with WebLogic

  • Problem using weblogic.jspc with wls6.1

              I've got this error using weblogic.jspc on jsp that works fine with the compiler
              of 5.1, is this a bug?
              java.lang.NullPointerException
              at weblogic.management.Admin.getServer(Admin.java:1252)
              at weblogic.servlet.internal.dd.ServletEntityResolver.initServerMBean(ServletEntityResolver.java:69)
              at weblogic.servlet.internal.dd.ServletEntityResolver.resolveEntity(ServletEntityResolver.java:94)
              at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:749)
              at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
              at weblogic.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2215)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.access$0(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled
              Code)
              at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
              at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:175)
              at weblogic.servlet.internal.dd.DescriptorLoader.parse(DescriptorLoader.java:311)
              at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebXml(DescriptorLoader.java:327)
              at weblogic.servlet.internal.dd.DescriptorLoader.initialize(DescriptorLoader.java:242)
              at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:176)
              at weblogic.servlet.internal.dd.DescriptorLoader.loadDescriptor(DescriptorLoader.java:396)
              at weblogic.jspc.runBodyInternal(Compiled Code)
              at weblogic.jspc.runBody(jspc.java:169)
              at weblogic.utils.compiler.Tool.run(Tool.java:79)
              at weblogic.jspc.main(Compiled Code)
              --------------- nested within: ------------------
              weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
              [java.lang.NullPointerException]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at weblogic.utils.NestedError.<init>(NestedError.java:24)
              

    Please post your full description. I can't see what you're replying to (must
              be too old).
              Alex
              "Gregory Chazalon" <[email protected]> wrote in message
              news:3c7383a8$[email protected]..
              > I've got te same problem (NullPointerException at the same line code in
              the same class). The most disturbing is that the weblogic.jspc works fine
              with wl6.1 SP2 but fails with wl6.1 SP1.
              >
              > Do you have a solution ? Can I download a CRXXXX.jar that fixes it ?
              >
              > I will appreciate any help.
              >
              

  • Support for Java Activation Framework?

    Hi,
    Can anyone quickly tell me which version of JAF (java activation framework)in
    WLS 7.0 ?
    thanks a lot in advance
    manoj

    Hello Kumar,
    Yes, these are part of HTTP 1.1 extensions. In case this is not currently supported, would really appreciate if you could let me know if it is planned in the future releases.
    Regards,
    Prasad Shetty
    Kumar Allamraju <[email protected]> wrote in message news:[email protected]..
    Are these extensions part of HTTP 1.1?
    Prasad Shetty wrote:
    Hi,
    I need to use some headers defined in HTTP Extension Framework
    (RFC 2274). Does Weblogic provide support for this extension
    framework ? If so which version of Weblogic should i be using ?
    Thanks & Regards,
    Prasad Shetty
    [att1.html]

Maybe you are looking for

  • BO XI R3 is unstable???

    BO XI R3 is unstable when created more serving WEBI, somebody say could me if they exist some requisite daily pay to create servers WEBI in BO XI R3? somebody has success when working with groups of servers in BO XI R3 here? I am having some problems

  • Query Regarding Execute Thread Count

    Hi, My understanding of Execute Thread Count is the threads which are assigned to service requests coming to Weblogic Server. In our current architecture a request for generating report is directed to EJB method which makes a call to another Server (

  • Is it possible to run the Process Application task from DM or SSIS ???

    As the title says (and further to yesterday's SSIS question). I need to automate the task of processing applications, but currently only have the option of opening Admin Manager -> Applications -> Tick "Process Application" -> Modify Application. Whe

  • Deleted photos reappear?

    When I delete old photos I no longer need on my "Camera Roll",  I close the photo window than when I revisit my photos all the deleted ones are back? I have iCloud. are they there? If so, how can I access iCloud to permanently remove them. I also use

  • TDS RUN PROBLEM

    Hello dears, Here is a problems at time of TDS run in J1INCHLN,there is a problem comming,"No unpaid tax line item exist for given selection criteria"** The corresponding Withholding Tax line items &1 is not present in WITH_ITEM table, Kindly suggest