How to commit Domains?
How to commit Domains?
Hi Philip!
Yes, I need to commit design with domains to SVN repository. By default, domains is not commited and if I check-out my design from repository on another machine, there's no info about used domains in design.
Similar Messages
-
How to Commit before Insert Row when Press Create Insert Button ?
Hi all;
I'm Using JDev 11.1.1.2.0
How to Commit before Insert Row when Press Create Insert Button in ADF11g?
<af:commandButton actionListener="#{bindings.CreateInsert.execute}"
text="CreateInsert"
disabled="#{!bindings.CreateInsert.enabled}"
id="cb8" />
best regards;You need to do a custom method eather in managed bean or in Application module to do that.
in managed bean it would be something like:
public void CommitAndInsert(ActionEvent actionEvent) {
OperationBinding opCommit = ADFUtils.findOperation("Commit");
opCommit.execute();
OperationBinding opCreateInsert = ADFUtils.findOperation("CreateInsert");
opCreateInsert.execute();
In page bindings Commit and CreateInsert must exist
then the button actionListener will be
<af:commandButton actionListener="#{backing.CommitAndInsert}" -
How to add domain computers in wsus
how to add domain computers in wsus
Refer this : http://technet.microsoft.com/en-us/library/dd939830%28v=ws.10%29.aspx
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread. -
How to commit each record in Oracle Form Personalization
Hi,
how to commit each record with out using save button in form...my requirement is when cursor goes to next record it vil automatically stored in database please give me your valuable suggestion...
Actual Requirement:
here we need to give the locators(it is number) whenever the cursor goes to next record it vil automatically incremented by 1(i wrote query for incremetation) and previous one vil be stored in database.
Here i am using WHEN NEW ITEM INSTANCE IS USED Trigger..
Thank You,
Regards,
PuttaHi,
The commit should be done by the form, or whatever raises the business event.
The API fires the event in the same transaction (unless the subscription is deferred), and then the commit is issued. This commits the transaction, and all actions of the event subscription.
If the subscription is deferred, then the concurrent request which processes the subscription will issue the commit on completion.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
How to change domain name on Windows 2003 running Exchange 2007
Hi all,
I have a windows 2003 server running Exchange 2007. I am wanting to rename the domain, however when I search the web for the process to perform a rename of the domain I see "The domain rename operation is not supported in Microsoft Exchange Server 2007".
How can a domain name be changed? http://technet.microsoft.com/en-us/library/cc781575%28v=ws.10%29.aspx
The server runs active directory, dns, dhcp, and Exchange 2007.
This change is being inspired by the change with SSL certs where internal addresses like .local will no longer be supported in the third party certificate registrars. Recently we renewed our cert and did not include the .local URL. Now the internal
systems are getting warnings about the cert. I tried generating an internal self signed cert but it seems only one cert can be valid with exchange 2007 running on windows 2003. Thus the internal cert replaced the external cert and allowed
the internal systems to run without complaining about the cert but the external access was causing warnings. I reversed back to the third party cert. This cert has company.com and mail.company.com and autodiscovery. I believe if I rename
the server to server2.company.com the autodiscovery will allow the server2 to be mapped to company.com and the cert will be valid for internal clients.
Do I have this correct? Are there errors with what I have found so far?
Any suggestions about how to solve this issue short of getting a new server? How can I rename the domain?Hi,
As you mentioned, the domain rename is not supported in Microsoft Exchange Server 2007.
About your question with certificate, we can change URLs to xxx.domain.com. More details about this workaround, please refer to:
https://support.microsoft.com/kb/940726?wa=wsignin1.0
Note: please make sure the same name with certificate.
Additional, Microsoft do not recommended to install Exchange server on a DC. I suggest install Exchange server on a member server. More details to see:
Installing Exchange on a domain controller is not recommended
http://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.warninginstallexchangerolesondomaincontroller(v=exchg.150).aspx
Best regards,
Allen Wang -
How to Commit table by writting Java code in Managed Bean?
Hi,
Can anyone suggest me how to Commit table by writing Java code in Managed Bean?.
I want to commit table manually after modifying in UI.
Please suggest me guys.
Thanks,
Ramit MathurHi Friend Copy this two java files with same package of your bean package.
1,*ADFUtils.java*
package org.calwin.common.view.utils;(Your package name)
import java.util.ArrayList;
import java.util.List;
import javax.el.ELContext;
import javax.el.ExpressionFactory;
import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
import oracle.adf.model.BindingContext;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.adf.model.binding.DCParameter;
import oracle.adf.share.logging.ADFLogger;
import oracle.binding.AttributeBinding;
import oracle.binding.BindingContainer;
import oracle.binding.ControlBinding;
import oracle.binding.OperationBinding;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Key;
import oracle.jbo.Row;
import oracle.jbo.uicli.binding.JUCtrlValueBinding;
* A series of convenience functions for dealing with ADF Bindings.
* Note: Updated for JDeveloper 11
* @author Duncan Mills
* @author Steve Muench
* $Id: ADFUtils.java 2513 2007-09-20 20:39:13Z ralsmith $.
public class ADFUtils
public static final ADFLogger _LOGGER = ADFLogger.createADFLogger(ADFUtils.class);
* Get application module for an application module data control by name.
* @param pName application module data control name
* @return ApplicationModule
public static ApplicationModule getApplicationModuleForDataControl(String pName)
return (ApplicationModule) JSFUtils.resolveExpression("#{data." + pName + ".dataProvider}");
* A convenience method for getting the value of a bound attribute in the
* current page context programatically.
* @param pAttributeName of the bound value in the pageDef
* @return value of the attribute
public static Object getBoundAttributeValue(String pAttributeName)
return findControlBinding(pAttributeName).getInputValue();
* A convenience method for setting the value of a bound attribute in the
* context of the current page.
* @param pAttributeName of the bound value in the pageDef
* @param pValue to set
public static void setBoundAttributeValue(String pAttributeName, Object pValue)
findControlBinding(pAttributeName).setInputValue(pValue);
* Returns the evaluated value of a pageDef parameter.
* @param pPageDefName reference to the page definition file of the page with the parameter
* @param pParameterName name of the pagedef parameter
* @return evaluated value of the parameter as a String
public static Object getPageDefParameterValue(String pPageDefName, String pParameterName)
BindingContainer bindings = findBindingContainer(pPageDefName);
DCParameter param = ((DCBindingContainer) bindings).findParameter(pParameterName);
return param.getValue();
* Convenience method to find a DCControlBinding as an AttributeBinding
* to get able to then call getInputValue() or setInputValue() on it.
* @param pBindingContainer binding container
* @param pAttributeName name of the attribute binding.
* @return the control value binding with the name passed in.
public static AttributeBinding findControlBinding(BindingContainer pBindingContainer, String pAttributeName)
if (pAttributeName != null)
if (pBindingContainer != null)
ControlBinding ctrlBinding = pBindingContainer.getControlBinding(pAttributeName);
if (ctrlBinding instanceof AttributeBinding)
return (AttributeBinding) ctrlBinding;
return null;
* Convenience method to find a DCControlBinding as a JUCtrlValueBinding
* to get able to then call getInputValue() or setInputValue() on it.
* @param pAttributeName name of the attribute binding.
* @return the control value binding with the name passed in.
public static AttributeBinding findControlBinding(String pAttributeName)
return findControlBinding(getBindingContainer(), pAttributeName);
* Return the current page's binding container.
* @return the current page's binding container
public static BindingContainer getBindingContainer()
return (BindingContainer) JSFUtils.resolveExpression("#{bindings}");
* Return the Binding Container as a DCBindingContainer.
* @return current binding container as a DCBindingContainer
public static DCBindingContainer getDCBindingContainer()
return (DCBindingContainer) getBindingContainer();
* Get List of ADF Faces SelectItem for an iterator binding.
* Uses the value of the 'valueAttrName' attribute as the key for
* the SelectItem key.
* @param pIteratorName ADF iterator binding name
* @param pValueAttrName name of the value attribute to use
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @return ADF Faces SelectItem for an iterator binding
public static List<SelectItem> selectItemsForIterator(String pIteratorName, String pValueAttrName, String pDisplayAttrName)
return selectItemsForIterator(findIterator(pIteratorName), pValueAttrName, pDisplayAttrName);
* Get List of ADF Faces SelectItem for an iterator binding with description.
* Uses the value of the 'valueAttrName' attribute as the key for
* the SelectItem key.
* @param pIteratorName ADF iterator binding name
* @param pValueAttrName name of the value attribute to use
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @param pDescriptionAttrName name of the attribute to use for description
* @return ADF Faces SelectItem for an iterator binding with description
public static List<SelectItem> selectItemsForIterator(String pIteratorName, String pValueAttrName, String pDisplayAttrName, String pDescriptionAttrName)
return selectItemsForIterator(findIterator(pIteratorName), pValueAttrName, pDisplayAttrName, pDescriptionAttrName);
* Get List of attribute values for an iterator.
* @param pIteratorName ADF iterator binding name
* @param pValueAttrName value attribute to use
* @return List of attribute values for an iterator
public static List attributeListForIterator(String pIteratorName, String pValueAttrName)
return attributeListForIterator(findIterator(pIteratorName), pValueAttrName);
* Get List of Key objects for rows in an iterator.
* @param pIteratorName iterabot binding name
* @return List of Key objects for rows
public static List<Key> keyListForIterator(String pIteratorName)
return keyListForIterator(findIterator(pIteratorName));
* Get List of Key objects for rows in an iterator.
* @param pIterator iterator binding
* @return List of Key objects for rows
public static List<Key> keyListForIterator(DCIteratorBinding pIterator)
List<Key> attributeList = new ArrayList<Key>();
for (Row r: pIterator.getAllRowsInRange())
attributeList.add(r.getKey());
return attributeList;
* Get List of Key objects for rows in an iterator using key attribute.
* @param pIteratorName iterator binding name
* @param pKeyAttrName name of key attribute to use
* @return List of Key objects for rows
public static List<Key> keyAttrListForIterator(String pIteratorName, String pKeyAttrName)
return keyAttrListForIterator(findIterator(pIteratorName), pKeyAttrName);
* Get List of Key objects for rows in an iterator using key attribute.
* @param pIterator iterator binding
* @param pKeyAttrName name of key attribute to use
* @return List of Key objects for rows
public static List<Key> keyAttrListForIterator(DCIteratorBinding pIterator, String pKeyAttrName)
List<Key> attributeList = new ArrayList<Key>();
for (Row r: pIterator.getAllRowsInRange())
attributeList.add(new Key(new Object[]
{ r.getAttribute(pKeyAttrName) }));
return attributeList;
* Get a List of attribute values for an iterator.
* @param pIterator iterator binding
* @param pValueAttrName name of value attribute to use
* @return List of attribute values
public static List attributeListForIterator(DCIteratorBinding pIterator, String pValueAttrName)
List attributeList = new ArrayList();
for (Row r: pIterator.getAllRowsInRange())
attributeList.add(r.getAttribute(pValueAttrName));
return attributeList;
* Find an iterator binding in the current binding container by name.
* @param pName iterator binding name
* @return iterator binding
public static DCIteratorBinding findIterator(String pName)
DCIteratorBinding iter = getDCBindingContainer().findIteratorBinding(pName);
if (iter == null)
throw new RuntimeException("Iterator '" + pName + "' not found");
return iter;
* @param pBindingContainer
* @param pIterator
* @return
public static DCIteratorBinding findIterator(String pBindingContainer, String pIterator)
DCBindingContainer bindings = (DCBindingContainer) JSFUtils.resolveExpression("#{" + pBindingContainer + "}");
if (bindings == null)
throw new RuntimeException("Binding container '" + pBindingContainer + "' not found");
DCIteratorBinding iter = bindings.findIteratorBinding(pIterator);
if (iter == null)
throw new RuntimeException("Iterator '" + pIterator + "' not found");
return iter;
* @param pName
* @return
public static JUCtrlValueBinding findCtrlBinding(String pName)
JUCtrlValueBinding rowBinding = (JUCtrlValueBinding) getDCBindingContainer().findCtrlBinding(pName);
if (rowBinding == null)
throw new RuntimeException("CtrlBinding " + pName + "' not found");
return rowBinding;
* Find an operation binding in the current binding container by name.
* @param pName operation binding name
* @return operation binding
public static OperationBinding findOperation(String pName)
OperationBinding op = getDCBindingContainer().getOperationBinding(pName);
if (op == null)
throw new RuntimeException("Operation '" + pName + "' not found");
return op;
* Find an operation binding in the current binding container by name.
* @param pBindingContianer binding container name
* @param pOpName operation binding name
* @return operation binding
public static OperationBinding findOperation(String pBindingContianer, String pOpName)
DCBindingContainer bindings = (DCBindingContainer) JSFUtils.resolveExpression("#{" + pBindingContianer + "}");
if (bindings == null)
throw new RuntimeException("Binding container '" + pBindingContianer + "' not found");
OperationBinding op = bindings.getOperationBinding(pOpName);
if (op == null)
throw new RuntimeException("Operation '" + pOpName + "' not found");
return op;
* Get List of ADF Faces SelectItem for an iterator binding with description.
* Uses the value of the 'valueAttrName' attribute as the key for
* the SelectItem key.
* @param pIterator ADF iterator binding
* @param pValueAttrName name of value attribute to use for key
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @param pDescriptionAttrName name of the attribute for description
* @return ADF Faces SelectItem for an iterator binding with description
public static List<SelectItem> selectItemsForIterator(DCIteratorBinding pIterator, String pValueAttrName, String pDisplayAttrName, String pDescriptionAttrName)
List<SelectItem> selectItems = new ArrayList<SelectItem>();
for (Row r: pIterator.getAllRowsInRange())
selectItems.add(new SelectItem(r.getAttribute(pValueAttrName), (String) r.getAttribute(pDisplayAttrName), (String) r.getAttribute(pDescriptionAttrName)));
return selectItems;
* Get List of ADF Faces SelectItem for an iterator binding.
* Uses the value of the 'valueAttrName' attribute as the key for
* the SelectItem key.
* @param pIterator ADF iterator binding
* @param pValueAttrName name of value attribute to use for key
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @return ADF Faces SelectItem for an iterator binding
public static List<SelectItem> selectItemsForIterator(DCIteratorBinding pIterator, String pValueAttrName, String pDisplayAttrName)
List<SelectItem> selectItems = new ArrayList<SelectItem>();
for (Row r: pIterator.getAllRowsInRange())
selectItems.add(new SelectItem(r.getAttribute(pValueAttrName), (String) r.getAttribute(pDisplayAttrName)));
return selectItems;
* Get List of ADF Faces SelectItem for an iterator binding.
* Uses the rowKey of each row as the SelectItem key.
* @param pIteratorName ADF iterator binding name
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @return ADF Faces SelectItem for an iterator binding
public static List<SelectItem> selectItemsByKeyForIterator(String pIteratorName, String pDisplayAttrName)
return selectItemsByKeyForIterator(findIterator(pIteratorName), pDisplayAttrName);
* Get List of ADF Faces SelectItem for an iterator binding with discription.
* Uses the rowKey of each row as the SelectItem key.
* @param pIteratorName ADF iterator binding name
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @param pDescriptionAttrName name of the attribute for description
* @return ADF Faces SelectItem for an iterator binding with discription
public static List<SelectItem> selectItemsByKeyForIterator(String pIteratorName, String pDisplayAttrName, String pDescriptionAttrName)
return selectItemsByKeyForIterator(findIterator(pIteratorName), pDisplayAttrName, pDescriptionAttrName);
* Get List of ADF Faces SelectItem for an iterator binding with discription.
* Uses the rowKey of each row as the SelectItem key.
* @param pIterator ADF iterator binding
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @param pDescriptionAttrName name of the attribute for description
* @return ADF Faces SelectItem for an iterator binding with discription
public static List<SelectItem> selectItemsByKeyForIterator(DCIteratorBinding pIterator, String pDisplayAttrName, String pDescriptionAttrName)
List<SelectItem> selectItems = new ArrayList<SelectItem>();
for (Row r: pIterator.getAllRowsInRange())
selectItems.add(new SelectItem(r.getKey(), (String) r.getAttribute(pDisplayAttrName), (String) r.getAttribute(pDescriptionAttrName)));
return selectItems;
* Get List of ADF Faces SelectItem for an iterator binding.
* Uses the rowKey of each row as the SelectItem key.
* @param pIterator ADF iterator binding
* @param pDisplayAttrName name of the attribute from iterator rows to display
* @return List of ADF Faces SelectItem for an iterator binding
public static List<SelectItem> selectItemsByKeyForIterator(DCIteratorBinding pIterator, String pDisplayAttrName)
List<SelectItem> selectItems = new ArrayList<SelectItem>();
for (Row r: pIterator.getAllRowsInRange())
selectItems.add(new SelectItem(r.getKey(), (String) r.getAttribute(pDisplayAttrName)));
return selectItems;
* Find the BindingContainer for a page definition by name.
* Typically used to refer eagerly to page definition parameters. It is
* not best practice to reference or set bindings in binding containers
* that are not the one for the current page.
* @param pPageDefName name of the page defintion XML file to use
* @return BindingContainer ref for the named definition
private static BindingContainer findBindingContainer(String pPageDefName)
BindingContext bctx = getDCBindingContainer().getBindingContext();
BindingContainer foundContainer = bctx.findBindingContainer(pPageDefName);
return foundContainer;
* @param pOpList
public static void printOperationBindingExceptions(List pOpList)
if (pOpList != null && !pOpList.isEmpty())
for (Object error: pOpList)
_LOGGER.severe(error.toString());
* Programmatic invocation of a method that an EL evaluates to.
* The method must not take any parameters.
* @param pEl EL of the method to invoke
* @return Object that the method returns
public static Object invokeEL(String pEl)
return invokeEL(pEl, new Class[0], new Object[0]);
* Programmatic invocation of a method that an EL evaluates to.
* @param pEl EL of the method to invoke
* @param pParamTypes Array of Class defining the types of the parameters
* @param pParams Array of Object defining the values of the parametrs
* @return Object that the method returns
public static Object invokeEL(String pEl, Class[] pParamTypes, Object[] pParams)
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
MethodExpression exp = expressionFactory.createMethodExpression(elContext, pEl, Object.class, pParamTypes);
return exp.invoke(elContext, pParams);
* Sets the EL Expression with the value.
* @param pEl EL Expression for which the value to be assigned.
* @param pVal Value to be assigned.
public static void setEL(String pEl, Object pVal)
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
ValueExpression exp = expressionFactory.createValueExpression(elContext, pEl, Object.class);
exp.setValue(elContext, pVal);
* Evaluates the EL Expression and returns its value.
* @param pEl Expression to be evaluated.
* @return Value of the expression as Object.
public static Object evaluateEL(String pEl)
FacesContext facesContext = FacesContext.getCurrentInstance();
ELContext elContext = facesContext.getELContext();
ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
ValueExpression exp = expressionFactory.createValueExpression(elContext, pEl, Object.class);
return exp.getValue(elContext);
} -
SCCM 2012 - How to add domain id to local administrator group of all clients
SCCM 2012 - How to add domain id to local administrator group of all clients
Hi,
i have a domain id sccmadmin which is a part of domain admins group too.
Need to add this ID to the local administrators group of all clients. How do I do this? Please help!Hi ,
you need to choose the second option .
First option will remove all the domains users from the local administrator group available in all the PC'S .Then local administrator group will only have the users updated on the members list present in group policy.
Note : Local admins accounts on the local administrators groups will not be removed.
Second option will add the newly created group to the local administrator group in all the PC'S and it will not remove the existing members in the local administrators group.
Step 1 : Just try to create one new group for SCCM management .
Step 2 : Then add the SCCM account to that group.
Step 3 : Then please create a new group policy on that just choose the second option.On that option just add the newly created group to be an member of administrator group in all the PC'S
Why i have asked you to create a new group ?
Because in second option , we don't have a option to add a individual user .
Once you have created a group policy it will like below snap.
As an additional i will tell how to find the newly created group policy is applying to computer objects or not ans also i will tell you how to force update the group policy
1.gpresult /r ----> To find the which group policy is applying on user and computer object .
2.rsop.msc ----> There you can able to find the change has been applied or not .
3.gpupdate /force -----> Forcefully updating the group policy in a client machine
4.In gpmc.msc there is one option called group policy results .That option will be used for centralized management to find the policies that are applied to a user and computer account.
5.Just check the event viewer in all the PC'S for group policy related events.
Most importantly you need to make sure all the computer accounts are placed in an ou ,where the newly created group policy is applying and also make sure that OU doesn't contain any inheritance block.
Please feel free to reply me if you have any queries.
Thanks & Regards S.Nithyanandham -
How to improve Domain Gateway Performance
Sometimes, too many services queue in Domain Gateway,
and so,some services will be timeout.
How to improve Domain Gateway?the messages outbound to another domain
Scott Orshan <[email protected]> wrote:
Tuxedo 8.1 has improved Domain Gateway performance relative to 8.0.
Are the messages ones that are outbound to another domain, or inbound
from another domain?
zhangjr wrote:
Sometimes, too many services queue in Domain Gateway,
and so,some services will be timeout.
How to improve Domain Gateway? -
Hi Gurus,
Please let me know how to configure domain in AIX environment. I don't have much expertize in AIX.
Scenario is I already installed an BI with EP on AIX 5.3/ Oracle 10.2 system. Now I have to configure icm/_host_name_full(fully qualified host names). But I don't know how to configure my system in the domain .
I know it how to manage @ SAP level but not know how to configure it on OS level.
Regards
JaswantThat's a matter of TCP/IP name resolution.
See http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.commadmn/doc/commadmndita/tcpip_naming.htm
To use an existing nameserver infrastructure with your AIX box (including to set the domain your host are in):
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.commadmn/doc/commadmndita/host_nameserv_config.htm
Norbert -
How to config domain?wl 6.0
We have four developers which makes up one develop team. Now we
want to develop together on one server, which is installed with
weblogic6.0 under solaris7. We want each developer can make his
own ejb separately on his own computer but all developers can deploy
their components on the server. In this case we need each developer
has separate environment on the sever. Even though I read all documents
of WebLogic6.0 I cannot find out a way to configure a proper develop
environment. Should I start several domains or should I start several
servers in one domain? I noticed that there are 3 default domains
after installing the weblogic6.0 and I can startup them concurrently
with configuring different port. I tried to create new domains
for each developer in the console. I copied “config.xml”,
“startxxxDomain.sh” and “fileRealm.properties”
to the new domain and changed the domainname in these files. But
finally I got an error message as the following files
config.xml:
<!--If your domain is active, please do not edit the config.xml
file. Any changes made to that file while the domain is active
will not have any effect on the domain's configuration and are
likely to be lost. If your domain is inactive, you may edit this
file with an XML editor. If you do so, please refer to the configuration
DTD. In general, we recommend that changes to your configuration
file be made through the Administration Console.-->
<Domain
Name="wenjing"
>
<JTA
Name="wenjing"
/>
<ApplicationManager
Name="wenjing"
/>
<Security
Name="wenjing"
/>
<Server
AdministrationPort="0"
ListenAddress=""
ListenPort="8001"
Machine=""
Name="wenjingServer"
>
<ServerDebug
Name="wenjingServer"
/>
<WebServer
Name="wenjingServer"
/>
<KernelDebug
Name="wenjingServer"
/>
<SSL
Name="wenjingServer"
/>
<Log
Name="wenjingServer"
/>
</Server>
<Log
Name="wenjing"
/>
</Domain>
fileRealm.properties:
#Wed Feb 21 13:56:43 CST 2001
acl.modify.weblogic.jndi.weblogic.qa=everyone
acl.reserve.weblogic.jdbc.connectionPool.oraPool=system,everyone
acl.list.weblogic.jndi.a2.b3=user_ulm,user_ulx,user_xlm,user_xlx
acl.unlockuser.weblogic.passwordpolicy=Administrator
group.VP=javajoe
acl.reset.weblogic.jdbc.connectionPool.testpool=system
acl.list.weblogic.jndi.weblogic=system
acl.admin.dynapool=system
acl.lockServer.weblogic.admin=system
acl.list.weblogic.jndi.weblogic.ejb=system
acl.modify.weblogic.jndi=everyone
acl.lookup.weblogic.jndi.a1.b1=system,user_d2,user_d3
acl.lookup.weblogic.jndi.a1.b1.c1=system,user_d3
acl.lookup.weblogic.jndi.a2.b3=system,user_ulm,user_ulx,user_uxm,user_uxx
acl.lookup.weblogic.jndi.weblogic.qa=everyone
acl.write.weblogic.workspace.logintest=logintest,system,everyone
acl.modify.weblogic.jndi.weblogic.jnditest=everyone
acl.list.weblogic.jndi.weblogic.rmi=everyone
acl.write.weblogic.workspace=system,everyone
user.pool_user=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.user_d3=0xc7c108a184c72f84885d39891958f364e72bad75
acl.unlockServer.weblogic.admin=system
user.user_d2=0x7af158321bbe45ad0e3b5162a51a349cfc2ab096
user.user_d1=0xc1a38c8365bd23821c36f7fdb28a14cccf179d45
user.javajoe=0x965d271d8f359a5c4c89ae790ec5a40c62138e21
acl.reset.weblogic.jdbc.connectionPool.jtstestpool=system
acl.lookup.weblogic.jndi.VISIBLE.PROTECTED=system
acl.modify.weblogic.jndi.a1.b1=system
group.Administrator=system,j2ee
acl.modify.weblogic.jndi.weblogic=system
acl.modify.weblogic.jndi.a2.b3=system,user_ulm,user_uxm,user_xlm,user_xxm
acl.reserve.weblogic.jdbc.connectionPool.testpool=system,everyone
acl.modify.weblogic.jndi.weblogic.ejb=system
user.jtajtajta=0x0383f8017ad0146b105fa32ae16c6b132eff6c8f
acl.reserve.weblogic.jdbc.connectionPool.jtstestpool=system,jtajtajta
user.wsUser4=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.lookup.weblogic.jndi=everyone
user.wsUser3=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.wsUser2=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.reserve.dynapool=system,pool_user
user.wsUser1=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.wsUser0=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.modify.weblogic.jndi.weblogic.rmi=everyone
group.Manager=javajoe
user.user_xlx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.read.weblogic.workspace.logintest=logintest,system,everyone
group.Employee=j2ee
acl.execute.weblogic.servlet=system,everyone
acl.modify.weblogic.admin.acl=system
acl.lookup.weblogic.jndi.weblogic.ejb=system
acl.write.weblogic.workspace.guest=system,everyone,guest
user.user_xlm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.modify.weblogic.jndi.a1.b1.c1=system
acl.read.managedObject=system,guest
user.user_ulx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.lookup.weblogic.jndi.weblogic.rmi=everyone
user.user_xxm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
user.logintest=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.list.weblogic.jndi.weblogic.fileSystem=everyone
user.pool_nonuser=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.pool_creator=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.user_uxx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.list.weblogic.jndi=everyone
user.user_ulm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.read.weblogic.workspace.guest=system,everyone,guest
acl.lookup.weblogic.jndi.weblogic.fileSystem=everyone
user.invalidUser=0x86bea983a5a4aa62f2c6ef7f8762b5abb9c84ab3
user.user_uxm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.modify.weblogic.jndi.VISIBLE.PROTECTED=system
user.secuser2=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.secuser1=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.lookup.weblogic.jndi.weblogic.jnditest=everyone
group.Administrators=system
user.validUser=0x86bea983a5a4aa62f2c6ef7f8762b5abb9c84ab3
user.j2ee=0xd4e2696c23a37d2e5bf74919fa6383323671b60f
acl.receive.weblogic.event.TOP.SECRET=system
acl.list.weblogic.jndi.VISIBLE.PROTECTED=system
acl.reset.weblogic.jdbc.connectionPool.oraPool=system
user.brown=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.system=0x991228123e0dda8b7483886b7d6646633e5af15e
acl.write.managedObject=system
acl.modify.weblogic.jndi.weblogic.fileSystem=everyone
acl.lookup.weblogic.jndi.weblogic=everyone
acl.read.weblogic.workspace.system=system,everyone
acl.admin.weblogic.jdbc.connectionPoolcreate=system,pool_creator
acl.shutdown.weblogic.admin=system
acl.write.weblogic.workspace.system=system,everyone
acl.reset.weblogic.jdbc.connectionPool=system
acl.read.weblogic.workspace=system,everyone
acl.boot.weblogic.server=system,everyone
acl.submit.weblogic.event.TOP.SECRET=system
startWenJing.sh:
#!/bin/sh
# $Id$
# This script can be used to start WebLogic Server. This script
ensures
# that the server is started using the config.xml file found in
this
# directory and that the CLASSPATH is set correctly. This script
contains
# the following variables:
# WL_HOME - The root directory of your WebLogic Server
# installation
# JAVA_HOME - Determines the version of Java used to start
# WebLogic Server. This variable must point to
the
# root directory of a JDK installation and will
be set
# for you by the WebLogic Server installer.
# See the WebLogic platform support
# page (http://e-docs.bea.com/wls/platforms/index.html)
# for an up-to-date list of supported JVMs on
your platform.
# JAVA_OPTIONS - Java command-line options for running the server.
# jDriver for Oracle users: This script assumes that native libraries
# required for jDriver for Oracle have been installed in the proper
# location and that your system LD_LIBRARY_PATH variable has been
set appropriately.
# Also note that this script default to the oci816_8 version of
the
# shared libraries. If this is not the version you need, please
adjust the
# LD_LIBRARY_PATH variable accordingly.
# For additional information, refer to Installing and Setting up
WebLogic
# Server (http://e-docs.bea.com/wls/docs60/install/index.html).
# Set user-defined variables.
JAVA_HOME=/home/jdk130
WL_HOME=/home/wlserver6.0
JAVA_OPTIONS="-ms64m -mx64m"
# Check that script is being run from the appropriate directory
if [ ! -f config.xml ]; then
echo "startWeblogic.sh: must be run from the config/wenjing directory."
1>&2
# Check for classes
elif [ ! -f $WL_HOME/lib/weblogic.jar ]; then
echo "The weblogic.jar file was not found in directory $WL_HOME/lib."
1>&2
# Check for JDK
elif [ ! -f $JAVA_HOME/bin/java ]; then
echo "The JDK wasn't found in directory $JAVA_HOME." 1>&2
else
cd ../..
# Grab some file descriptors.
maxfiles=`ulimit -H -n`
if [ ! $? -a "$maxfiles" != 1024 ]; then
if [ "$maxfiles" = "unlimited" ]; then
maxfiles=1025
fi
if [ "$maxfiles" -lt 1024 ]; then
ulimit -n $maxfiles
else
ulimit -n 1024
fi
fi
# Figure out how to use our shared libraries
case `uname -s` in
AIX)
if [ -n "$LIBPATH" ]; then
LIBPATH=$LIBPATH:$WL_HOME/lib/aix
else
LIBPATH=$WL_HOME/lib/aix
fi
export LIB_PATH
echo "LIBPATH=$LIBPATH"
HP-UX)
if expr "`uname -r`" : "..11..." > /dev/null 2>&1; then
hpsubdir=hpux11
elif expr "`uname -r`" : "..10..." > /dev/null 2>&1; then
hpsubdir=hpux10
fi
chmod a+x `find $WL_HOME/lib/$hpsubdir -name "*.sl" -print`
if [ -n "$SHLIB_PATH" ]; then
SHLIB_PATH=$SHLIB_PATH:$WL_HOME/lib/$hpsubdir
else
SHLIB_PATH=$WL_HOME/lib/$hpsubdir
fi
export SHLIB_PATH
echo "SHLIB_PATH=$SHLIB_PATH"
JAVA_OPTIONS="-classic $JAVA_OPTIONS"
IRIX)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/irix
else
LD_LIBRARY_PATH=$WL_HOME/lib/irix
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
LINUX)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/linux
else
LD_LIBRARY_PATH=$WL_HOME/lib/linux
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
OSF1)
if [ -n "$_RLD_LIST" ]; then
RLDLIST=$_RLD_LIST:$WL_HOME/lib/tru64unix
else
RLDLIST=$WL_HOME/lib/tru64unix
fi
export RLDLIST
echo "_RLD_LIST=$_RLD_LIST"
SunOS)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
else
LD_LIBRARY_PATH=$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
JAVA_OPTIONS="-hotspot $JAVA_OPTIONS"
echo "$0: Don't know how to set the shared library path for `uname
-s`. "
esac
CLASSPATH=$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar:$WL_HOME/samples/eval/cloudscape/lib/cloudscape.jar:.
WLS_PW=weblogic
PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=wenjing
-Dweblogic.Name=wenjingServer -Dbea.home=/home -Dcloudscape.system.home=/home/wlsserver6.0/samples/eval/cloudscape/data
-Djava.security.policy==/home/wlserver6.0/lib/weblogic.policy -Dweblogic.management.password=$WLS_PW
weblogic.Server
cd config/wenjing
fi
err msg:
LD_LIBRARY_PATH=/home/wlserver6.0/lib/solaris:/home/wlserver6.0/lib/solaris/oci816_8
Enter password to boot weblogic server:LD_LIBRARY_PATH=/home/wlserver6.0/lib/solaris:/home/wlserver6.0/lib/solaris/oci816_8
Starting WebLogic Server ....
<Feb 27, 2001 11:55:17 AM CST> <Notice> <Management> <Loading configuration
file ./config/wenjing/config.xml ...>
<Feb 27, 2001 11:55:19 AM CST> <Info> <Logging> <Only log messages
of severity "Error" or worse will be displayed in this window.
This can be changed at Admin Console> wenjing> Servers> wenjingServer>
Logging> Debugging> Stdout severity threshold>
<Feb 27, 2001 11:55:22 AM CST> <Emergency> <Server> <Unable to
initialize the server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user
system denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied
in realm weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
at weblogic.security.acl.internal.Security.authenticate(Security.java:113)
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
at weblogic.security.SecurityService.initialize(SecurityService.java:123)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.SecurityException: Authentication for
user system denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied
in realm weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
at weblogic.security.acl.internal.Security.authenticate(Security.java:113)
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
at weblogic.security.SecurityService.initialize(SecurityService.java:123)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exceptionWe have four developers which makes up one develop team. Now we
want to develop together on one server, which is installed with
weblogic6.0 under solaris7. We want each developer can make his
own ejb separately on his own computer but all developers can deploy
their components on the server. In this case we need each developer
has separate environment on the sever. Even though I read all documents
of WebLogic6.0 I cannot find out a way to configure a proper develop
environment. Should I start several domains or should I start several
servers in one domain? I noticed that there are 3 default domains
after installing the weblogic6.0 and I can startup them concurrently
with configuring different port. I tried to create new domains
for each developer in the console. I copied “config.xml”,
“startxxxDomain.sh” and “fileRealm.properties”
to the new domain and changed the domainname in these files. But
finally I got an error message as the following files
config.xml:
<!--If your domain is active, please do not edit the config.xml
file. Any changes made to that file while the domain is active
will not have any effect on the domain's configuration and are
likely to be lost. If your domain is inactive, you may edit this
file with an XML editor. If you do so, please refer to the configuration
DTD. In general, we recommend that changes to your configuration
file be made through the Administration Console.-->
<Domain
Name="wenjing"
>
<JTA
Name="wenjing"
/>
<ApplicationManager
Name="wenjing"
/>
<Security
Name="wenjing"
/>
<Server
AdministrationPort="0"
ListenAddress=""
ListenPort="8001"
Machine=""
Name="wenjingServer"
>
<ServerDebug
Name="wenjingServer"
/>
<WebServer
Name="wenjingServer"
/>
<KernelDebug
Name="wenjingServer"
/>
<SSL
Name="wenjingServer"
/>
<Log
Name="wenjingServer"
/>
</Server>
<Log
Name="wenjing"
/>
</Domain>
fileRealm.properties:
#Wed Feb 21 13:56:43 CST 2001
acl.modify.weblogic.jndi.weblogic.qa=everyone
acl.reserve.weblogic.jdbc.connectionPool.oraPool=system,everyone
acl.list.weblogic.jndi.a2.b3=user_ulm,user_ulx,user_xlm,user_xlx
acl.unlockuser.weblogic.passwordpolicy=Administrator
group.VP=javajoe
acl.reset.weblogic.jdbc.connectionPool.testpool=system
acl.list.weblogic.jndi.weblogic=system
acl.admin.dynapool=system
acl.lockServer.weblogic.admin=system
acl.list.weblogic.jndi.weblogic.ejb=system
acl.modify.weblogic.jndi=everyone
acl.lookup.weblogic.jndi.a1.b1=system,user_d2,user_d3
acl.lookup.weblogic.jndi.a1.b1.c1=system,user_d3
acl.lookup.weblogic.jndi.a2.b3=system,user_ulm,user_ulx,user_uxm,user_uxx
acl.lookup.weblogic.jndi.weblogic.qa=everyone
acl.write.weblogic.workspace.logintest=logintest,system,everyone
acl.modify.weblogic.jndi.weblogic.jnditest=everyone
acl.list.weblogic.jndi.weblogic.rmi=everyone
acl.write.weblogic.workspace=system,everyone
user.pool_user=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.user_d3=0xc7c108a184c72f84885d39891958f364e72bad75
acl.unlockServer.weblogic.admin=system
user.user_d2=0x7af158321bbe45ad0e3b5162a51a349cfc2ab096
user.user_d1=0xc1a38c8365bd23821c36f7fdb28a14cccf179d45
user.javajoe=0x965d271d8f359a5c4c89ae790ec5a40c62138e21
acl.reset.weblogic.jdbc.connectionPool.jtstestpool=system
acl.lookup.weblogic.jndi.VISIBLE.PROTECTED=system
acl.modify.weblogic.jndi.a1.b1=system
group.Administrator=system,j2ee
acl.modify.weblogic.jndi.weblogic=system
acl.modify.weblogic.jndi.a2.b3=system,user_ulm,user_uxm,user_xlm,user_xxm
acl.reserve.weblogic.jdbc.connectionPool.testpool=system,everyone
acl.modify.weblogic.jndi.weblogic.ejb=system
user.jtajtajta=0x0383f8017ad0146b105fa32ae16c6b132eff6c8f
acl.reserve.weblogic.jdbc.connectionPool.jtstestpool=system,jtajtajta
user.wsUser4=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.lookup.weblogic.jndi=everyone
user.wsUser3=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.wsUser2=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.reserve.dynapool=system,pool_user
user.wsUser1=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.wsUser0=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.modify.weblogic.jndi.weblogic.rmi=everyone
group.Manager=javajoe
user.user_xlx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.read.weblogic.workspace.logintest=logintest,system,everyone
group.Employee=j2ee
acl.execute.weblogic.servlet=system,everyone
acl.modify.weblogic.admin.acl=system
acl.lookup.weblogic.jndi.weblogic.ejb=system
acl.write.weblogic.workspace.guest=system,everyone,guest
user.user_xlm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.modify.weblogic.jndi.a1.b1.c1=system
acl.read.managedObject=system,guest
user.user_ulx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.lookup.weblogic.jndi.weblogic.rmi=everyone
user.user_xxm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
user.logintest=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.list.weblogic.jndi.weblogic.fileSystem=everyone
user.pool_nonuser=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.pool_creator=0xee1ccda7b117f5aaa9c9a184daa2cf3e8c0fd3b7
user.user_uxx=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.list.weblogic.jndi=everyone
user.user_ulm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.read.weblogic.workspace.guest=system,everyone,guest
acl.lookup.weblogic.jndi.weblogic.fileSystem=everyone
user.invalidUser=0x86bea983a5a4aa62f2c6ef7f8762b5abb9c84ab3
user.user_uxm=0x72c273dddc7233e2235e97eccfcecafe6ddebaf8
acl.modify.weblogic.jndi.VISIBLE.PROTECTED=system
user.secuser2=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.secuser1=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
acl.lookup.weblogic.jndi.weblogic.jnditest=everyone
group.Administrators=system
user.validUser=0x86bea983a5a4aa62f2c6ef7f8762b5abb9c84ab3
user.j2ee=0xd4e2696c23a37d2e5bf74919fa6383323671b60f
acl.receive.weblogic.event.TOP.SECRET=system
acl.list.weblogic.jndi.VISIBLE.PROTECTED=system
acl.reset.weblogic.jdbc.connectionPool.oraPool=system
user.brown=0x1dddd9e6aadde8962c0a7d584584e47924fb21c1
user.system=0x991228123e0dda8b7483886b7d6646633e5af15e
acl.write.managedObject=system
acl.modify.weblogic.jndi.weblogic.fileSystem=everyone
acl.lookup.weblogic.jndi.weblogic=everyone
acl.read.weblogic.workspace.system=system,everyone
acl.admin.weblogic.jdbc.connectionPoolcreate=system,pool_creator
acl.shutdown.weblogic.admin=system
acl.write.weblogic.workspace.system=system,everyone
acl.reset.weblogic.jdbc.connectionPool=system
acl.read.weblogic.workspace=system,everyone
acl.boot.weblogic.server=system,everyone
acl.submit.weblogic.event.TOP.SECRET=system
startWenJing.sh:
#!/bin/sh
# $Id$
# This script can be used to start WebLogic Server. This script
ensures
# that the server is started using the config.xml file found in
this
# directory and that the CLASSPATH is set correctly. This script
contains
# the following variables:
# WL_HOME - The root directory of your WebLogic Server
# installation
# JAVA_HOME - Determines the version of Java used to start
# WebLogic Server. This variable must point to
the
# root directory of a JDK installation and will
be set
# for you by the WebLogic Server installer.
# See the WebLogic platform support
# page (http://e-docs.bea.com/wls/platforms/index.html)
# for an up-to-date list of supported JVMs on
your platform.
# JAVA_OPTIONS - Java command-line options for running the server.
# jDriver for Oracle users: This script assumes that native libraries
# required for jDriver for Oracle have been installed in the proper
# location and that your system LD_LIBRARY_PATH variable has been
set appropriately.
# Also note that this script default to the oci816_8 version of
the
# shared libraries. If this is not the version you need, please
adjust the
# LD_LIBRARY_PATH variable accordingly.
# For additional information, refer to Installing and Setting up
WebLogic
# Server (http://e-docs.bea.com/wls/docs60/install/index.html).
# Set user-defined variables.
JAVA_HOME=/home/jdk130
WL_HOME=/home/wlserver6.0
JAVA_OPTIONS="-ms64m -mx64m"
# Check that script is being run from the appropriate directory
if [ ! -f config.xml ]; then
echo "startWeblogic.sh: must be run from the config/wenjing directory."
1>&2
# Check for classes
elif [ ! -f $WL_HOME/lib/weblogic.jar ]; then
echo "The weblogic.jar file was not found in directory $WL_HOME/lib."
1>&2
# Check for JDK
elif [ ! -f $JAVA_HOME/bin/java ]; then
echo "The JDK wasn't found in directory $JAVA_HOME." 1>&2
else
cd ../..
# Grab some file descriptors.
maxfiles=`ulimit -H -n`
if [ ! $? -a "$maxfiles" != 1024 ]; then
if [ "$maxfiles" = "unlimited" ]; then
maxfiles=1025
fi
if [ "$maxfiles" -lt 1024 ]; then
ulimit -n $maxfiles
else
ulimit -n 1024
fi
fi
# Figure out how to use our shared libraries
case `uname -s` in
AIX)
if [ -n "$LIBPATH" ]; then
LIBPATH=$LIBPATH:$WL_HOME/lib/aix
else
LIBPATH=$WL_HOME/lib/aix
fi
export LIB_PATH
echo "LIBPATH=$LIBPATH"
HP-UX)
if expr "`uname -r`" : "..11..." > /dev/null 2>&1; then
hpsubdir=hpux11
elif expr "`uname -r`" : "..10..." > /dev/null 2>&1; then
hpsubdir=hpux10
fi
chmod a+x `find $WL_HOME/lib/$hpsubdir -name "*.sl" -print`
if [ -n "$SHLIB_PATH" ]; then
SHLIB_PATH=$SHLIB_PATH:$WL_HOME/lib/$hpsubdir
else
SHLIB_PATH=$WL_HOME/lib/$hpsubdir
fi
export SHLIB_PATH
echo "SHLIB_PATH=$SHLIB_PATH"
JAVA_OPTIONS="-classic $JAVA_OPTIONS"
IRIX)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/irix
else
LD_LIBRARY_PATH=$WL_HOME/lib/irix
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
LINUX)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/linux
else
LD_LIBRARY_PATH=$WL_HOME/lib/linux
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
OSF1)
if [ -n "$_RLD_LIST" ]; then
RLDLIST=$_RLD_LIST:$WL_HOME/lib/tru64unix
else
RLDLIST=$WL_HOME/lib/tru64unix
fi
export RLDLIST
echo "_RLD_LIST=$_RLD_LIST"
SunOS)
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
else
LD_LIBRARY_PATH=$WL_HOME/lib/solaris:$WL_HOME/lib/solaris/oci816_8
fi
export LD_LIBRARY_PATH
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
JAVA_OPTIONS="-hotspot $JAVA_OPTIONS"
echo "$0: Don't know how to set the shared library path for `uname
-s`. "
esac
CLASSPATH=$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar:$WL_HOME/samples/eval/cloudscape/lib/cloudscape.jar:.
WLS_PW=weblogic
PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=wenjing
-Dweblogic.Name=wenjingServer -Dbea.home=/home -Dcloudscape.system.home=/home/wlsserver6.0/samples/eval/cloudscape/data
-Djava.security.policy==/home/wlserver6.0/lib/weblogic.policy -Dweblogic.management.password=$WLS_PW
weblogic.Server
cd config/wenjing
fi
err msg:
LD_LIBRARY_PATH=/home/wlserver6.0/lib/solaris:/home/wlserver6.0/lib/solaris/oci816_8
Enter password to boot weblogic server:LD_LIBRARY_PATH=/home/wlserver6.0/lib/solaris:/home/wlserver6.0/lib/solaris/oci816_8
Starting WebLogic Server ....
<Feb 27, 2001 11:55:17 AM CST> <Notice> <Management> <Loading configuration
file ./config/wenjing/config.xml ...>
<Feb 27, 2001 11:55:19 AM CST> <Info> <Logging> <Only log messages
of severity "Error" or worse will be displayed in this window.
This can be changed at Admin Console> wenjing> Servers> wenjingServer>
Logging> Debugging> Stdout severity threshold>
<Feb 27, 2001 11:55:22 AM CST> <Emergency> <Server> <Unable to
initialize the server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user
system denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied
in realm weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
at weblogic.security.acl.internal.Security.authenticate(Security.java:113)
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
at weblogic.security.SecurityService.initialize(SecurityService.java:123)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.SecurityException: Authentication for
user system denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied
in realm weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
at weblogic.security.acl.internal.Security.authenticate(Security.java:113)
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
at weblogic.security.SecurityService.initialize(SecurityService.java:123)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception -
How to commit data when item is being validated
the problem is, that I have an input field on the form. when
ever I make changes in it I need to validate the change first.
and if its validated then I need to make certain changes in the
database and commit.
I have written code in when-validate-item, which is called when
ever I make change in the input field. In this trigger I first
check data entry is correct and then make certain changes in the
database and finally when I try to commit the changes I made it
gives me error message of illegal restriction cannot use commit
procedure in when-validate-item.
can anyone help me as how can I validate an input field first
and then make transactions in the database and commit.
thanksHi
I do not know exactly what you want to
do, so use this with care.
If you want to commit only the database
(not forms itself), you can use:
forms_ddl('commit');
If you need to commit the form itself,
in the when-validate-item you can
create a timer, and in the when-timer-expired
trigger do a commit.
Luis Cabral -
How to test domain controller on upgraded Win Server 2008 R2
The windows team recently upgraded the development environment for the domain controller from 2003 to Windows 2008 R2 and I am to test the Idm functionality on this upgraded version. Our current configuration is that the DC and Idm gateway runs on different machines. To test this new DC, i want to install the idm gateway on that server and run some onboarding and termination test cases just to make sure if the AD connection is working on the upgraded DC. But i am getting ’Input/output error’ when i try to install the service and from the documentation it says 'The most common cause of this is that you do not have rights to work with this service.'. The server admin tried installing the gateway with his id as well and it failed. He tested installing in on the 2003 version of DC and it worked, so its not a matter of permission (i think..)...
Does anyone have any better idea on how to test an upgrade of a DC from version 2003 to 2008 R2? Any help in this matter is appreciated. We are running Idm 8.1 on a Windows platform and an upgrade to OW 8.1.1. Patch 2 is also in the works..
Thanks in advance.I may have found a workaround. Can you try to change the "compatibility mode" in 2008 R2 to "Windows XP SP3" and see if it will install?
Admittedly I have not done this myself so I'm not entirely sure where or how it's done, but I have confirmation it resolves the issue from others who have faced it. -
How to COMMIT all open transactions?
Hi,
I have 10.2.0.4 on Windows.
I need to run a critical month-end DataPump export of 1 schema. Easy enough. The system will be in-use by the end users when this runs. Not many maybe 10 users will be connected and it is not a very large db - 10 GB.
My concern is that there may be a few uncommitted transactions hanging around that may not be written to the dump file. If I run COMMIT; that only commits for my session, right? How can I force all open transactions for all users to be committed just before I run the DP export?
-OR- is DataPump so sophisticated that it will auto. commit them first?
Thanks for your ideas. Johnuser629010 wrote:
Thanks, Justin.
This is a 24 hour system so I don't want to interrupt the users unless there is no other option.
Yes the RMAN backups are complete but I just need the export for purposes of refreshing my reporting database at each month-end. So I will use impdp to do the import. This is the way we have been doing it for awhile.
We only recently became aware of some out-of-balance issues (money) and we thought uncommitted transactions may be partly responsible.
I know the application code controls when the commit takes place but, in general, is this something you would be concerned with?
Another question if I may: how can I see how many open transactions there are at a given time?
Thanks, JohnIf you think about what constitutes a "transaction" (and financial balances are the textbook example of such) then you realize that it is absolutely the responsibility of the transaction to decide when to commit. An outside process (like an evil DBA) can safely force a rollback of an incomplete transaction (say, by killing the session), but to force a COMMIT? Suppose the session had only updated 2 of 4 tables that needed to be updated to consitute a complete transaction and guarantee your account balances? How do you suppose your "force" will know what the other two table updates are?
Maybe you could explain in more detail how you intend to use this export, particularly in relation to where it was you found the out of balance issues.. -
How to commit primary key in a multi level form
Hi ,
I am using Jdeveloper 10.1.2.3. ADF - Struts jsp application.
I have an application that has multiple levels before it finally commits, say:
Level 1 - enter name , address, etc details -- Master Table Employee
Level 2 - Add Education details -- Detail Table Education
Level 3 - Experience -- Detail Table Experience.
Level 4 - adding a Approver -- Detail Table ApplicationApproval
In all this from Level 1 I generate a document number which is the primary key that links all these tables.
Now if User A starts Level 1 and moves to level 2,he gets document no = 100 and then User B starts Level 1 and also gets document no = 100 because no commit is executed.
Now I have noticed that system crashes if User B calls a vo.validate().
How can I handle this case as Doc no is the only primary key.Hi,
This is what my department has been doing even before I joined and its been working for our multi user environment for these many years.
We have a table called DOC_SRNO which will hold a row for our start docno , next number in running sequence. the final number. We have this procedure that returns next num to calling application and increments the next num by 1 in the table. and final commit on the application commits all this.
I am not sure how this was working so far but each of those applications were for different employees. I am assuming this is how it worked.
Now in the application that I am working on, has no distinct value. So two users could generate the same docno and proceed.
I will try the DB sequence but here is what I tried. I call the next num from DOC_SRNO and I commit this table update and then proceed with this docno so at a time both gets different docno's.
But my running session crashes when I go to next level to insert into the detail table of my multi level form. Here when I try to get the current row from the vo which is in context, it crashes.
Here's the steps.
Three tables : voMainTable1 and voDetailTable1 and voDetailTable2.
voMainTable1 on create row1- I generate new docno - post changes
voMainTable1 on create row2- I genrate another docno - post changes
set voMainTable1 in context
Now I call voDetailTable1 and to get the docno to join master detail, I try to get voMainTable1.getCurrentRow. Here it crashes.
How can I avoid this -
How to transfer domain name to Adobe Catalyst
I currently have a website/domain name and email address through Clikpic. I have now changed directions and designed my own website with muse. How do I go about transferring everything to Adobe.
Hi,
http://forums.adobe.com/docs/DOC-1741
Maybe you are looking for
-
Email a form in Adobe Acrobat 9
Hello! I have been looking through the threads but in relation to designing a form for someone else, and setting up a submit email to that person rather than the form's author. I think I read somewhere that this can be easily done with Live Cycle, s
-
How to write SQL in crystal report that can reuse SQL execution plan cache?
I write the following SQL with crystal report parameter fields, and it is connecting to SQL 2005 Select Name from Customer where CustID = '{?CustID}' The SQL profiler show that It is an ad-hoc query, how to write parameterized SQL which can reuse Exe
-
Help with mdb core analysis tool
Hi, We are having a possibly memory leak problem but we don't know for sure. In order to find out if there any memory leaks, we are trying to use "mdb" tool that comes along with Solaris (version: SunOS romeo 5.10 Generic_125100-10 sun4v sparc SUNW,S
-
Differetn redo log names on primary db and standby db.
we are using oracle 10.2.0.2 to run sap. we plan to use data guard.the os is suse linux 10.3. the archived redo log name's prefix is '1_' like '1_167109_678247864.dbf' on primary db. if i recover standy database mannuly with cmd 'ALTER DATABASE RECOV
-
DC component measurement using BasicDC-RMS and AvgDCRMS
Hello, I am planning to calculate the DC component from a noisy signal.Both the BasicDC-RMS and AvgDCRMS vi's will the give the ouput as the waveform but how to get them as a constant instead of showing it with the waveform.As the DC component of the