Independence of Deployment Platform?

I understand that JDeveloper has great flexibility in switching deployment platforms between the Oracle CORBA, VisiBroker CORBA, and EJB. But I am wondering why it is not the case for deployment onto OAS as an EJB? According to the online help, I have to generate a separate project, put in my custom create() code to initialize the database connection, and then deploy the manually written EJB to the OAS. Or did I miss something in the online help that shows how to deploy app modules as an EJB onto OAS as easily as deploying onto other 3 platforms (for deploying onto the other 3 platforms, I don't need to add/modify any code for deployment)?

So you mean that I have to create wrapper >EJBs outside of the app modules and >deploy those wrappers onto OAS? There is >no other way around until the next release >of JDeveloper is released?Yes. And if you are using visual clients then I'd recommend deploying the middle-tier on JServer or VisiBroker till JDev 3.1 comes out.
Regards,
Arun

Similar Messages

  • Deployment, platforms, choice

    hi everybody,
    i am planning the deployment configuration for a BC4J4s JSP interfaced app to be developed using Jdev 3.2
    right now, i have a 8.1.5 db server so i was planning to deploy my BC4J app module as a EJB session bean to my 8.1.5 db server (this server will also host my BC4J db) and use a JSP enabled web server for my JSP interface but according to the Jdev 3.2 doc, the only certified platform for deployment is 8.1.7 db server
    which could be a deployment enviroment for such app ?, which are the options for middle tier ?, which for the JSP pages ?
    TIA,
    p

    Juan,
    I am talking about a production enviroment, so there must be (at least at the logical level) a middle tier server (and I would prefer to express my app module as a EJB session bean since I feel more comfortably with J2EE than CORBA), which are my choices for middle tier server ?, which for presentation (JSP enabled) server ?
    BTW, if 8i 8.1.7 db server can act as a EJB container, JSP enabled web server and, of course, db server, what is OiAS 8i/9i for ?
    Thanks a lot,
    P

  • Deploying BC4J apps to different platforms/databases

    Hi all,
    Maybe I've missed something very basic... This seems like it should be a breeze to set up, but after a decent amount of searching the help docs and the forums, I haven't found a good way to specify different database settings for different deployment platforms (e.g. development, QA, production, etc). All I really want to do is point the application to a different database for each different deployment platform.
    It seems like the Deployment Descriptor might be a prime place for this stuff, but I don't see anything like that in the deployment settings.
    I've also successfully messed around with different configurations on a per-app-module basis (e.g. creating configs called "DEV", "QA", etc with different connection strings)... This works, but it's kind of a hack if you use a lot of different app modules. Managing (in my case) six different deployment platforms for each app module can get tedious.
    I can see something in the Configuration properties called "Deployment Platform", but this field is read-only and I can't figure out how to get the app module to point to different DBs based on this property... I also can't figure out how to add any other deployment platforms -- I always just see "LOCAL"...
    Any help with this would be greatly appreciated. At this point my best option is to create six different configurations in each app module, and call them something like MyBizModule-DEV, MyBizModule-QA, etc... Then I specify which platform to use in a properties file, e.g. "DEV", and when I create an app module, I just append that platform keyword to the app module name to get the configuration name... But I know there has to be a more elegant way of doing this.
    Thanks,
    Jeff

    Jeff,
    It seems you are confusing the deloyment platform to the database server being used. The deployment platform property in the configuration is used to determine how the appmodule is deployed --locally, as an ejb session bean or as a corba server. The database connection to be used is referred to by <JDBCName> or the <JDBCDataSource> property. JDBCName refers to the named database connection defined in the ide. <JDBCDataSource> refers the jdbc 2.0 datasource defined in the appserver. Both the mechanisms provide the abstraction for changing the target database url.
    Instead of creating different configurations you can change the connection definition for different environments.
    Hope this helps
    Dhiraj

  • Deploying ADF/JDeveloper portlets in WebSphere Portal

    I'd like to use ADF/JDeveloper to build my application, but my customer is already heavily invested on a WebSphere Portal deployment platform.  The JDeveloper/ADF documentation has extensive information on creating portlets in various ways, but they all seem focused exclusively on deploying in an Oracle platform.  I have tried both the "Standards-Based" as well as the "JSF Portlet Bridge".  I have tried to deploy the portlets in WebSphere Portal using both the generated WAR file, as well as by registering the WSRP producer.  None work.
    With the WAR file, WebSphere Portal seems to import the WAR file just fine, and I can add a portlet to a page, but the portlet always shows as "unavaiable"
    With the WSRP producer, I can get something to show in the page, but the functionality within the portlet doesn't seem to work.
    I've searched extensively, but cannot locate any documentation or use cases for deploying portlets from JDeveloper into WebSphere Portal.  Does anyone have any thoughts?

    Dvohra21, again, I apreciate the effort, but I think you're missing the fundamental question.
    You've given me two types of articles/links.  Some are generic WebSphere Portal documentation about deploying a portlet from a WAR file.  Others are Oracle articles about who to generate portlets in JDeveloper, with examples deploying in Oracle/WebLogic servers.   Unfortunately I don't have a problem with either of those.
    I CAN deploy a portlet WAR file in WebSphere Portal, and sucessfully add it to a Portal page.  I have done that with multiple WAR files generated from Rational Application Developer.
    I CAN produce a WAR file from JDeveloper, following the instructions in the same resources you included, plus a few others.
    The problem is, the WAR file from JDeveloper, does not successfully run on WebSphere Portal.  I create a simple Hello World portlet in JDeveloper, and I can generate a WAR file from it, and seemingly deploy to WebSphere Portal.   However when I add it to a Portal page, it always displays only a blank box with the text "This portlet is unavailable".  This is in the same exact portal page, where the portlet created with Rational Application Developer shows up just fine right along side it.
    Bottomline is, although there is a great deal of information an demos about generating portlets from JDeveloper within an Oracle environment, I could not find a SINGLE ONE, that goes through an end to end scenario where it is deployed in WebSphere Portal.  Nothing in this forum, nothing in Oracle docs, and nothing I can find on a Google search.

  • Problem deploying EJB entity bean

    Hi all!
    I'm trying to deploy an CMP entity bean with composite primary key.
    My environment is Oracle 8i (8.1.7) on W2K Professional and I'm using JDK 1.3.1_02.
    The error I get is:
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    An exception occurred during code generation: null
    I don't understand what am I doing wrong...
    Any help will be highly appreciated.
    [Could anyone point me out sample code for CMP entity beans with composite primary key?]
    Apologies for the length of the POST, just trying to pass as much info as I can...
    The table is the following:
    CREATE TABLE GPS_HIST (
    gps_date_of_fix     VARCHAR2(40) NOT NULL,
    gps_time_of_fix     VARCHAR2(40) NOT NULL,
    issi               NUMBER(10) NOT NULL,
    gps_condition          NUMBER(5),
    gps_latitude          VARCHAR2(40),
    gps_longitude          VARCHAR2(40),
    gps_speed_knt          NUMBER(10),
    constraint gps_hist_pk primary key (gps_date_of_fix, gps_time_of_fix, issi))
    TABLESPACE AVLDATA
    PCTFREE 10     PCTUSED 40
    INITRANS 1     MAXTRANS 255
    STORAGE (
    INITIAL 128K NEXT 128K PCTINCREASE 0
    MINEXTENTS 1 MAXEXTENTS 4096)
    NOCACHE;
    The primary key class is the following:
    package gps;
    public class GPSEntryPK implements java.io.Serializable
         public int ISSI;
         public String gpsTimeOfFix;
         public String gpsDateOfFix;
         public GPSEntryPK() {}
         public GPSEntryPK (String gpsDateOfFix, String gpsTimeOfFix, int ISSI)
              this.gpsDateOfFix = gpsDateOfFix;
              this.gpsTimeOfFix = gpsTimeOfFix;
              this.ISSI = ISSI;
         public String getGPSDateOfFix()
              return this.gpsDateOfFix;
         public String getGPSTimeOfFix()
              return this.gpsTimeOfFix;
         public int getISSI()
              return this.ISSI;
         public boolean equals(Object obj) {
              if ((obj instanceof GPSEntryPK) &&
                   (this.ISSI == ((GPSEntryPK)obj).ISSI) &&
                   (this.gpsTimeOfFix.equals(((GPSEntryPK)obj).gpsTimeOfFix)) &&
                   (this.gpsDateOfFix.equals(((GPSEntryPK)obj).gpsDateOfFix)))
                   return true;
              return false;
         public int hashCode() {
              return (this.gpsTimeOfFix.concat(this.gpsDateOfFix)).hashCode() * this.ISSI;
    The bean implemantation (part of it) is as follows:
    public void setEntityContext(EntityContext ctx)
    this.ctx = ctx;
    Properties props = ctx.getEnvironment();
    public void unsetEntityContext()
    this.ctx = null;
    public GPSEntryPK ejbCreate(String gpsDateOfFix, String gpsTimeOfFix, int ISSI, int gpsCondition,
    String gpsLatitude, String gpsLongitude, double gpsSpeedKnt)
    throws CreateException, RemoteException
    try {
    setGPSDateOfFix(gpsDateOfFix);
    setGPSTimeOfFix(gpsTimeOfFix);
    setISSI(ISSI);
    setGPSCondition(gpsCondition);
    setGPSLatitude(gpsLatitude);
    setGPSLongitude(gpsLongitude);
    setGPSSpeedKnt(gpsSpeedKnt);
    } catch (java.rmi.RemoteException e) {
    throw new CreateException();
    return null;
    public GPSEntryPK ejbFindByPrimaryKey(GPSEntryPK pk) throws RemoteException, FinderException {
    return null;
    public void ejbPostCreate(String gpsDateOfFix, String gpsTimeOfFix, int ISSI, int gpsCondition,
    String gpsLatitude, String gpsLongitude, double gpsSpeedKnt)
         throws CreateException
    // get primarykey
    GPSEntryPK pk = (GPSEntryPK)ctx.getPrimaryKey();
    public void ejbActivate() {}
    public void ejbPassivate() {}
    public void ejbRemove() {}
    public void ejbLoad()
    // You can get to the primary key
    GPSEntryPK pk = (GPSEntryPK)ctx.getPrimaryKey();
    public void ejbStore(){}
    The descriptors are the following:
    "gpsentry.xml"
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems Inc.//DTD Enterprise JavaBeans 1.1//EN" "ejb-jar.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <description>no description</description>
    <ejb-name>GPSEntry</ejb-name>
    <home>gps.GPSEntryHome</home>
    <remote>gps.GPSEntry</remote>
    <ejb-class>gpsServer.GPSEntryBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>gps.GPSEntryPK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-field><field-name>gpsDateOfFix</field-name></cmp-field>
    <cmp-field><field-name>gpsTimeOfFix</field-name></cmp-field>
    <cmp-field><field-name>ISSI</field-name></cmp-field>
    <env-entry>
    <env-entry-name>realmName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>gps.realm</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>GPSEntryBean.databaseURL</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>jdbc:oracle:kprb:</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>GPSEntryBean.JDBCDriverName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oracle.jdbc.driver.OracleDriver</env-entry-value>
    </env-entry>
    </entity>
    </enterprise-beans>
    </ejb-jar>
    "oracle_gpsentry.xml"
    <?xml version="1.0"?>
    <!DOCTYPE oracle-descriptor PUBLIC "-//Oracle Corporation.//DTD Oracle 1.1//EN" "oracle-ejb-jar.dtd">
    <oracle-descriptor>
    <mappings>
    <ejb-mapping>
    <ejb-name>GPSEntry</ejb-name>
    <jndi-name>test/gpsentry</jndi-name>
    </ejb-mapping>
    </mappings>
    <persistence-provider>
    <description> specifies a type of persistence manager </description>
    <persistence-name>psi-ri</persistence-name>
    <persistence-deployer>oracle.aurora.ejb.persistence.ocmp.OcmpEntityDeployer</persistence-deployer>
    </persistence-provider>
    <persistence-descriptor>
    <description> This specifies a particular type of persistence manager to be used for a bean. param is where you would put bean specific persistence info in the format of params. The deployment process just passes what's in the param to the persistence deployer. For the baby persistence, we do parse the persistence-mapping but for other persistence backend we don't do anything with the params </description>
    <ejb-name>customerbean</ejb-name>
    <persistence-name>psi-ri</persistence-name>
    <psi-ri>
    <schema>AVLMIS</schema>
    <table>gps_hist</table>
    <attr-mapping>
    <field-name>gpsDateOfFix</field-name>
    <column-name>gps_date_of_fix</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>gpsTimeOfFix</field-name>
    <column-name>gps_time_of_fix</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>ISSI</field-name>
    <column-name>issi</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>gpsCondition</field-name>
    <column-name>gps_condition</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>gpsLatitude</field-name>
    <column-name>gps_latitude</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>gpsLongitude</field-name>
    <column-name>gps_longitude</column-name>
    </attr-mapping>
    <attr-mapping>
    <field-name>gpsSpeedKnt</field-name>
    <column-name>gps_speed_knt</column-name>
    </attr-mapping>
    </psi-ri>
    </persistence-descriptor>
    </oracle-descriptor>
    Thanks in advance.

    Hi Nikos,
    I obviously don't know what your entire situation is, but you may not
    be aware that Oracle's DBMS embedded EJB container does not work well,
    and as a result, Oracle decided to replace it with an external EJB
    container which is part of a product called "Oracle Containers for
    J2EE" (otherwise known as "OC4J"). The "other" forum (the J2EE forum)
    deals mainly with OC4J.
    As far as I know, Oracle recommends doing your EJB related work with
    OC4J and not with the embedded EJB container.
    Good Luck,
    Avi. That's correct
    Java code, implementing data bound logic, can still run in the database as Java stored procedures/packages/functions/triggers
    while J2EE componentsdeployed in middle-tier implement business logic. Java in database enable the database to be an active participant to your deployment platform
    in 9iDB R2 you will even be able to call-out Web client (using HTTP Client), EJB client (using oc4jclient.jar) or Web Service client
    (using SOAP libraries)
    Kuassi

  • Deployment to IIS help

    Hi,
    I am trying to deploy my program to an IIS server (5.0) I'm having problems setting the classpath. I've installed JRE on the server. Is this enough? Do I need to install more components??
    Thanks for your help.

    Aaron, please clarify your questions.
    What is your application deployment platform comprised of? How many Logical Tiers - running where / what?
    What kind of components are you trying
    to deploy onto IIS?
    Also, please look at and apply the bug patches outlined in article:
    "Latest IIS Security Patch isn't Enough" http://www.zdnet.com/zdhelp/stories/main/0,5594,2570776,00.html
    I hope this helps,
    John

  • Changing WSDL location on deployment

    I'm using a layered structure of BPELs. The 'lowest' level of BPEL processes are deployed locally (ease of use), so when I need a BPEL I just drop an Invoke, click on 'Create Partnerlink' and use the WSIL browser to find the needed BPEL. This works just fine. But ... (there's always a but) when I deploy my processes later on, the WSDL is still pointing to 'localhost:9700', so my deployment fails.
    Is there any way I can automate this, so the deployment platform will be searched for the right WSDL? Or do I have to change all my processes by hand??

    Using dymanic partnerlinks pollutes the business process with unwanted logic.
    What is ideally required is an easy way to change the partner endpoints that a deployed process needs. The endpoints I use in development and the endpoints I use in production will be different. Even when set initially, partner endpoints can change later on.
    --Nizam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • WebLogic deployment on Unix or NT

    Hi,
    Does anybody have an idea of what is present percentage of
    Weblogic deployments on Unix and on NT. Curious to know what is
    most preferred platform for weblogic deployment. I appreciate
    your early response.
    thanks,
    Suresh.

    I don't have the exact numbers but the most popular development platform
    is Windows, the most popular deployment platform is Unix.
    Suresh wrote:
    Hi,
    Does anybody have an idea of what is present percentage of
    Weblogic deployments on Unix and on NT. Curious to know what is
    most preferred platform for weblogic deployment. I appreciate
    your early response.
    thanks,
    Suresh.

  • Very slow deployment with in-process=true

    Hi,
    I'm in the process of porting an enterprise application (packaged into a single EAR file) from JBoss to OC4J.
    For now, the biggest part of the application (which is still under development) is an ejb-module with about 66 entity beans with a total of 243 CMR- and 536 CMP-fields. The remaining parts are a few session beans and a few simple web-applications.
    One of the problems I'm experiencing during porting the application is the very slow deployment of enterprise beans on oc4j, especially when having set in-process=true.
    Deployment on JBoss 3.2.4RC1 takes 28 seconds.
    Deployment on OC4J 9.0.4.0.0 takes 20 minutes (cpu-time!).
    My deployment platform is an Intel P4, 1.4 GHz, 1024 MB RAM, MS Windows NT 4.0, Sun J2SDK 1.4.2_04.
    OC4J is started with "%JAVA_HOME%\bin\java.exe -verbose:gc -Xms192m -Xmx256m -DassociateUsingThirdTable=true -jar oc4j.jar -userThreads -verbosity 10". OC4J is configured to perform in-process compilation.
    So far my investigation shows that OC4J is spending a few minutes probably for analyzing and generating wrapper/proxy classes. Then it starts the in-process compilation which accounts for the bigger part of the 20 minutes.
    During that time, "-verbose:gc" shows that it's spending only the usual amount of a few milliseconds per second for GC.
    I also had a look at the generated wrapper/proxy classes. The size of some files is intimidating. The biggest one has a size of 1,566,791 bytes (31,930 lines) (- seems that it consists of 95% duplicated code ;-)). This generated source file belongs to a entity beans that I wouldn't describe as being really huge: it has 25 CMP- and 18 CMR fields.
    But this is probably not the cause for the extreme slow-down:
    Another test with in-process=false was much faster (when compared to the former test): about 2 minutes 30 seconds.
    But actually this is still very slow.
    Is this a known problem or am I the only one experiencing slow deployments?
    How can I speed up deployment times?
    Suggestions greatly appreciated.
    Stefan Schmidt

    No TAR yet as this is currently one of the minor problems with OC4J. :-( I'll file a TAR after we've solved some more pressuring problems here.
    For now I use in-process=false. Which is still slow, but at least I see can see the reason for this: it simply takes javac some time to compile the generated junk of java sources.

  • Errors when deploy a simple entity ejb module to oc4j 10g?

    I work as following steps:
    1. new project
    2. new Digram-->EJB Diagram
    3. Drag a Entity bean ico to Diagram and name it with Student, then add a id&name column to it.
    4 set the entity-ejb Student's Resource Reference's property: name(MysqlPool),ResourceType(com.mysql.jdbc.Driver),Authentification(Container)
    (in oc4j, I have set the pool connection--MysqlPool)
    5 use command to start oc4j 10.1.3 in jdev10.1.3
    6 In Jdeveloper IDE, select ejb-jar.xml and use right mouse button to call out the menu and then select "Cretae ejb or jar deploy profile", set the deploy platform to my oc4j connection.
    7 select the deploy profile and deploy to my oc4j connection, then errors were reported as following:
    Target platform is Standalone OC4J 10.1.3 (AppServerConnection1).
    Wrote EJB JAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.jar
    Wrote EAR file to D:\jdevj2ee1013\jdev\mywork\Application1\Project1\deploy\ejb1.ear
    Uploading file ...
    Application Deployer for ejb1 STARTS.
    Do not undeploy previous deployment
    Copy the archive to D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear
    Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear begins...
    Unpacking ejb1.ear
    Done unpacking ejb1.ear
    Initialize D:\jdevj2ee1013\j2ee\home\applications\ejb1.ear ends...
    Starting application : ejb1
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb1.jar
    Compiling EJB generated code
    Error while compiling EJB component: D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar
    com.evermind.compiler.CompilationException: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.compilation.EntityBeanCompilation.createTable(EntityBeanCompilation.java:257)
         at com.evermind.server.ejb.compilation.EntityBeanCompilation.preCompile(EntityBeanCompilation.java:318)
         at com.evermind.server.ejb.compilation.Compilation.generateAnyOldStyle(Compilation.java:1728)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:162)
         at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:216)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1197)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
         at com.evermind.server.Application.setConfig(Application.java:299)
         at com.evermind.server.Application.setConfig(Application.java:226)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
         at java.lang.Thread.run(Thread.java:534)
    application : ejb1 is in failed state
    java.lang.InstantiationException: Error initializing ejb-module; Exception
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2285)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1422)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1118)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:200)
         at com.evermind.server.Application.setConfig(Application.java:299)
         at com.evermind.server.Application.setConfig(Application.java:226)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1740)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:403)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:144)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:95)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:299)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.InstantiationException:
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:1226)
         ... 12 more
    Operation failed with error:
    java.lang.InstantiationException: Error initializing ejb-module; Exception
    Error compiling D:\jdevj2ee1013\j2ee\home\applications\ejb1\ejb1.jar: Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
    Deployment failed
    Elapsed time for deployment: 41 seconds
    #### Deployment incomplete. #### 2005-2-15 10:46:02
    what's the meaning about Error finding a suitable DataSource: Error looking up cmt-datasource at jdbc/OracleDS (name not found)?
    I didn't use jdbc/OracleDS Datasource, and I deleted it from config\data-source.xml.
    Is it cause those errors or my operation rong?
    Who can tell me the entity ejb's deploy method&step?

    Yes, now I added a connection pool and a datasource in oc4j, and set the datasource's jndi name to "jdbc/OracleDS".For The connection pool,I use the mysql database.
    Followed the above operation, I repeat the deployment and it deployed successfully.
    Viewed by web-control-for-oc4j, I found jdeveloper automaticly created a datasource and pool for the ejb module.However, the datasource's parameter(connection-factory factory-class="oracle.jdbc.pool.OracleDataSource") is wrong.
    So I open Tools Menu->Preferences menu and setted the Deploy property to "unbundle datasource...".Then I Created a file named data-sources.xml in project and filled out the correct properties.
    After I deploied the ejb-module, I openned the deploied .ear file with winrar to view its contents.I found the factory-class property's value is still wrong which included in data-sources.xml file in Mata-Inf directory,but the property of the data-sources.xml file in .jar file is correct.So, the class factory value of the deploied ejb-application's connection pool still is "oracle.jdbc.pool.OracleDataSource".It couldn't work surely.
    Of course, I can modity the data-sources.xml in .ear file.
    But has some more better method to settle this problem while not manuelly?

  • Unable to run Web App for the 2nd Time

    Hi,
    I am using Weblogic 8.1 sp5 as my deploying platform. Using the official tutorials, I am able to export my JSC2 web app into a WAR file that is deployable on my Weblogic server.
    Upon running the application, it works perfectly. However, upon closing my browser and then restarting the browser, running the web app again yields exceptions, please refer to the bottom.
    What am I doing wrong? I am suspecting the web-app wasn't detroyed properly when another instances of it is started...
    Please advise.
    Adams
    Error 500--Internal Server Error
    com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(Ljavax/faces/context/FacesContext;)V(ViewHandlerImpl.java:601)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:316)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(Ljavax/faces/context/FacesContext;)V(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(Ljavax/faces/event/PhaseId;Lcom/sun/faces/lifecycle/Phase;Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.render(Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FacesServlet.java:198)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(UploadFilter.java:194)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:326)
         at weblogic.servlet.jsp.PageContextImpl.forward(Ljava/lang/String;)V(PageContextImpl.java:150)
         at jsp_servlet.__jscreator_index._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__jscreator_index.java:122)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6985)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    Caused by: java.lang.RuntimeException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Lcom/sun/data/provider/RowKey;)V(CachedRowSetDataProvider.java:343)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(I)Z(CachedRowSetDataProvider.java:300)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount()I(CachedRowSetDataProvider.java:624)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:806)
         at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:429)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowCount()I(TableRowGroup.java:749)
         at com.sun.rave.web.ui.component.Table.getRowCount()I(Table.java:307)
         at com.sun.rave.web.ui.component.Table.getTableActionsTop()Ljavax/faces/component/UIComponent;(Table.java:539)
         at com.sun.rave.web.ui.renderer.TableRenderer.renderActionsTop(Ljavax/faces/context/FacesContext;Lcom/sun/rave/web/ui/component/Table;Ljavax/faces/context/ResponseWriter;)V(TableRenderer.java:257)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(TableRenderer.java:124)
         at javax.faces.component.UIComponentBase.encodeBegin(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:683)
         at com.sun.rave.web.ui.component.Table.encodeBegin(Ljavax/faces/context/FacesContext;)V(Table.java:811)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(Ljavax/faces/component/UIComponent;Ljavax/faces/context/FacesContext;)V(RenderingUtilities.java:78)
         at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(AbstractRenderer.java:194)
         at javax.faces.component.UIComponentBase.encodeChildren(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:701)
         at javax.faces.webapp.UIComponentTag.encodeChildren()V(UIComponentTag.java:607)
         at javax.faces.webapp.UIComponentTag.doEndTag()I(UIComponentTag.java:544)
         at jsp_servlet.__vesselsmovements._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__vesselsmovements.java:1060)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:328)
         at com.sun.faces.context.ExternalContextImpl.dispatch(Ljava/lang/String;)V(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:130)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:311)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(Ljavax/faces/context/FacesContext;)V(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(Ljavax/faces/event/PhaseId;Lcom/sun/faces/lifecycle/Phase;Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.render(Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FacesServlet.java:198)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.microsoft.jdbc.base.BaseExceptions.createException(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/SQLException;(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(ILjava/lang/String;)Ljava/sql/SQLException;(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.validateParameters(Lcom/microsoft/jdbc/base/BaseParameters;)V(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.validateParameters()V(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.preImplExecute()V(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute()V(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal()Ljava/sql/ResultSet;(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery()Ljava/sql/ResultSet;(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery()Ljava/sql/ResultSet;(PreparedStatement.java:124)
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(Ljavax/sql/RowSetInternal;)V(CachedRowSetXReader.java:193)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute(Ljava/sql/Connection;)V(CachedRowSetXImpl.java:950)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute()V(CachedRowSetXImpl.java:1410)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute()V(CachedRowSetDataProvider.java:1219)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Lcom/sun/data/provider/RowKey;)V(CachedRowSetDataProvider.java:329)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(I)Z(CachedRowSetDataProvider.java:300)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount()I(CachedRowSetDataProvider.java:624)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:806)
         at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:429)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowCount()I(TableRowGroup.java:749)
         at com.sun.rave.web.ui.component.Table.getRowCount()I(Table.java:307)
         at com.sun.rave.web.ui.component.Table.getTableActionsTop()Ljavax/faces/component/UIComponent;(Table.java:539)
         at com.sun.rave.web.ui.renderer.TableRenderer.renderActionsTop(Ljavax/faces/context/FacesContext;Lcom/sun/rave/web/ui/component/Table;Ljavax/faces/context/ResponseWriter;)V(TableRenderer.java:257)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(TableRenderer.java:124)
         at javax.faces.component.UIComponentBase.encodeBegin(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:683)
         at com.sun.rave.web.ui.component.Table.encodeBegin(Ljavax/faces/context/FacesContext;)V(Table.java:811)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(Ljavax/faces/component/UIComponent;Ljavax/faces/context/FacesContext;)V(RenderingUtilities.java:78)
         at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(AbstractRenderer.java:194)
         at javax.faces.component.UIComponentBase.encodeChildren(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:701)
         at javax.faces.webapp.UIComponentTag.encodeChildren()V(UIComponentTag.java:607)
         at javax.faces.webapp.UIComponentTag.doEndTag()I(UIComponentTag.java:544)
         at jsp_servlet.__vesselsmovements._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__vesselsmovements.java:1060)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)

    Well, I have solve this problem myself.. apparently, I used static variables to initalise the app. Changing the static variables to session variables solved the problems.

  • Can't start mysql

    when I type "rc.d start mysqld" it displays busy for a while, then fails. At this point it does not generate an error message. I have changed the permissions of /var/lib/mysql recursively to 777. I have also created the mysqld directory in /var/run and given it 777 permissions. I hope I have included all the relevant files. 
    I have read every suggestion on the internet and gotten nowhere. Please help a noobus out. Thanks in advance.
    /var/lib/mysql/localhost.err
    120115 01:11:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    120115 1:11:48 [Warning] One can only use the --user switch if running as root
    120115 1:11:48 InnoDB: The InnoDB memory heap is disabled
    120115 1:11:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
    120115 1:11:48 InnoDB: Compressed tables use zlib 1.2.5
    120115 1:11:48 InnoDB: Initializing buffer pool, size = 128.0M
    120115 1:11:48 InnoDB: Completed initialization of buffer pool
    120115 1:11:48 InnoDB: highest supported file format is Barracuda.
    120115 1:11:50 InnoDB: Waiting for the background threads to start
    120115 1:11:51 InnoDB: 1.1.8 started; log sequence number 1595675
    120115 1:11:51 [ERROR] Can't start server : Bind on unix socket: Permission denied
    120115 1:11:51 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
    120115 1:11:51 [ERROR] Aborting
    120115 1:11:51 InnoDB: Starting shutdown...
    120115 1:11:51 InnoDB: Shutdown completed; log sequence number 1595675
    120115 1:11:51 [Note] /usr/bin/mysqld: Shutdown complete
    120115 01:11:51 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.pid ended
    /etc/rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=()
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="localhost"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # broadcast=192.168.0.255
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    interface=eth0
    address=
    netmask=
    broadcast=
    gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    NETWORKS=(menu)
    WIRELESS_INTERFACE="wlan0"
    WIRED_INTERFACE="ethO"
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If something other takes care of your hardware clock (ntpd, dual-boot...)
    # you should disable 'hwclock' here.
    DAEMONS=(hwclock syslog-ng @network crond net-auto-wired dbus acpid)
    /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost
    #::1 localhost.localdomain localhost
    # End of file
    /etc/mysql/my.cnf
    # MySQL config file for medium systems.
    # This is for a system with little memory (32M - 64M) where MySQL plays
    # an important part, or systems up to 128M where MySQL is used together with
    # other programs (such as a web server)
    # MySQL programs look for option files in a set of
    # locations which depend on the deployment platform.
    # You can copy this option file to one of those
    # locations. For information about these locations, see:
    # http://dev.mysql.com/doc/mysql/en/option-files.html
    # In this file, you can use all long options that a program supports.
    # If you want to know which options a program supports, run the program
    # with the "--help" option.
    # The following options will be passed to all MySQL clients
    [client]
    #password = your_password
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    datadir = /var/lib/mysql
    skip-external-locking
    key_buffer_size = 16M
    max_allowed_packet = 1M
    table_open_cache = 64
    sort_buffer_size = 512K
    net_buffer_length = 8K
    read_buffer_size = 256K
    read_rnd_buffer_size = 512K
    myisam_sort_buffer_size = 8M
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    # if all processes that need to connect to mysqld run on the same host.
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    # Note that using this option without enabling named pipes on Windows
    # (via the "enable-named-pipe" option) will render mysqld useless!
    skip-networking
    # Replication Master Server (default)
    # binary logging is required for replication
    log-bin=mysql-bin
    # binary logging format - mixed recommended
    binlog_format=mixed
    # required unique id between 1 and 2^32 - 1
    # defaults to 1 if master-host is not set
    # but will not function as a master if omitted
    server-id = 1
    # Replication Slave (comment out master section to use this)
    # To configure this host as a replication slave, you can choose between
    # two methods :
    # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
    # the syntax is:
    # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
    # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
    # where you replace <host>, <user>, <password> by quoted strings and
    # <port> by the master's port number (3306 by default).
    # Example:
    # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
    # MASTER_USER='joe', MASTER_PASSWORD='secret';
    # OR
    # 2) Set the variables below. However, in case you choose this method, then
    # start replication for the first time (even unsuccessfully, for example
    # if you mistyped the password in master-password and the slave fails to
    # connect), the slave will create a master.info file, and any later
    # change in this file to the variables' values below will be ignored and
    # overridden by the content of the master.info file, unless you shutdown
    # the slave server, delete master.info and restart the slaver server.
    # For that reason, you may want to leave the lines below untouched
    # (commented) and instead use CHANGE MASTER TO (see above)
    # required unique id between 2 and 2^32 - 1
    # (and different from the master)
    # defaults to 2 if master-host is set
    # but will not function as a slave if omitted
    #server-id = 2
    # The replication master for this slave - required
    #master-host = <hostname>
    # The username the slave will use for authentication when connecting
    # to the master - required
    #master-user = <username>
    # The password the slave will authenticate with when connecting to
    # the master - required
    #master-password = <password>
    # The port the master is listening on.
    # optional - defaults to 3306
    #master-port = <port>
    # binary logging - not required for slaves, but recommended
    #log-bin=mysql-bin
    # Uncomment the following if you are using InnoDB tables
    #innodb_data_home_dir = /var/lib/mysql
    #innodb_data_file_path = ibdata1:10M:autoextend
    #innodb_log_group_home_dir = /var/lib/mysql
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 16M
    #innodb_additional_mem_pool_size = 2M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 5M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
    [myisamchk]
    key_buffer_size = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [mysqlhotcopy]
    interactive-timeout

    Hi,
    I seem to have had an issue with mysql as well and it appears to be that I don't have a sock file as I have checked /var/run/mysqld for mysqld.sock and it does not exist so would that be what is stopping mysql server from starting and if so how do I create the sock file ??
    Cheers
    Quazza
    Update - Actually I solved my problem to, it was to do with my log files filling up but that also led to the bigger problem of a failing HD oh what fun anyway got there before any major data loss. 
    Last edited by quazza (2012-01-20 08:09:26)

  • Oracle10g Applicatin Server 소개 (교육교재1장)

    Objectives
    The Oracle Application Server solution areas and product components are discussed to explain the installation type that are necessary for your business goals. The key solution areas addressed by Oracle Application Server are as follows:
    •     J2EE, Web services, and Internet applications
    •     Creating personalized portals
    •     Wireless-enabled applications
    •     Accelerating performance with caching
    •     Providing Business Intelligence for the Web
    •     Managing and securing Web infrastructure
    Oracle Application Server: Overview
    Oracle Application Server is a complete and integrated platform to develop, deploy, and administer Internet-based applications. Oracle Application Server addresses the following solution areas:
    HTTP Server, J2EE, and Web Services
    •     The Oracle HTTP Server functions as the HTTP interface for all the Oracle Application Server components.
    •     Oracle Application Server is built on the J2EE framework. It enables you to design, develop, and deploy dynamic Web sites, portals, and transactional applications by using familiar languages and technologies.
    •     Oracle Application Server also provides comprehensive Web services to expose business functions to authorized parties over the Internet from any Web device.
    Portals
    •     You can use Oracle Application Server to build, deploy, and maintain self-service and integrated enterprise portals. Oracle Application Server enables self-service content management and publishing, wizard-based development, and deploying, publishing, and consuming Web services on an extensible framework.
    Oracle Application Server: Overview (continued)
    Wireless
    •     OracleAS Wireless provides a simplified development and deployment of applications in a wireless environment. In addition, OracleAS Wireless includes wireless services, such as e-mail and location-based services that simplify wireless-enabling applications and portals.
    Caching
    •     OracleAS provides a Web caching solution with the unique capability of caching both static and dynamically generated Web content. OracleAS Web Cache significantly improves the performance and scalability of heavily loaded Web sites. In addition, the Web cache provides a number of features to ensure consistent and predictable responses. These features include page fragment caching, Edge Side Includes (ESI) and Edge Side Includes for Java (JESI) support, compression, dynamic content assembly, Web server load balancing, Web cache clustering, and failover.
    Business Intelligence
    •     Using the Oracle Application Server business intelligence features, you can dynamically serve personalized content recommendations to both registered and anonymous visitors as they browse your site; perform dynamic, ad hoc query reporting and analysis using a standard Web browser; and publish high-quality, dynamically generated reports on a scalable, secure platform.
    Integration
    •     Using Oracle Application Server, you can integrate enterprise applications, trading partners, and Web services, and provide query and transaction access to many non-Oracle data sources.
    Availability and Scalability
    •     Oracle Application Server provides a flexible deployment model that allows you to architect your system for high availability and scalability.
    Management and Security
    •     Oracle Application Server provides a set of management facilities to simplify Web site administration. You can:
    -     Use the Application Server Control to configure and monitor OracleAS instances to optimize them for performance and scalability. When you need to use the command line interfaces, you can use DCMCTL to perform configuration management, and OPMNCTL to perform process management.
    -     Use encrypted secure sockets layer (SSL) connections, user and client certificate-based authentication, and single sign-on across all applications
    -     Implement an LDAP directory that provides a single repository and administration environment for user accounts
    OracleAS Middle-Tier Components and Solutions
    Oracle Application Server provides several components that help you develop, deploy, and administer your Internet-based applications. These components and the solution areas they address are highlighted in the slide. In this lesson, you will be introduced to some of the important components of Oracle Application Server such as Oracle HTTP Server, OracleAS Containers, OracleAS Web Cache.
    Later in the course, you will also learn about Oracle Application Server components that are used to administer Oracle Application Server, such as OracleAS Infrastructure, OracleAS Process Monitoring and Notification System, and Distributed Configuration Manager.
    OracleAS MapViewer is a J2EE service for rendering maps using spatial data that is managed by Oracle Spatial.
    Oracle Application Server Terminology
    OracleAS Installation     The set of executables and configuration files that are created at the time of OracleAS installation
    OracleAS Instance     An operational OracleAS installation that runs some of the OracleAS components such as OHS, OC4J, etc.
    OracleAS Infrastructure     A combination of Metadata Repository, directory server, and Single Sign-On server
    Metadata Repository     A preseeded Oracle database that contains metadata required by Oracle Application Server instances
    Directory Server     Defines a hierarchical view of an organization’s employees, units, and other resources
    OracleAS Farm     A collection of OracleAS instances sharing the same configuration repository. The repository can be OracleAS Metadata Repository or a file-based repository.
    OracleAS Cluster     A collection of OracleAS Instances in the same Farm, with identical application deployments and functioning as a single unit.
    Oracle HTTP Server
    Oracle HTTP Server (OHS) is the underlying deployment platform and provides a Web listener for OracleAS Containers for J2EE (OC4J) and the framework for hosting static and dynamic pages and applications over the Web. Oracle HTTP Server is based on Apache, and has been enhanced with the following additional modules:
    •     mod_plsql: Routes requests for stored procedures to the database server
    •     mod_perl: Routes PERL requests to the PERL interpreter
    •     mod_fastcgi: Supports persistent CGI processes
    •     mod_oc4j: Routes communication between Oracle HTTP Server and OracleAS Containers for Java (OC4J)
    •     mod_oradav: Supports file- as well as database-distributed authoring and versioning
    •     mod_ossl: Enables strong cryptography for Oracle HTTP Server, and enables the server to use SSL.
    •     mod_osso: Routes requests to the Single Sign-On server
    This is not a complete list, and some of the modules will be discussed in detail later.
    With Oracle Application Server, developers can choose familiar languages and technology to build Web sites and applications, including Java, XML, PL/SQL, PERL, C, C++, and Distributed Authoring and Versioning (DAV).
    OracleAS Containers for J2EE
    The J2EE platform that is provided in Oracle Application Server uses a multi-tiered distributed application model that divides application logic into components according to function.
    A container provides the run-time support for J2EE application components. Containers provide a federated view of the underlying J2EE APIs to the application components.
    OracleAS Containers for J2EE (OC4J) is a J2EE server implementation that runs on a standard Java Virtual Machine (JVM). OC4J has the following J2EE containers:
    •     The Web Container that has:
    -     A servlet container
    -     A JSP container
    •     An EJB container that has
    -     Session Beans
    -     Entity Beans
    -     Message-Driven Beans
    The J2EE concepts are further explained in Appendix D.
    OracleAS Web Services
    You can use Web Services to expose your applications in a manner you choose so that they can receive formatted instructions over the Web.
    A Web service is a discrete business process that:
    •     Exposes and describes its functionality and attributes in Web Services Description Language (WSDL)
    •     Uses the Universal Description, Discovery and Integration (UDDI) registries to allow other services to locate a service on the Web such as the translation or currency converter service
    •     Allows remote services to invoke a service using standard Internet protocols
    •     Returns a response to the requesting application over the same protocol
    OracleAS Web Services provide support for developing and deploying Web services.
    OracleAS Web Services run as servlets in the OC4J servlet container. OracleAS Web Services support both Remote Procedure Call (RPC) style exchange and message-oriented, or Document Style exchange.
    OracleAS Enterprise Portal
    Portals allow clients to access information through any Web browser. This information usually comes from different data sources that the portal combines into a single entry point. Portals also support personalized views, so that each user or user group can customize both the content and the appearance of the portal to suit individual preferences and requirements.
    OracleAS Portal is a Web-based tool for building and deploying e-business portals. It provides a secure, manageable environment for accessing and interacting with enterprise software services and information resources. It enables you to efficiently manage, access, and interact with information by enabling you to create portal pages.
    OracleAS Portal has an extensible framework that integrates information components called portlets. The portlets are Web-based resources such as Web pages, applications, business intelligence reports, and syndicated content feeds within standardized, reusable information components.
    OracleAS Portal interface provides an organized, consistent view of the business information, Web content, and applications that each user needs.
    OracleAS Portal self-service publishing features allow authorized users to post and share any kind of document or Web content with other users anywhere in the world.
    Wireless-Enabled Applications
    Mobile users increasingly rely on wireless devices for communication while away from the office. OracleAS Wireless enables enterprises and service providers to efficiently build, manage, and maintain wireless and voice applications. OracleAS Wireless also provides:
    •     Geographic modeling that turns existing applications into location-based applications
    •     E-mail and directory modules to access corporate e-mail and directory applications:
    -     mWallet supports mobile commerce transactions and tracking.
    -     Mobile E-mail supports accessing IMAP and POP e-mail.
    -     Mobile Directory supports access to LDAP directories.
    -     Mobile Calendar provides schedule and appointment management.
    -     Instant Messaging supports exchanging instant messages from mobile devices.
    •     Open platform standards for simple development and easy integration with existing applications
    •     Tools to turn applications into voice applications accessible from non-Web phones
    -     Service Designer helps developers manage applications.
    -     Content Development Tool helps the end user to increase his mobile experience.
    -     Help Desk provides support to end users.
    -     System Monitor helps manage the OracleAS Wireless environment.
    OracleAS Reports Services
    Developers can build and publish sophisticated, high-quality reports from any source, with unlimited data formatting, and deploy them seamlessly on Oracle Application Server.
    Both developers and users can access OracleAS Reports Services from any browser, because all report definition files are stored on the OracleAS middle-tier. Reports Services leverages middle-tier load balancing and caching to provide high volumes of reports, without excessive demands on limited resources.
    Users can also link to published reports from OracleAS Portal. Depending on the report configuration, it can be generated on demand or scheduled for a specific time or at a specific interval and stored on the middle tier for rapid retrieval.
    Reports Services can generate reports in HTML for Web publishing, in PDF to enable high-quality viewing and printing, or in XML to communicate data to XML-aware tools or Web sites.
    Regardless of format, OracleAS can ensure secure distribution of reports by allowing only specific database roles to access the report, and validating user credentials against a Single Sign-On server and Oracle Internet Directory (OID).
    OracleAS Discoverer
    OracleAS Discoverer is a tool with an ad hoc query, reporting, analysis, and Web publishing capabilities. Discoverer works with any OLTP or data warehouse and supports Oracle Applications.
    With Discoverer, business users at all levels of the organization can gain immediate access to information from data marts, data warehouses, and online transaction processing (OLTP) systems. You can rapidly view information in customizable summary formats, drill down to detail views, and perform complex calculations on data, including analytic functions available in the Oracle database.
    OracleAS Discoverer is available in two types of clients:
    •     Discoverer Plus, which runs as a Java applet and features user-defined queries and reports
    •     Discoverer Viewer, which runs in a browser and provides casual users with access to predefined queries and drill-down reports
    OracleAS Web Cache
    OracleAS Web Cache functions as a front end for the application servers. The first time that OracleAS Web Cache receives an HTTP or HTTPS request, it forwards the request to an HTTP server for processing. Web Cache stores the response in memory based the defined caching rules so that it can respond directly to future requests.
    Web Cache understands HTTP headers, including cookies, and makes caching decisions based on administrator or application-defined rules.
    To invalidate the cache, administrators can specify expiration policies or applications can send an HTTP invalidation message.
    Deploying the Web cache before a farm of application or HTTP servers enables clustering, surge protection, and Web server load balancing, so that cache misses are directed to the most available, highest-performing origin Web server.
    Accelerating Performance with Caching
    OracleAS Web Cache can render the service from a Web site faster by reducing unnecessary hits on the other middle-tier and back-end components.
    Furthermore, deploying Web Cache helps to reduce your hardware and administration costs. In a distributed environment, you can deploy Web Cache on machines at remote sites instead of deploying multiple HTTP servers. As a result, many requests can be handled locally by Web Cache, avoiding middle-tier and back-end processing, as well as slower throughput on WANs.
    Web Cache accelerates delivery of both static and dynamic contents.
    Web Cache also provides load balancing, by distributing cache miss requests according to the relative capacity of each HTTP server.
    Multiple instances of Web Cache, called cluster members, can operate as one logical cache. They communicate with one another to request cacheable content that is cached by another cache cluster member and to detect when a cache cluster member fails.
    To enable cache clusters to function as a single unit, you need to setup a load balancer.
    Oracle Application Server Management
    The primary tool for managing Oracle Application Server, as well as your entire Oracle environment, is Oracle Application Server.
    The Oracle Enterprise Manager Application Server Control is installed with every instance of Oracle Application Server and immediately provides you with the management tools that you need to monitor and administer a single Oracle Application Server instance, a farm of application server instances, or an Oracle Application Server cluster.
    In addition to Oracle Enterprise Manager, Oracle Application Server provides command-line interfaces to several key management technologies. The command-line tools can help you automate your management procedures with scripts and custom utilities. The two most important command-line tools are the following:
    •     opmnctl, which provides a command-line interface to Oracle Process Management Notification (OPMN)
    •     dcmctl, which provides a command-line interface to Distributed Configuration Management (DCM)
    OracleAS Infrastructure
    OracleAS Infrastructure provides centralized services that are related to the product metadata, identity management, and configuration management.
    OracleAS Infrastructure provides centralized identity management services, configuration information, and data repositories for middle-tier installations. The key features that middle-tier instances typically use are the following:
    •     Product Metadata Service: Product Metadata Service provides all of the metadata that the middle-tier instances require. It is bundled as part of the OracleAS Infrastructure. Product Metadata is looked up by middle-tier OracleAS instances for the successful execution of applications. Product metadata is not accessed directly by the customer applications.
    •     Security Service: Security Service provides a consistent security model for all Oracle Application Server applications. It also provides a single source of identity metadata that contains all administration and user privileges.
    Oracle Internet Directory and Security
    Oracle Internet Directory (OID) is an LDAP server that can be used to store all of the credentials required for the enterprise. Oracle Internet Directory offers comprehensive and flexible support for directory access control. This includes entry-level, attribute-level, and prescriptive access control, to provide varying levels of security to fit enterprise and service provider needs.
    OID implements three levels of user authentication:
    •     Anonymous
    •     Password-based
    •     Certificate-based, using secure sockets layer (SSL) for authenticated access and data privacy
    The Web-based Delegated Administration Service (DAS) enables application administrators to delegate user management tasks such as granting or restricting access to a specific directory attribute, entry, group, or naming context to application users.
    After OID is deployed, organizations can use OracleAS Single Sign-On to provide a single point of validation for user credentials. After users sign on successfully, their credentials are automatically retrieved from OID when they launch any Oracle partner application.
    Securing the Web Infrastructure
    For network encryption and authentication, Oracle Application Server provides a comprehensive suite of security services, including OracleAS Single Sign-On. The Single Sign-On server validates user credentials against Oracle Internet Directory, an LDAP directory service.
    Also, secure sockets layer (SSL) encryption can be used to protect these transactions against malicious intrusion.
    Oracle Application Server: Quick Tour
    A good starting point to get familiar with and learn about features of Oracle Application Server is to access the Quick Tour. You can find the Quick Tour in the Oracle Application Server documentation library. The Oracle Application Server documentation library is available:
    •     On a separate CD in the Oracle Application Server CD pack
    •     On Oracle Technology Network Web site at http://otn.oracle.com/products/ias/index.html

    Nice, am I coming in here to read the English docs again?

  • [resolved] Can not install mysql

    Oooops, I fixed it. Somehow /tmp had wrong permissions..
    Hello,
    after an upgrade my mysql dameon did not work anymore so I did what https://bbs.archlinux.org/viewtopic.php?pid=889846 says and removed all configs and removed it.
    Now pacman -S mysql gives my this
    # pacman -S mysql
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): mysql-5.5.11-1
    Total Download Size: 0.00 MB
    Total Installed Size: 62.59 MB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [################################################] 100%
    (1/1) checking for file conflicts [################################################] 100%
    (1/1) installing mysql [################################################] 100%
    Installing MySQL system tables...
    ERROR: 1 Can't create/write to file '/tmp/#sql_1d4d_0.MYI' (Errcode: 13)
    110503 9:20:58 [ERROR] Aborting
    110503 9:20:58 [Note] /usr/bin/mysqld: Shutdown complete
    Installation of system tables failed! Examine the logs in
    /var/lib/mysql for more information.
    You can try to start the mysqld daemon with:
    shell> /usr/bin/mysqld --skip-grant &
    and use the command line tool /usr/bin/mysql
    to connect to the mysql database and look at the grant tables:
    shell> /usr/bin/mysql -u root mysql
    mysql> show tables
    Try 'mysqld --help' if you have problems with paths. Using --log
    gives you a log in /var/lib/mysql that may be helpful.
    Please consult the MySQL manual section
    'Problems running mysql_install_db', and the manual section that
    describes problems on your OS. Another information source are the
    MySQL email archives available at http://lists.mysql.com/.
    Please check all of the above before mailing us! And remember, if
    you do mail us, you MUST use the /usr/scripts/mysqlbug script!
    Optional dependencies for mysql
    perl-dbi
    perl-dbd-mysql
    The hostname.err contains
    110503 09:29:53 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    110503 9:29:53 InnoDB: The InnoDB memory heap is disabled
    110503 9:29:53 InnoDB: Mutexes and rw_locks use GCC atomic builtins
    110503 9:29:53 InnoDB: Compressed tables use zlib 1.2.5
    /usr/bin/mysqld: Can't create/write to file '/tmp/ibwoHE0m' (Errcode: 13)
    110503 9:29:54 InnoDB: Error: unable to create temporary file; errno: 13
    110503 9:29:54 [ERROR] Plugin 'InnoDB' init function returned error.
    110503 9:29:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    110503 9:29:54 [ERROR] Unknown/unsupported storage engine: InnoDB
    110503 9:29:54 [ERROR] Aborting
    110503 9:29:54 [Note] /usr/bin/mysqld: Shutdown complete
    110503 09:29:54 mysqld_safe mysqld from pid file /var/lib/mysql/icarus.pid ended
    And my my.cnl (I didnt touch it)
    1 # MySQL config file for medium systems.
    2 #
    3 # This is for a system with little memory (32M - 64M) where MySQL plays
    4 # an important part, or systems up to 128M where MySQL is used together with
    5 # other programs (such as a web server)
    6 #
    7 # MySQL programs look for option files in a set of
    8 # locations which depend on the deployment platform.
    9 # You can copy this option file to one of those
    10 # locations. For information about these locations, see:
    11 # http://dev.mysql.com/doc/mysql/en/option-files.html
    12 #
    13 # In this file, you can use all long options that a program supports.
    14 # If you want to know which options a program supports, run the program
    15 # with the "--help" option.
    16
    17 # The following options will be passed to all MySQL clients
    18 [client]
    19 #password = your_password
    20 port = 3306
    21 socket = /var/run/mysqld/mysqld.sock
    22
    23 # Here follows entries for some specific programs
    24
    25 # The MySQL server
    26 [mysqld]
    27 port = 3306
    28 socket = /var/run/mysqld/mysqld.sock
    29 datadir = /var/lib/mysql
    30 skip-external-locking
    31 key_buffer_size = 16M
    32 max_allowed_packet = 1M
    33 table_open_cache = 64
    34 sort_buffer_size = 512K
    35 net_buffer_length = 8K
    36 read_buffer_size = 256K
    37 read_rnd_buffer_size = 512K
    38 myisam_sort_buffer_size = 8M
    39
    40 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    41 # if all processes that need to connect to mysqld run on the same host.
    42 # All interaction with mysqld must be made via Unix sockets or named pipes.
    43 # Note that using this option without enabling named pipes on Windows
    44 # (via the "enable-named-pipe" option) will render mysqld useless!
    45 #
    46 skip-networking
    47
    48 # Replication Master Server (default)
    49 # binary logging is required for replication
    50 log-bin=mysql-bin
    51
    52 # binary logging format - mixed recommended
    53 binlog_format=mixed
    54
    55 # required unique id between 1 and 2^32 - 1
    56 # defaults to 1 if master-host is not set
    57 # but will not function as a master if omitted
    58 server-id = 1
    59
    60 # Replication Slave (comment out master section to use this)
    61 #
    62 # To configure this host as a replication slave, you can choose between
    63 # two methods :
    64 #
    65 # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
    66 # the syntax is:
    67 #
    68 # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
    69 # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
    70 #
    71 # where you replace <host>, <user>, <password> by quoted strings and
    72 # <port> by the master's port number (3306 by default).
    73 #
    74 # Example:
    75 #
    76 # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
    77 # MASTER_USER='joe', MASTER_PASSWORD='secret';
    78 #
    79 # OR
    80 #
    81 # 2) Set the variables below. However, in case you choose this method, then
    82 # start replication for the first time (even unsuccessfully, for example
    83 # if you mistyped the password in master-password and the slave fails to
    84 # connect), the slave will create a master.info file, and any later
    85 # change in this file to the variables' values below will be ignored and
    86 # overridden by the content of the master.info file, unless you shutdown
    87 # the slave server, delete master.info and restart the slaver server.
    88 # For that reason, you may want to leave the lines below untouched
    89 # (commented) and instead use CHANGE MASTER TO (see above)
    90 #
    91 # required unique id between 2 and 2^32 - 1
    92 # (and different from the master)
    93 # defaults to 2 if master-host is set
    94 # but will not function as a slave if omitted
    95 #server-id = 2
    96 #
    97 # The replication master for this slave - required
    98 #master-host = <hostname>
    99 #
    100 # The username the slave will use for authentication when connecting
    101 # to the master - required
    102 #master-user = <username>
    103 #
    104 # The password the slave will authenticate with when connecting to
    105 # the master - required
    106 #master-password = <password>
    107 #
    108 # The port the master is listening on.
    109 # optional - defaults to 3306
    110 #master-port = <port>
    111 #
    112 # binary logging - not required for slaves, but recommended
    113 #log-bin=mysql-bin
    114
    115 # Uncomment the following if you are using InnoDB tables
    116 #innodb_data_home_dir = /var/lib/mysql
    117 #innodb_data_file_path = ibdata1:10M:autoextend
    118 #innodb_log_group_home_dir = /var/lib/mysql
    119 # You can set .._buffer_pool_size up to 50 - 80 %
    120 # of RAM but beware of setting memory usage too high
    121 #innodb_buffer_pool_size = 16M
    122 #innodb_additional_mem_pool_size = 2M
    123 # Set .._log_file_size to 25 % of buffer pool size
    124 #innodb_log_file_size = 5M
    125 #innodb_log_buffer_size = 8M
    126 #innodb_flush_log_at_trx_commit = 1
    127 #innodb_lock_wait_timeout = 50
    128
    129 [mysqldump]
    130 quick
    131 max_allowed_packet = 16M
    132
    133 [mysql]
    134 no-auto-rehash
    135 # Remove the next comment character if you are not familiar with SQL
    136 #safe-updates
    137
    138 [myisamchk]
    139 key_buffer_size = 20M
    140 sort_buffer_size = 20M
    141 read_buffer = 2M
    142 write_buffer = 2M
    143
    144 [mysqlhotcopy]
    145 interactive-timeout
    I can't start mysql daemon, it says "FAIL"
    Last edited by cyberius (2011-05-03 08:35:56)

    hi DILIPDKJ,
    Just to verify, is this the PowerDVD software that you're trying to install?
    PowerDVD 10 BD
    v10.0.3029.52
    IN12STW153WW5.exe
    114 MB
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • AIA support for multiple brands implemented in multiple instances of Siebel

    Good Day!
    I would like to ask whether AIA has the capability to support multiple brands in terms of multiple instances of Siebel and BRM.
    I have a client wherein they have a scenario of:
    1.) To launch 4 different brands which contain multiple services and it has been decided that anything that holds customer specific data should be all in a separate instance (which would cover SIEBEL, BRM etc.)
    2.) It is also a plan to have systems which only contain transactional data (mainly transient information) to have a central deployment platform (This would typically include OSM and AIA)
    I've heard that this is possible with AIA but with heavy customization is required to be done. In case for customization, are there any white paper / documentation which talks about this?
    So to summarize, here are the key questions:
    -- Support of AIA to integrate multiple instances of Siebel, multiple instances of OBRM and single instance of OSM
    -- Does AIA PIPS (mainly O2C, AABC) support data models (account, subscription, etc.,) of different services like 2G, 3G, LTE and Enterprise
    -- Does AIA support more than 2 level hierarchies
    -- Does AIA support charge redirection within the hierarchy
    -- Does AIA PIPS support different MACD scenarios like suspend, resume, account movement within & across hierarchies especially for Enterprise Services?
    Regards,
    Jeff

    First off - Have no knowledge of ERPi - Just googled it.
    If its any help, we have multiple instances of EBS on the same box, we have seperate DWH (and ODI Work / Master Repos) environments aligned to these instances. An ODI Agent can only communicate with one ODI Work repository, hence we have Multiple Agents so we can use the EBIZ -> DWH pairs simultaneasouly.
    Maybe someone will come along and tell us how it could work differently, until then - its works for us!

Maybe you are looking for