Replicating files across managed servers

          Hi there,
          I have a clustered environment with say 3 managed servers. One of the managed
          server (e.g. A) will try to download some files from a remote location periodically
          (for caching purposes).
          So, when a client tries to connect to the cluster (any of the managed server depending
          on the load balancer), I am supposed to serve the files to the client. My question
          is, say for e.g. server A downloaded the files to save in its local directory,
          how do I make these files replicated to other server as well. Or, how do I automatically
          direct the client to server A only when fetching the document is required?
          Suggestions? Many thanks in advance....
          

          Hi Oscar,
          Many thanks for your feedback and solution, I could give it a try... :)
          "Oscar Cristobal" <[email protected]> wrote:
          >
          >Hi.
          >I had pretty the same problem.
          >In my application, users can upload images.
          >If these images are in server 1, and one user tries to access these images
          >from
          >server 2, we get the same problem.
          >So we solved the situation like follows:
          >1.- When a user uploads an image, this image is saved in database.
          >2.- There is a daemon, running in every server, that checks (every 30secs)
          >if
          >there is any image in the database that is not at the server. If not,
          >it downloads
          >the image from the database. After all, it registers at the database
          >that server
          >X got the image.
          >3.- When all servers downloaded the image, daemon deletes it from the
          >database.
          >
          >That is my solution. I dont know if it can be used by you, because maybe
          >this
          >solution is only ok for low number of file updates.
          >I would like to know if somebody can provide some better solution.
          >
          >Thanks in advance
          >Oscar Cristobal
          >
          >
          >"Stephen S." <[email protected]> wrote:
          >>
          >>Hi there,
          >>
          >>I have a clustered environment with say 3 managed servers. One of the
          >>managed
          >>server (e.g. A) will try to download some files from a remote location
          >>periodically
          >>(for caching purposes).
          >>
          >>So, when a client tries to connect to the cluster (any of the managed
          >>server depending
          >>on the load balancer), I am supposed to serve the files to the client.
          >>My question
          >>is, say for e.g. server A downloaded the files to save in its local
          >directory,
          >>how do I make these files replicated to other server as well. Or, how
          >>do I automatically
          >>direct the client to server A only when fetching the document is required?
          >>
          >>Suggestions? Many thanks in advance....
          >
          

Similar Messages

  • WAR files on managed servers

    I have a question about placing new war files in production. First, why
    does WebLogic recommend AGAINST using auto-deploy in production? Is it
    for security or stability and what are those arguements?
    Second, do I need to move the actual war file to the managed servers
    (seperate hardware from the domain admin)? Does it always read the war
    file from the domain admin, or will it also read it from it's local
    disk? If it does also read locally, which one would take priority? I am
    looking for the most reliable way to move new war files into production,
    but I do not want to be manually moving files around to the managed
    servers if they are never being used.

    Another option, although not near as good as a stand-alone tool, I think you could put in the WSDL address for a particular managed server in the Admin Consoles test client. For example, on my machine with the example's server, that is bound to http://localhost:7001/wls_utc/
    The one issue might be if you front-end address that gets put in your WSDL doesn't match the managed server that you want to test, then you might need to edit it first, which is probably a pain.
    The test client used to be a stand alone deployment (at least I think it was in the 9.2 days), but it appears to be part of an internal application now from the docs:
    http://edocs.bea.com/wls/docs103/deployment/managing.html#wp1021614

  • How to deploy config files to managed servers

    We have several configuration files that are used by our EJB application at
    startup. Is there a way to automatically deploy these configuration files
    to the managed servers. Right now, we are forced to FTP to files over to
    the managed servers as part of the deployment process. It would be nice if
    there were an easier way.
    Randy Ott

    why cant you include them inside your ejbjar as resource files ?
    prasen
    Nitin Shenoy wrote:
    >
    Guess no one replied!!
    "Randy Ott" <[email protected]> wrote in message
    news:3b67022e$[email protected]..
    We have several configuration files that are used by our EJB applicationat
    startup. Is there a way to automatically deploy these configuration files
    to the managed servers. Right now, we are forced to FTP to files over to
    the managed servers as part of the deployment process. It would be niceif
    there were an easier way.
    Randy Ott

  • Transactions across managed servers

              I have 2 managed servers S1 and S2. The Tx datasources (e.g. D1 and D2) in S1
              and S2 are different, with D1 deployed in S1 and D2 deployed in S2. Both Tx datasources
              shares the same db connection (Oracle). The EJB in S2 has the transaction attribute
              set as 'Required'. When a call is made within a JTA from S1 to an EJB residing
              in S2 (S1 begins a UserTransaction, makes a call to S2 and then tries to commit
              the transaction), I get the HeuristicMixedException. If the Tx attribute in S2
              changed to "NotSupported" or "RequiresNew", the exception disappears. What is
              going wrong here? Here is stack trace:
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],Xid=6:91439762e5aa8158(3104694),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since
              begin=1,seconds left=119,activeThread=Thread[ExecuteThread: '8' for queue:
              'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committed
              ,assigned=sbmejbServer),SCInfo[sbm4.0+sbmejbServer]=(state=committed),SCInfo [sbm4.0+sbmServer]=(state=committed),properties=({weblogic.transaction.name=
              [EJB com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.10.102.142:5134}),OwnerTransactionManager =ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm
              4.0+,
              Resources={})],CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm4.0+)
              completed heuristically:
              null>
              <Dec 17, 2002 6:36:16 AM PST> <Error> <EJB> <Exception
              during commit of
              transaction Name=[EJB com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],Xid=6:91439762e5aa8158(3104694),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since begin=1,seconds left=119,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committed,assigned=sbmejbServer),SCInfo[sbm4.0+sbmejbServer]=(state=committed),SCInfo[sbm4.0+sbmServer]=(state=committed),properties=({weblogic.transaction.name=[EJB
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.10.102.142:5134}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm
              4.0+, Resources{})],CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm4.0+):
              javax.transaction.HeuristicMixedException
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:236)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
              at
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean_fztxfh_EOImpl.
              connect(BLServerBean_fztxfh_EOImpl.java:4076)
              at
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean_fztxfh_EOImpl_
              WLSkel.invoke (Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
              at
              weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274) at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteR
              equest.java:22)
              at
              weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              I have 2 managed servers S1 and S2. The Tx datasources (e.g. D1 and D2) in S1
              and S2 are different, with D1 deployed in S1 and D2 deployed in S2. Both Tx datasources
              shares the same db connection (Oracle). The EJB in S2 has the transaction attribute
              set as 'Required'. When a call is made within a JTA from S1 to an EJB residing
              in S2 (S1 begins a UserTransaction, makes a call to S2 and then tries to commit
              the transaction), I get the HeuristicMixedException. If the Tx attribute in S2
              changed to "NotSupported" or "RequiresNew", the exception disappears. What is
              going wrong here? Here is stack trace:
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],Xid=6:91439762e5aa8158(3104694),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since
              begin=1,seconds left=119,activeThread=Thread[ExecuteThread: '8' for queue:
              'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committed
              ,assigned=sbmejbServer),SCInfo[sbm4.0+sbmejbServer]=(state=committed),SCInfo [sbm4.0+sbmServer]=(state=committed),properties=({weblogic.transaction.name=
              [EJB com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.10.102.142:5134}),OwnerTransactionManager =ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm
              4.0+,
              Resources={})],CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm4.0+)
              completed heuristically:
              null>
              <Dec 17, 2002 6:36:16 AM PST> <Error> <EJB> <Exception
              during commit of
              transaction Name=[EJB com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],Xid=6:91439762e5aa8158(3104694),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since begin=1,seconds left=119,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=committed,assigned=sbmejbServer),SCInfo[sbm4.0+sbmejbServer]=(state=committed),SCInfo[sbm4.0+sbmServer]=(state=committed),properties=({weblogic.transaction.name=[EJB
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean.connect(java.lang.String,java.lang.String)],
              weblogic.jdbc=t3://10.10.102.142:5134}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm
              4.0+, Resources{})],CoordinatorURL=sbmejbServer+10.10.102.142:5136+sbm4.0+):
              javax.transaction.HeuristicMixedException
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:236)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:189)
              at
              weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
              at
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean_fztxfh_EOImpl.
              connect(BLServerBean_fztxfh_EOImpl.java:4076)
              at
              com.savvion.sbm.bizlogic.server.ejb.BLServerBean_fztxfh_EOImpl_
              WLSkel.invoke (Unknown Source)
              at
              weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
              at
              weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
              at
              weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274) at
              weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteR
              equest.java:22)
              at
              weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

  • Replicating content across UCM servers

    Hi All,
    Is it possible to set-up content server replicate content across different content servers? Like CS1 replicate to CS2 and CS3. Need to know the sequence of actions to be taken/ steps performed for the same.

    It is certainly not a real-time replication.
    The Archiver, once configured, will create a zip batch containing the data and the content - its creation will certainly take some time depending on the amount of data to be processed. Then, the zip is transferred to the other environment (this can be another bottleneck, if the file is huge), and uploaded - it will take another time. Also, creation and upload will require some system resources (may decrease the system performance for human users).
    The Archiver is pretty self-explanatory, but you may also read the manual - http://docs.oracle.com/cd/E29542_01/doc.1111/e26692/part_migration.htm#CHDFEIDA
    If you have higher demands (e.g. real-time replication), please, elaborate on your use cases - you will certainly need other means, and their optimal version might depend on details.

  • Sync files across the Managed Server.

    We have exploded war deployed in the Weblogic Cluster and in this there is a feature which would create a zip file in the exploded folder and this zip file will be downloaded through the URL. Now the problem in clustered environment is when the application write the zip file which will be available in only one of the managed server and when we try to download the zip file through the LoadBalancer URL it may not hit the same Managed Server in which the zip file is available.
    Is there a way in weblogic cluster to sync the files across all the managed server so that we can access the file through loadbalancer.

    Hi Suresh
    1. Your issue has nothing to do with the cluster setup and the way you deploy the application (as EAR or Exploded). Basically in your application, you generate a file and automatically that gets stored in that machines location. Now when you access it from a load balancer, the request may go to other machine and naturally it will not find the file there. There is nothing in the cluster setup or something that can copy the files and replicate acorss the machines. Infact that will be way too complex. I will couple of solutions.
    2. Create a shared folder like public folder. Say in Windows, create a folder with some folder structure and map it as say X: Drive. now this X Drive can be accessed from any other machine like Machine1, Machine2 (after setting the sharing properties). First try directly from Windows Explorer itself. Now within your application, when you generate and store the file, refer this X: Drive with full path. You can make it more flexible by using a .properties file that has key value pair. Key is like FILE_LOCATION and value can be like X:\a\b\c. Now using simple Java Properties class API to load the contents from this file. You can add all the constants, check for if .properties file exist like that. Once you have all the properties loaded, then refer this key, to get its value and use that to store the file generated. Use the same approach, while retrieving the file also. Use the key to get the location and then look for the file you want to download. This should work, when the request goes to any managed server in the cluster. I used it. I created a utility class like MyAppPropertiesLoader, with some static methods, that reads the file only once, if it is null, and then get values using simle methods like getString(String aKey), getLong(String aKey) etc. The huge BENEFIT of this is, once you deploy the application say in Unix, natually, the shared location has to be one of the unix boxes. Then just mount this location on both the managed servers (mount is similar to mapping a drive in Windows OS). Also the location of the files can be changed anytime in the properties file. Say in QC, the location may be X:\a\b\c\qc. But for UAT on Unix it can be like /x/y/z/uat/. Now this .properties file can exist directly under the Domain root folder so you can access it directly without any path in your java code. You can also use System properties like user.home etc. Make sure to copy this .properties file on both the domains. The original master domain. And the psueduo domain that is generated when you run the unpack command if you have managed server in another machine.
    3. This is much simpler but kind of not recommended. Simply, create a simple table with few header columns and one BLOB/CLOB column. Store the file in this database table and retrieve from it. This means you will have JDBC code, and the code to create clob to store and generate file from clob for retrieval.
    My preference is the first option given above. Getting tools to copy files may be complex. Its not like syncing the data across but its the files that needs to be copied across the machines.
    Thanks
    Ravi Jegga

  • Using JDBC Persistent Manager for Tomcat across multiple Servers

    Sorry if I word this question incorrectly, but I hope you can get the gist of it. Basically, I have a web application that will be running on 2 different machines. When too many users are on one machine, they are switched over to another machine (load balancing). If I use JDBC (or file) Persistance Manager to store sessions, what happens when a user is switched between machines? If both machines use the same settings for the Persistance Manager, when a user has just been moved to a new machine, will it be able to load the session from the DB? (since it should have its sessionID). If you can not do this, is there a way to do it?
    Thanks!

    Sorry if I word this question incorrectly, but I hope
    you can get the gist of it. Basically, I have a web
    application that will be running on 2 different
    machines. When too many users are on one machine,
    they are switched over to another machine (load
    balancing). If I use JDBC (or file) Persistance
    Manager to store sessions, what happens when a user is
    switched between machines? If both machines use the
    same settings for the Persistance Manager, when a user
    has just been moved to a new machine, will it be able
    to load the session from the DB? (since it should
    have its sessionID). If you can not do this, is
    there a way to do it?
    Thanks!Session ids are unique and cannot be transferred between different servers... Wise web servers supports load balancing and should be able to transfer/store session without your special code. If you still keen to write transfer code yourself you have to:
    1) Store not only session id, but also all content of session (including some virtual (your) session id
    2) Transfer (i.e. create a copy) stored session content to another machine
    Paul

  • Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic. can anyone tell me what is the best way to clone the environment, can I just tar the weblogic file syste

    Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic..
    Can anyone tell me what is the best way to cloning the application from different environment, the test and production are in different physical server.
    Can I just tar the weblogic file system and untar it to the new server and make the necessary changes?
    Can anyone share their experiences and how to with me?
    Thank in advance.
    Katherine

    Hi Katherine,
    yes and no . You need as well weblogic + soa files as the database schemas (soa_infra, mds...).
    Please refer to the AMIS Blog: https://technology.amis.nl/2011/08/11/clone-your-oracle-fmw-soa-suite-11g/
    HTH
    Borys

  • Empty initial replica exception while starting up managed servers

    Hi,
    I am doing what should be a fairly straight forward installtion/configuration of the weblogic portal 10.3.2.
    I have installed the portal, created a new domain with one admin server and two managed servers in it. I also have a cluster on which I have both my managed servers and finally I have a machine on which I have all the 3 of my servers.
    I am able to successfully startup the nodemanager and then the admin server. But when I try to start up the managed servers from the admin console, I get this exception -
    ####<Feb 11, 2011 12:39:37 PM IST> <Critical> <WebLogicServer> <XXXXXXXX> <new_ManagedServer_1> <Main Thread> <<WLS Kernel>> <> <> <1297408177691> <BEA-000386> <Server subsystem failed. Reason: weblogic.ldap.EmbeddedLDAPException: Empty initial replica
    weblogic.ldap.EmbeddedLDAPException: Empty initial replica
         at weblogic.ldap.EmbeddedLDAP.getInitialReplicaFromAdminServer(EmbeddedLDAP.java:1301)
         at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:221)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any idea what could be the reason for this?
    Regards,
    Kunal
    Edited by: kunal. on Feb 11, 2011 1:34 AM

    Hi,
    anybody got any solution to this?
    Regards,
    Kunal

  • The AMT Proxy Manager failed 10 times while replicating file

    The AMT Proxy Manager failed 10 times while replicating file C:\Program Files\Microsoft Configuration Manager\inboxes\amtproxymgr.box\disc.box\{BFF82498-03AF-44F6-A1D4-E07F864B0174}.RDC to out of band service point. The file has been moved to the BAD file
    inbox.
    what could be the problem for above error
    Santosh Dharamsale

    Yes, I know this is an old post, but I’m trying to clean them up.
    There is not enough details in this post to help you. The problem could be a million things from: not enough disk space to access denied to ???.
    Is the AMTProxypoint installed?
    What does the AMTproxymgr log say?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Problems with deploying file to one of the managed servers on a cluster

    We are running Weblogic 10.3.
    When I start both managed servers from the Admin Console, one fails with the error below and in Admin state, but the other managed server starts up correctly.
    The only difference from when it was first working is that the managed server ServerBox1 was imaged and loaded onto new hardware and all network/os properties configured the same as the old box.
    ####<Timestamp> <Info> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292425> <BEA-149059> <Module DocFile.war of application DocFile is transitioning from STATE_NEW to STATE_PREPARED on server ServerBox1.>
    ####<Mar 29, 2012 3:11:32 PM EDT> <Error> <HTTP> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292488> <BEA-101064> <[WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Timestamp> <Info> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292506> <BEA-149061> <Module DocFile.war of application DocFile failed to transition from STATE_NEW to STATE_PREPARED on server ServerBox1.>
    ####<Mar 29, 2012 3:11:32 PM EDT> <Error> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292727> <BEA-149205> <Failed to initialize the application 'DocFile' due to error weblogic.application.ModuleException: [HTTP:101064][WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    null.
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    null
    I also noticed that the DocFile directory inside the stage directory is deleted once the ServerBox1 is started completely.
    Thanks for the assistance.

    Hi Partha. Did you get a solution to your problem with high connection delay times on your server? I'm having a similar problem and saw your post.
    Thanks,
    Mark

  • Managing the Principle and Mirrored DB's across 2 Servers.

    We have mirroring set up across 2 servers with a witness server.  A1, A2 and W1 respectively.  We have 16 Databases.  Can half of the DB's on A1 be the Principle, while A2 is the Principle for the other half?   Basically
    I want to understand if I can sort of balance the DB's across the 2 servers.  Some DB's being Principle on A1 and others on A2.

    Hi,
    Yes, you can configure some DB's being Principle on A1 and others on A2. Because Database Mirroring works at a database level.
    Please note that on a 32-bit system, database mirroring can support a maximum of about 10 databases per server instance because of the numbers of worker threads that are consumed by each database mirroring session. However, these restrictions
    do not apply on 64-bit SQL Server systems.
    More information, please see:
    Mirroring Multiple SQL Server Databases on a Single Instance
    http://blogs.technet.com/b/rob/archive/2010/02/11/mirroring-multiple-sql-server-databases-on-a-single-instance.aspx
    Best Regards,
    Tracy
    Tracy Cai
    TechNet Community Support

  • Multiple "slapd[46]: could not load the replica file" Errors

    Hi,
    We've got an OD master (10.4.8) that sporadically falls into a state where it reports the error "slapd[46]: could not load the replica file." many times over in the system log. It will start this with no warning and when everything is running just fine, but once it has started there errors build up until it is reporting them up to 20 times a second. Usually once it gets to this stage directory services start to suffer badly across the network and all connected servers. We usually have to reboot various servers at this point including the ODM in order to get services up and running again. After the reboots sometimes the problem will just disappear, sometimes it will just start building up again.
    We only have one other replica (down from 4) which is on a separate subnet across a WAN. We managed to get rid of the problem for a while by getting rid of the replicas on the local subnet, but it just pops back up again for no apparent reason.
    We attempted to install a new ODM with a brand spanking PW server a while ago and new replicas, but hit the same issue sometime into the install.
    The only time I've ever seen an issue with this many errors being reported so often it turned out to be a network loop, but I know there is not one present now. I did wonder about a rogue device on the network causing issues but I'm not fixed on this.
    Can anyone give me any ideas where to start looking for a resolution?
    Cheers
    Dan

    Step 1: Download subinacl.msi from the link
    http://go.microsoft.com/fwlink/?LinkId=23418 and install it.
    Step 2: Download my modified version of reset.cmd from
    http://gerger.com/o/assets/x/?id=22540 and save the file in 'C:\Program
    Files\Windows Resource Kits\Tools'.
    Step 3: Open Command Prompt as Administrator and type the following without
    quotes (hit Enter):
    'cd c:\program files\windows resource kits\tools'
    Step 4: Now type 'reset.cmd' and hit Enter (without quotes)
    You will see the Command Line Tool running for some seconds. The issue
    should have been fixed and Quicktime should run again.
    Enjoy!

  • Log4j and managed servers

    This seems somewhat obvious, but...
              I have a Solaris based WLS 8.1.6 cluster with two managed servers.
              In the log4j.xml for BOTH managed servers, the logs for output from both go to the same file.
              What happens is one managed server writes to dctm_api.log and one writes to the previous log file.
              Is this as simple as Log4J in one of the Managed Servers has the file open and Log4J from two process can't have the same file open and write to it at the same time?
              Thanks,
              Michael Geiser

    Static fields won't get serialized.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "rohit" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hi, can someone please advice if using log4j in the clustered environment
              would
              > in any way result in the failure of in memory session replication. We are
              using
              > WL 7.0 and log4j is installed on each managed servers. The log4j class
              "org.apache.log4j.Logger"
              > is used as a static reference within java classes which are put in the
              session.
              > Any response greatly appreciated. Thanks. Rohit
              

  • While starting managed servers asks for password of localhost

    We have a clustered environment and we are using Virtual IPs for the Managed servers. The managed servers in the forst node is not starting.
    The problem I have narrowed down is that there are startup.properties file for the managed servers.
    It has argument like -Dtangosol.coherence.localhost\=xgsoapd5v1.ea.com (for SOA1)
    While SOA1 it is asking for password for the above host and the managed server is not starting.
    Now SOA2 has the similar argument -Dtangosol.coherence.localhost\=xgsoapd5v2.ea.com (for SOA2), but it is not asking for any password and so the SOA2 managed server is sta! rting.
    Similarly the while starting BAM1 it is asking for a password , but for BAM2 it is not asking for password and it is starting.
    I could not yet figure out why it is behaving differently in the first node.
    This is a copy of production with a chnage in the network. That means only the IP addresses are changed. xgsoapd5v1.ea.com and xgsoapd5v2.ea.com are the hostnames
    It works perfectly in production environment.

    Hi
    Under your domain root folder say in the main machine where you have the AdminServer, you should have a folder structure something like this:
    ../user_projects/domains/yourBPMDomain1/servers. Under the servers folder you can see list of each server. On the main machine you will see one AdminServer folder. Under this there should be a sub-folder named security with one file named boot.properties. This boot.properties file will have encrypted username and password for the weblogic domain.
    If this security/boot.properties exist under the each server folder, then when you start the managed server, it will NOT prompt for the username/password. If it DO NOT exist, it will ask for the credentials.
    Solution is go to each Machine where you the ManagedServers (SOA Server or BAM Server does not matter). Go to each server and under that create a folder named security and create a file named boot.properties and in this file enter plain text username and password something like this and save the file. Now restart all those servers.
    username=domainadminusername
    password=doaminadminpassword
    When you start the servers, server should start taking the above information. AND server will automatically ENCRYPT the above plain text data into hash codes.
    In a nut shell, go to each Server folder across all the remote machines and under that particular managed server create a folder security with one file boot.properties.
    Exmaple locations:
    On Machine1 - user_projects/domains/bpmDomain1/servers/soa_server1/security/boot.properties
    On Machine2 - user_projects/domains/bpmDomain1/servers/bam_server1/security/boot.properties
    You DO NEED the admin username and password in plain text for one time to put in boot.properties. Later on it will get encrypted, so there is no threat for any security loop holes.
    Thanks
    Ravi Jegga

Maybe you are looking for