Problem in accessing filesystem.
Hi All,
I have a code which access the filesystem of the mobile. It runs nicely on emulator. But It is not running on mobile. It stops after reaching a particular
line.
FileSystemRegistry.listRoots();
So please help me.
Thanks.
But,
I'have already set the permission in the jad. And I 've signed the midlet using
the self created certificate. And I've installed that cerficate on to the mobile.
Still It is not working. So Do I have to purchase the valid certificate from the
CA bodies like versign, javaverified.
Please explain me the exact step to use self-created certificate if it is possible.
Thanks,
Similar Messages
-
i have an iPhone 4S 64GB. The screen went blank. Screenshots done manually then accessed from the
filesystem are found to be 768x576. New screen - still blank. Can't unlock the phone - can only access
filesystem on computers that previously synced with it.
iOS has done quite a good job of adapting to the 'new' resolution, but my phone is now useless. I can't
unlock it because i guess iOS is strectching the screen beyond the touchscreen sensor.
Any ideas what might be wrong - I could get an iphone repair shop to put a new screen connector in if
that could be the problem (the could reball the sound DSP chip at the same time as that has failed;
nothing some tape over the top mic can't fix but would rather not have to do that. I won't return to apple
as they would just replace the motherboard (more likely the whole phone) and I would lose all my text
messages, apps, and so on. Some apps are no longer on the app store either.
Thank you for any advice - particularly as to why iOS is detecting a screen size that doesn't exist on
any iOS device, and presumably this is at least one reason for the 'blank' screen (backlight works
but screen is black). All the usual tricks like hard reset make no difference.
Thank you!Thank you for your useful reply - it has solved the problem that my phone was running in
an unsupported display mode that no iOS device ever made has run in!
My laptop is also not user serviceable, but it seems to be running an nVidia card two
generations ahead of the one it was made for, due to a BIOS modification.
My MacBook Pro on the other hand definitely hasn't been taken apart, but at least it
is the non-Retina one (I had the choice of both), and has the latest specs, and yet in
the future will be user-servicable (e.g. replace battery on a Retina MacBook, or even
replace the touchpad - will be an (impossible) nightmare! -
How can a MDB access filesystem?
Hi,everyone. Should you help me resolve this problem?
<b>--How can a MDB access filesystem?</b>
SOURCE CODE:
public void onMessage(javax.jms.Message aMessage) {
try{
FileOutputStream fos = new FileOutputStream(new File("D:\\Temp\\a.nok"));
fos.write("testing".getBytes() );
fos.flush();
fos.close();
}catch(Exception e){
e.printStackTrace();
RESPONSE:
java.security.AccessControlException: access denied (java.io.FilePermission D:\Temp\a.nok write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkWrite(SecurityManager.java:975)
at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at neu.mid.mag.mlm.MsgMonitorBean.onMessage(MsgMonitorBean.java:51)
at com.sun.ejb.containers.MessageBeanContainer.onMessage(MessageBeanContainer.java:653)
at com.sun.ejb.containers.MessageBeanListenerConcurrent.onMessage(MessageBeanListenerConcurrent.java:20)
at com.sun.jms.client.SessionImpl.onSessionMessageListener(SessionImpl.java:981)
at com.sun.jms.client.SessionImpl.deliverMessage(SessionImpl.java:1072)
at com.sun.jms.client.JMSClientImpl.sendMessage(JMSClientImpl.java:149)
at org.omg.stub.com.sun.jms.client._JMSClientImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:350)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:250)
at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:227)
at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:269)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at org.omg.stub.com.sun.jms._JMSClient_Stub.sendMessage(Unknown Source)
at com.sun.jms.service.ConnectionImpl.sendMessage(ConnectionImpl.java:475)
at com.sun.jms.service.SessionImpl.processOutgoingMessages(SessionImpl.java:1295)
at com.sun.jms.service.SessionImpl.access$000(SessionImpl.java:45)
at com.sun.jms.service.SessionImpl$1.activityDetected(SessionImpl.java:1014)
at com.sun.jms.util.WorkerThread.run(WorkerThread.java:87)Hi,
Hi,everyone. Should you help me resolve this problem?
<b>--How can a MDB access filesystem?</b>
SOURCE CODE:
public void onMessage(javax.jms.Message aMessage)
ge) {
try{
FileOutputStream fos = new
m fos = new FileOutputStream(new
File("D:\\Temp\\a.nok"));
fos.write("testing".getBytes() );
fos.flush();
fos.close();
}catch(Exception e){
e.printStackTrace();
This is fine .......
RESPONSE:
java.security.AccessControlException: access denied
(java.io.FilePermission D:\Temp\a.nok write)
at
at
at
t
java.security.AccessControlContext.checkPermission(Acce
sControlContext.java:270)
at
at
at
t
java.security.AccessController.checkPermission(AccessCo
troller.java:401)
at
at
at
t
java.lang.SecurityManager.checkPermission(SecurityManag
r.java:542)
at
at
at
t
java.lang.SecurityManager.checkWrite(SecurityManager.ja
a:975)
at
at
at
t
java.io.FileOutputStream.<init>(FileOutputStream.java:1
9)
at
at
at
t
java.io.FileOutputStream.<init>(FileOutputStream.java:1
1)
at
at
at
t
neu.mid.mag.mlm.MsgMonitorBean.onMessage(MsgMonitorBean
java:51)
at
at
at
t
com.sun.ejb.containers.MessageBeanContainer.onMessage(M
ssageBeanContainer.java:653)
at
at
at
t
com.sun.ejb.containers.MessageBeanListenerConcurrent.on
essage(MessageBeanListenerConcurrent.java:20)
at
at
at
t
com.sun.jms.client.SessionImpl.onSessionMessageListener
SessionImpl.java:981)
at
at
at
t
com.sun.jms.client.SessionImpl.deliverMessage(SessionIm
l.java:1072)
at
at
at
t
com.sun.jms.client.JMSClientImpl.sendMessage(JMSClientI
pl.java:149)
at
at
at
t
org.omg.stub.com.sun.jms.client._JMSClientImpl_Tie._inv
ke(Unknown Source)
at
at
at
t
com.sun.corba.ee.internal.corba.ServerDelegate.dispatch
ServerDelegate.java:350)
at
at
at
t
com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:250
at
at
at
t
com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.i
voke(LocalClientRequestImpl.java:96)
at
at
at
t
com.sun.corba.ee.internal.corba.ClientDelegate.invoke(C
ientDelegate.java:227)
at
at
at
t
com.sun.corba.ee.internal.corba.ClientDelegate.invoke(C
ientDelegate.java:269)
at
at
at
t
org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.ja
a:457)
at
at
at
t
org.omg.stub.com.sun.jms._JMSClient_Stub.sendMessage(Un
nown Source)
at
at
at
t
com.sun.jms.service.ConnectionImpl.sendMessage(Connecti
nImpl.java:475)
at
at
at
t
com.sun.jms.service.SessionImpl.processOutgoingMessages
SessionImpl.java:1295)
at
at
at
t
com.sun.jms.service.SessionImpl.access$000(SessionImpl.
ava:45)
at
at
at
t
com.sun.jms.service.SessionImpl$1.activityDetected(Sess
onImpl.java:1014)
at
at
at
t
com.sun.jms.util.WorkerThread.run(WorkerThread.java:87)
First of all in the specificaitons it is recommended not to use the i/o with ejb.So you should avoid doing same.
Now the exception you are getting is due to the SecurityManager at the server side JVM.In order to make it run you have to modify the java.policy file present with in the JAVA_HOME/jre/lib/security.
With in this file you add the following entry
permission java.io.FilePermission "D:\\Temp\\a.nok", "read,write";
For more details you should refer to the concept of the Security Manager which is not loaded by default in java app but in applets and in server side applications it is made for security purposes.
Regards
Vicky -
Can't access filesystem?
I installed arch and openbox But I cant seem to access my storage filesystem I get an error like
mount: warning: /mnt/1 seems to be mounted read-only.
and then when I try to cd to the directory...
[!@#$%@Outlaw mnt]$ cd /mnt/1
bash: cd: /mnt/1: Permission denied
[!@#$%@Outlaw mnt]$
But I can access it through the root user but not with my normal user account.
And I also dont have a problem with other filesystemsSN4K3 wrote:
I installed arch and openbox But I cant seem to access my storage filesystem I get an error like
mount: warning: /mnt/1 seems to be mounted read-only.
and then when I try to cd to the directory...
[!@#$%@Outlaw mnt]$ cd /mnt/1
bash: cd: /mnt/1: Permission denied
[!@#$%@Outlaw mnt]$
But I can access it through the root user but not with my normal user account.
And I also dont have a problem with other filesystems
i think that the permissions on /mnt/1 need to be changed so that your "normal" user can read it. check out chmod. -
Problem while accessing a complex data type
hi,
I am getting a problem while accessing a complex data type
I have a wsdl as:
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="OutlookReminderService" targetNamespace="http://ws.aftek.com/outlook-reminder" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://ws.aftek.com/outlook-reminder/schemas" xmlns:ns3="http://java.sun.com/jax-rpc-ri/internal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.aftek.com/outlook-reminder" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <types>
- <schema targetNamespace="http://ws.aftek.com/outlook-reminder/schemas" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.aftek.com/outlook-reminder/schemas" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://java.sun.com/jax-rpc-ri/internal" />
- <complexType name="TaskVO">
- <sequence>
<element name="dueDate" type="long" />
<element name="percentageComplete" type="int" />
<element name="priorty" type="int" />
<element name="reminderDate" type="long" />
<element name="reminderSet" type="boolean" />
<element name="startDate" type="long" />
<element name="status" type="int" />
<element name="subject" type="string" />
<element name="taskId" type="string" />
</sequence>
</complexType>
- <complexType name="NoSuchUserException">
- <sequence>
<element name="message" type="string" />
</sequence>
</complexType>
- <complexType name="ArrayOfContactVO">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:ContactVO[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ContactVO">
- <sequence>
<element name="birthDate" type="long" />
<element name="companyAddress" type="string" />
<element name="companyName" type="string" />
<element name="emailID1" type="string" />
<element name="emailID2" type="string" />
<element name="emailID3" type="string" />
<element name="faxNumber" type="string" />
<element name="firstName" type="string" />
<element name="homeAddress" type="string" />
<element name="lastName" type="string" />
<element name="middleName" type="string" />
<element name="mobileNumber" type="string" />
<element name="phoneNumber" type="string" />
<element name="workContactNumber" type="string" />
</sequence>
</complexType>
</schema>
- <schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://java.sun.com/jax-rpc-ri/internal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://ws.aftek.com/outlook-reminder/schemas" />
- <complexType name="arrayList">
- <complexContent>
- <extension base="tns:list">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="list">
- <complexContent>
- <extension base="tns:collection">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="collection">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="anyType[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</types>
<message name="OutlookServer_addTaskResponse" />
- <message name="OutlookServer_getListResponse">
<part name="result" type="ns3:arrayList" />
</message>
- <message name="OutlookServer_getContactListResponse">
<part name="result" type="ns2:ArrayOfContactVO" />
</message>
- <message name="NoSuchUserException">
<part name="NoSuchUserException" type="ns2:NoSuchUserException" />
</message>
- <message name="OutlookServer_getContactList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_getList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_addTask">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <message name="OutlookServer_reminderOccurredResponse">
<part name="result" type="xsd:boolean" />
</message>
- <message name="OutlookServer_reminderOccurred">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <portType name="OutlookServer">
- <operation name="addTask" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_addTask" />
<output message="tns:OutlookServer_addTaskResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getContactList" parameterOrder="String_1">
<input message="tns:OutlookServer_getContactList" />
<output message="tns:OutlookServer_getContactListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getList" parameterOrder="String_1">
<input message="tns:OutlookServer_getList" />
<output message="tns:OutlookServer_getListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="reminderOccurred" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_reminderOccurred" />
<output message="tns:OutlookServer_reminderOccurredResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
</portType>
- <binding name="OutlookServerBinding" type="tns:OutlookServer">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="addTask">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getContactList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="reminderOccurred">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
</binding>
- <service name="OutlookReminderService">
- <port binding="tns:OutlookServerBinding" name="OutlookServerPort">
<soap:address location="http://truptid:8080/outlook-reminder-service/outlook" />
</port>
</service>
</definitions>
My client is :
private static String BODY_NAMESPACE_VALUE = "http://ws.abc.com/outlook-reminder";
private static String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
private static String NS_XSD = "http://www.w3.org/2001/XMLSchema";
private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
try{
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(new QName("OutlookReminderService"));
QName port =new QName("OutlookReminderService","OutlookServerPort");
Call call =service.createCall(port);
call.setTargetEndpointAddress("http://localhost:8080/outlook-reminder-service/outlook?wsdl");
call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
call.getReturnType();
call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "getList"));
QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);
//http://ws.aftek.com/outlook-reminder/schemas
QName QNAME_TYPE_VO = new QName("http://schemas.xmlsoap.org/soap/encoding/", "Array");
System.out.println("Before Add Parameter");
// call.addParameter("result", QNAME_TYPE_VO, ParameterMode.OUT);
call.setReturnType(QNAME_TYPE_VO,ArrayList.class);
System.out.println("After Add Parameter");
Object[] params ={oUserVO.getUserName()};
oArrayList =(ArrayList)call.invoke(params);
System.out.println("After Invoked");
//System.out.println("invoked"+ arrayList);
catch(SOAPFaultException faultException)
moLogger.debug("SOAPFaultException : ", faultException);
catch(RemoteException oremoteException)
moLogger.debug("RemoteException", oremoteException);
catch(ServiceException oServiceException)
moLogger.debug("ServiceException", oServiceException); }
Error got is :
trailing block elements must have an id attribute
at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:81)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:239)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:255)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
java.lang.NullPointerException
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:277)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
Message was edited by:
trupti_dUse lower case letters for your variable names (name, pwd). The code works then.
package com.bluenile.bean;
import java.io.*;
public class Bean1 implements Serializable
private String name="Uname";
private String pwd="Pword";
public String getName()
return name;
public String getPwd()
return pwd;
void setName(String name)
this.name = name;
void setPwd(String pwd)
this.pwd = pwd;
<HTML>
<BODY BGCOLOR="#FFFFFF">
<%@ page language="java" contentType="text/html" %>
<jsp:useBean id="b1" class="com.bluenile.bean.Bean1" />
<ul>
<li>Name : <jsp:getProperty name="b1" property="name" />
<li>Pwd : <jsp:getProperty name="b1" property="pwd" />
</ul>
</BODY>
</HTML> -
Problem in accessing data to remote pc
Hi,
I have a problem on accessing file on the remote pc, im using
coldfusion
then im trying to get file from a remote pc but its not
working im using
cfdirecrtory can somebody help me in my problem please...
Thanks in advance,,
johncheck that the user CF is running under has proper
permissions to access
the remote location. CF runs as a local user, so would not
normally
have access rights to remote locations...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
Hi,
I have a problem in accessing the node3a's current element. Following is the context structure (which I am getting from backend BAPI).
Node1 is the parent node, it has 3 child nodes, and further Node2c has 3 child node. I need to access current elements of node 3a and display them in a form.
Node1 0..n singleton-true
Node2a 0..n singleton-true
Node2b 0..n singleton-true
--- Node2c 0..1 singleton-true
node3a 0..1 singleton-true
node3b 0..n singleton-true
node3c 0..n singleton-true
I have written the following code to access but its giving no output, i tried priniting size and i am getting the size as 1 that means there is data.
wdContext.node2c().node3a().getElementAt(0).getAttributeValue("Meins");
if atleast i get this one element "Meins", i can put a loop and access all other elemets, but no luck.
i also tried:
wdContext.node2c().node3a().current3aElement().getMeins(); but still no luck.
Can you please help me in this as i m really stuck and needs to b resolved urgently.
Thanks & Regards,
JJHi friend,
I want to know one thing while on loading( or execution of service ) are you sure that values are coming in all node.
if cardinality is 0-n means it can have 0 or n numbers of elements in it. and even if there is one single element is there then you can access it otherwise it will throw null pointer exception. if there is some value in 3b then you can access it by.
wdContext.nodeNode1().nodeNode2c().nodeNode3b().getCurrentElement().getAttributeAsText("Attribute1");
Check it and let us know if any issue persist.
Regards
Jeetendra -
Problem with Access Policies (create multiple resources)
I'm having a problem with Access Policies:
The first policy must create a resource.
And the following policies should create childs on the resource.
The problem here is that when policies will add the childs, the resource is not provisioned yet.
And then each one will create a resource but i just want one resource with the childs.
When the resource is already provisioned, the policies update this resource properly.
How can I fix this?
tksRicardo,
I had a similar problem. In a post-process handler I was managing the user membership in specific roles through the removeMemberUser and the addMemberUser of the tcGroupOperationsIntf class.
The last parameter of this method was a boolean which, when true, would automatically trigger the access policies programmatically in the post-process.
The problem is that there also is an OOTB event handler for triggering access policies, so I was basically triggering the access policies twice and duplicated resources were appearing.
Hope this helps.
Cheers -
Problem with access to SMTP, IMAP, POP3 protocols in CAS 2013.
Hi,
we have problem with access thgrough SMTP, IMAP, POP3 protocols in CAS 2013.
If I test connection to SMTP 25 port from other computer, session end quickly.
Test from CAS2013 to localhost or public IP is OK (similar also for IMAP and POP3).
Receive connectors are with defaults settings, firewall is disabled.
Service Microsoft Frontend Transport Services restarted, but no success.
Certificate is assigned to IMAP, POP3, SMTP, IIS.
IIS and HTTP(s), protocols are OK. Clients can connects only thgrough web, mobile (ActiveSync), or with Outlook with proxy.
Do you have some tip, what to test?
If I create new testing receive connector on port 26 for anonymous, behaviour is same, quick disconnecting.
Thank's MirekHi,
Pleaser try to use the following link to test your STMP/POP/IMAP e-mail, and check the test if successful:
https://testconnectivity.microsoft.com/
If unsuccessful, please check the test result, it will tell us what caused the problem.
Thanks.
Niko Cheng
TechNet Community Support -
Problem with access to SipFactory from jsp-pages in JBoss environment
Hello!
I have an installation of the OCMS 10.1.3.3. deployed into a JBoss (jboss-4.0.5.GA) environment. Unfortunately I have a problem with accessing the SipFactory from a jps-page. Encouraged by the "messagesender" example I tried to get an instance of SipFactory from my jsp-page simply by calling:
SipFactory sipFactory = (SipFactory) application.getAttribute(SipServlet.SIP_FACTORY);
But unfortunately there seems to be no attribute "SipServlet.SIP_FACTORY" and I only get a null pointer. I have also tried running that code in the orignal messagesender example but it didn't work either. So I wonder if this should definetely work in a JBoss environment or if this might be a known problem. Is there anything that I could check/do regarding this problem? I suppose there must be an oracle module which should take care of making the SipFactory availabe after it is deployed. Perhaps something went wrong during the deployment?!
Best regards,
TimHi
On JBoss, OCMS does not support converge applications.
I.e the SipFactory can be retrieved from the servlet context when running on OC4J.
Instead the SipFactory can be found in JNDI as described in the Developer's Guide:
"External Access to SIP Servlets
To enable convergent applications between SIP and HTTP, the OCMS Container allows you to get access to the javax.servlet.sip.SipFactory by looking it up through JNDI. The SIP Factory will be registered under the same name as the display name of your SIP servlet as illustrated in Example 2–12. The <display-name> in the sip.xml in this case must be "My sip app".
Example 2–12 Accessing the Data for a SIP Session through JNDI
InitialContext ic = new InitialContext();
SipFactory sipFactory = (SipFactory)ic.lookup("sip/My sip app");"
Cheers
Lucas Persson -
OBIEE - Problem to access a DashBoard with &Action=Navigate&Format=pdf
Oracle Business Intelligence Product Version 10.1.3.4
Hi,
I have a problem to access a dashboard with &Action=Navigate&Format=pdf
This works:
http://company.com:9999/analytics/saw.dll?Dashboard&PortalPath=/shared/XXXXXXX/_portal/Dashboard1&Page=Page1&Action=Navigate
This works
http://company.com:9999/analytics/saw.dll?Dashboard&PortalPath=/shared/XXXXXXX/_portal/Dashboard1&Page=Page1&*Action=print*&Format=pdf
BUT this doesnt work_
http://company.com:9999/analytics/saw.dll?Dashboard&PortalPath=/shared/XXXXXXX/_portal/Dashboard1&Page=Page1&Action=Navigate&Format=pdf
When I try &Action=Navigate&Format=pdf I have a error:
Assertion failure: rElement.countChildElements() <= vColumns.size() at line 453 of Sun/995545/RH_Linux/vobs/8554.45.3325/analytics_web/main/project/websubsystems/xslfopostprocessor.cpp
Error Details
Error Codes: OQ78YWIW
I really need use &Action=Navigate because I'll pass some parameters on the PROMPT.
Oracle Business Intelligence Product Version 10.1.3.4
Can somebody help me ??
Thanks.Looks like a bug related to bug 7298035 - dashboard print to pdf causes assertion error!.
If possible check this doc ID 1054523.1
Btw: Whats the BI version?
If helps pls mark -
Problem in accessing mseg table using MSEG~M Index.
Hi Experts,
I am facing problem in accessing mseg table using MSEG~M Index. I used same sequence of fields and i tried with mandt field also. but it is not taking the Index and it is going for TImeout ABAP dump.
This are my codes used in different ways
1. SELECT mjahr
bwart
matnr
lifnr
dmbtr
kostl
aufnr
bukrs
FROM mseg CLIENT SPECIFIED INTO TABLE t_mseg2
WHERE mandt EQ sy-mandt AND
matnr NE SPACE AND
werks EQ p_werks AND
lgort NE '0000' AND
bwart IN (122,201,262) AND
sobkz NE '0'
%_HINTS ORACLE 'INDEX("MSEG" "MSEG~M")'.
2. SELECT mjahr
bwart
matnr
lifnr
dmbtr
kostl
aufnr
bukrs
FROM mseg INTO TABLE t_mseg2
WHERE matnr NE SPACE AND
werks EQ p_werks AND
lgort NE '0000' AND
bwart IN (122,201,262) AND
sobkz NE '0'
%_HINTS ORACLE 'INDEX("MSEG" "MSEG~M")'.
3. SELECT mjahr
bwart
matnr
lifnr
dmbtr
kostl
aufnr
bukrs
FROM mseg INTO TABLE t_mseg2
WHERE matnr NE SPACE AND
werks EQ p_werks AND
lgort NE '0000' AND
bwart IN (122,201,262) AND
sobkz NE '0'.
The above all code is not at all taking the index in Quality server .but in Development it is taking .In Quality server it is reading all datas without using the index and going Timeout ABAP dmup
Please, Suggest me some solutions.
Thanks in Advance.
Regards,
NandhaHi,
Without NE also not working out. i am facing same problem still.
SELECT bwart
matnr
lifnr
dmbtr
kostl
aufnr
FROM mseg CLIENT SPECIFIED INTO TABLE t_mseg
WHERE mandt EQ sy-mandt AND
werks EQ p_werks AND
bwart IN (122,201,262) AND
mjahr EQ p_year AND
bukrs EQ p_cc
%_HINTS ORACLE 'INDEX("MSEG" "MSEG~M")'.
Please,check and help me out from this issue.
Regards,
Nandha -
HI ,
I am New to EJB. Here i am getting a problem n accessing the resoucess which are deployed in weblogic. Here i want to access the resoucess from a jsp. So i declared a web.xml. In that what i need to write. can anybody help me what i can specify in web.xml
Thank you.Stop asking the same question again and again. It will decrease your chances of actually getting some help, because your rudeness will make people angry and less inclined to help.
Your whole approach sounds wrong, but that's your problem. I'm betting that you don't need EJBs. You shouldn't write JSPs without JSTL. Totally, utterly wrong.
But if you insist, I would recommend that you actually get a book or some documentation that shows you how to call an EJB from a web app. Since you're using WebLogic, maybe reading their documentation will help:
http://edocs.bea.com/wls/docs70/webapp/components.html
% -
Problem in accessing integration builder tool of XI
Hi
i am having problem in accessing integration builder tool of XI system , when i enter the user credentials it is getting hanged
can any body please help me with this
thanks and regards
PendyalaHi,
check whether your xi server is working fine or is it down. If you are not able to open the integration builder, what is the exact error message you are getting.
How are you trying to open your IB.
Are you able to login to SAPGUI for the XI client.
If so try to provide the tcode sxmb_ifr and check whether you are able to open the IB.
Reward points
Regards,
Nithiyanandam -
Problem for Accessing the Table BDCP..CDPOS..CDHDR..
Hi Guys,
i have the problem of accessing the BDCP table.it is working fine in development and testing server.it is taking more time in background in Production server..can anyone help me to optimize this code and please suggest me if i can change anyof the below logic..
Thanks a lot in advance.
LOOP AT t_cdobjid.
objectid-low = t_cdobjid-cdobjid.
objectid-sign = 'I'.
objectid-option = 'EQ' .
APPEND objectid.
CLEAR objectid.
count = count + 1.
IF count = 50.
CLEAR count.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
WHERE cretime IN r_cretime AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
CLEAR : objectid.
REFRESH: objectid.
ENDIF.
ENDLOOP.
IF NOT objectid[] IS INITIAL.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
WHERE cretime IN r_cretime AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
CLEAR : objectid.
REFRESH: objectid.
ENDIF.
IF NOT t_bdcp[] IS INITIAL.
t_bdcp_val[] = t_bdcp[].
DESCRIBE TABLE t_bdcp_val LINES l_lines.
l_max = 50.
l_mod = l_lines MOD l_max.
IF l_mod > 0.
l_loopcount = ( l_lines DIV l_max ) + 1.
ELSE .
l_loopcount = l_lines DIV l_max.
ENDIF.
DO l_loopcount TIMES.
CLEAR t_bdcp_emt.
REFRESH t_bdcp_emt.
IF sy-index = l_loopcount.
t_bdcp_emt[] = t_bdcp_val[].
ELSE.
APPEND LINES OF t_bdcp_val FROM 1 TO l_max TO t_bdcp_emt.
DELETE t_bdcp_val FROM 1 TO l_max.
ENDIF.
SELECT * FROM cdpos APPENDING TABLE t_cdpos_upc
FOR ALL ENTRIES IN t_bdcp_emt
WHERE
objectclas = 'MATERIAL' AND
objectid = t_bdcp_emt-cdobjid AND
changenr = t_bdcp_emt-cdchgno AND
tabname IN ('DMEAN', 'MARA' ) AND
fname IN ('KEY', 'EAN11' ) .
ENDDO.
CLEAR : l_lines ,
l_mod ,
l_loopcount.
IF sy-subrc EQ 0.
IF NOT t_cdpos_upc[] IS INITIAL.
t_cdpos_del[] = t_cdpos_upc[] .
DELETE t_cdpos_del WHERE tabname EQ 'MARA' .
SORT t_cdpos_del BY changenr .
LOOP AT t_cdpos_upc .
READ TABLE t_cdpos_del WITH KEY
changenr = t_cdpos_upc-changenr
BINARY SEARCH .
IF sy-subrc EQ 0 AND
t_cdpos_upc-chngind = 'U' .
DELETE t_cdpos_upc WHERE changenr = t_cdpos_upc-changenr
AND chngind = 'D' .
ENDIF.
t_upc_matnr-matnr = t_cdpos_upc-objectid .
APPEND t_upc_matnr .
ENDLOOP.
SORT t_upc_matnr BY matnr .
DELETE ADJACENT DUPLICATES FROM t_upc_matnr COMPARING matnr .
IF NOT t_cdpos_upc[] IS INITIAL.
t_cdpos_upc_val[] = t_cdpos_upc[].
DESCRIBE TABLE t_cdpos_upc_val LINES l_lines.
l_max = 50.
l_mod = l_lines MOD l_max.
IF l_mod > 0.
l_loopcount = ( l_lines DIV l_max ) + 1.
ELSE .
l_loopcount = l_lines DIV l_max.
ENDIF.
DO l_loopcount TIMES.
CLEAR t_cdpos_upc_emt.
REFRESH t_cdpos_upc_emt.
IF sy-index = l_loopcount.
t_cdpos_upc_emt[] = t_cdpos_upc_val[].
ELSE.
APPEND LINES OF t_cdpos_upc_val FROM 1 TO l_max TO
t_cdpos_upc_emt.
DELETE t_cdpos_upc_val FROM 1 TO l_max.
ENDIF.
SELECT * FROM cdhdr APPENDING TABLE it_cdhdr_upc
FOR ALL ENTRIES IN t_cdpos_upc_emt
WHERE objectclas EQ 'MATERIAL'
AND objectid = t_cdpos_upc_emt-objectid
AND changenr = t_cdpos_upc_emt-changenr.
ENDDO.
ENDIF.
PrabhuUse the PACKAGE SIZE oprion of the SELECT statement:
LOOP AT t_cdobjid.
objectid-low = t_cdobjid-cdobjid.
objectid-sign = 'I'.
objectid-option = 'EQ' .
APPEND objectid.
CLEAR objectid.
ENDLOOP.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
PACKAGE SIZE 5000
WHERE cretime IN r_cretim AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
ENDSELECT.
IF NOT objectid[] IS INITIAL.
Maybe you are looking for
-
I usually upgrade Firefox within a couple of days when the new version is issued. Nevertheless, I can't seem to get it right. Although when I check "About Firefox" tab in the Help menu it says that my version is 9.0.1 (i.e. the latest version availab
-
Oracle 11g R2 Install on Windows 7 64 bit setup.exe does not work.
Hi I am trying to install Oracle 11g R2 on my Windows 7 Ultimate 64 bit. When I execute setup.exe as Administrator the command window flashes and exits. I could not even see what the message is. Also tried command prompt. Can anyone help me resolve t
-
Hi Experts , In BW system one DTP failed with below message "No object directory entry for object R3TR DTPA DTP_4DV1PPE2E9AK4OC1NW16WQ66T Assign a package System setting does not allow changes to be made to object DTPA DTP_4DV1PPE2E9AK4OC1NW16WQ66T"
-
Installing j2sdk1.4.2_10 on windows 2003 server
after finishing installing i do not find java.exe in the bin directory
-
the main sync order to sync itunes with the ipod, is there a reverse way? i have more music in my ipod and i want to download it to my library