Read-only problem with sun one
hello
i have mounted yestarday a file in which i have created an ejb call Client. Today i have unmounted the file with the ejb Client and i have mounted an other file in which i have created an ejb called Client. Now i can't no more manipulate the first ejb and the second ejb (adding method for example). The error message is: the ejb is read-only !
I don't know if this is a bug or a protection but how i can desctivate that please ?
ok i find it. There was hidden mounted jar in the
option of filesystem ... why, i don't know exaclty at
this moment but now it's ok. If somebody knows
something about that.
thank'a lotWere you working with an application client module, specifically executing them? This can cause files to be mounted.
Similar Messages
-
Read-Only error in Sun One Studio IDE 4
I have been using Sun One Studio IDE 4 for months, and updated it for several time. Today I mounted a directory and wanted to create a new plain java class under this directory, but it always reported: Error: File in D:\..... is read-only. It never happened before. I am confused. Then I tried to mount other direcotries and create new java files, always got the same error. Could anyone please kindly tell me what�s wrong with the Sun One Studio? Thank you very much.
EllenNobody familiar with Sun One Studio here? I don�t want to change IDE and could anyone please kindly help?
-
Hi Group,
I have deployed my project in sun one application server 7.0 installed in red hat linux 7.2 and database is mysql. Its working in fine in normal conditions. I could not able to get connection from datasource after I kept my server 10 hours ideal. Again its working fine once I restarted the server. Please give me any solution to prevent this.
The same project is working fine under all conditions in Sun one app server 7.0 installed in windows 2000 server without any look up probem. I Got this problem only in linux OS.
mysql datasource class com.mysql.jdbc.jdbc2.optional.MysqlDataSource
please find the below code..
Context ctx = new InitialContext();
Datasource testDS = (javax.sql.DataSource)ctx.lookup( "jdbc/testDS");
Connection con = testDs.getConnection();
connection pool settings
<jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="0" pool-resize-quantity="2" idle-timeout-in-seconds="0" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" name="testCP">
<property value="localhost" name="serverName"/>
<property value="3306" name="portNumber"/>
<property value="root" name="user"/>
<property value="test" name="databaseName"/>
</jdbc-connection-pool>
Regards,
Hari haranMy team solved the problem and I thought that we would share.
The version of Xalan that was packaged with the JRE, that is installed by the Sun One app server, was at least 2 versions out of date. Updating the Xalan package solves the issue and the WAR file now works.
Again, this appears to be only on the Linux version as the package deploys and works perfectly on the Windows version. -
Problem with Sun ONE Assembly Tools
I try to start "Sun ONE Assembly Tools" but it gives me the error as the following:
"Another copy of AssemblyTool maybe running with the same userdir.
Please exit from previous session or remove the lock file."
I used to run this tool before and it worked without any problem. But now it cannot run properly and there isn't have any running session.
Please give me the suggestion of how to solve this problem and I'd like to know where is the lock file of this tool.
Thanks very much...
WorawisutI cannot wait for reply any more :-)
I try to de compile "com.sun.enterprise.tools.deployment.main.DeployTool.class" in "appserv-assemblytool.jar"
and see that when Assembly Tool start ,it will create filename "lock" in the folder "C:\Documents and Settings\<User>\.assemblytool".
This file is used to lock the tool's session.
I delete it and then run the tool again.
Fortunately,it works fine.
Thanks. -
Problem with SUN ONE STUDIO Update 4
Hi,
I created a simple entity bean with finder methods and business methods.
But when I am trying to test the entity bean by generating the New EJB Client, and at the time executing the EJB client test client the following error as occured.
[b][b]Deploying... EAR Unable to deploy theC:/developer/JavaProject/test/test.earApplication
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Error while processing CMP beans.
Please help me
Thank youHi ,
To know the reasons for deployment failure , you
could run your application using the Sun One verifier tool. Right click your application node and select Sun one verifier under the tools category.
Please post the results of the verifier tool in case you are not able to resolve the problem.
-Amol -
Problems with Sun One Web Server 6.1 with SP1
I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.
[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)
[03/Feb/2007:19:11:17] failure ( 354): for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)Please help. The Java version i am using is j2sdk1.4.2_08.It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?
-
Problems with Sun One Web Server 6.1 javax.xml.xpath package not found
I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
Thanks.
[11/Dec/2007:22:12:37] failure (13539): for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
/opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
import javax.xml.xpath.*;
^Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
[11/Dec/2007:23:46:28] failure (17028): for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
----- Root Cause -----
java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580) -
DFSR Read-Only - Problems with Disaster Recovery?
Hi guys,
I have (2) 2008 R2 file servers. One is production and one is for DR. First, I have to make sure that the DR server never writes back to production in any situation. The means that if the (2) servers stop communicating with each other
and data is deleted off the production server, the read-only DR server does not put deleted files back onto the production server when connection is restored, etc. It sounds like I am covered there.
The question is what happens if production server crashes and I now want to change the DR server to production? Does the data on the D/R member still have the same NTFS permissions? It sounds like it does, but would I then just go into dfsmgmt.msc
and mark the replicated folder as read-write, force AD replication, run a dfsrdiag pollad, and then redirect the users to the DR server? I know the content may not be 100%, but the back-up plan has always been to disablestrictnamechecking, change
the host record for the production server to the IP address of the DR server, and redirect users there for 99% of the data. I think that files that were open on the production server that crashed would not have had their updates replicated across.
Let me know if that would work from the DFS side of things
Dan HeimHi Dan,
I think this article provided an answer to your question:
Read-Only Replication in R2
http://blogs.technet.com/b/askds/archive/2010/03/08/read-only-replication-in-r2.aspx
An RW replicated folder can be converted to an RO replicated folder (and back) “on the fly”.
Converting will cause a non-authoritative sync to occur on the replicated folder for the server being altered.
If you have any feedback on our support, please send to [email protected] -
Hi,
I tried to update my system today, like every week, with the standard command pacman -Syu. After installing all updates, my window manager (gnome3) crashed and i tried to restart my System. After the grub window appeared and I choosed my kernel the normal startup commands are shown until the Arch prompt appeared. The one where Arch Linux tried to start all relevant processes. After that there are only mistakes. All startup processes are busy or failing. The only message i get is, that the filesystem, i think thats the root partition (ext4), is read-only or another error: some files for startup cannot be created because they already exist.
Getting to console is also impossible, because the system tries to start virtualbox additions, with an funny message, that it is busy and tries it again in 5 min (infinity loop). But shidt happens. I have read in another post that I can try another Linux System, mount my root partition and do an
fsck /dev/sda3 -p or -f
. But it says that all is clean (sda3 is root and sda1 is /boot). The filesystem is ext4, so i tried also fsck.ext4, but it also say all is clean.
After another boot i stoped at the position, where the fist error occur.
Mounting Local Filesystems
/etc/rc.sysinit: line 285: /etc/mtab: Read-only file System
next one:
Activating Swap
/bin/rm: cannot remove '/etc/localtime': Read-only file system
removing leftover Files
/usr/bin/find: cannot delete 'var/run/cups.pid': Read-only file system
After that message there are also al lot of analog errors.
I have no other idea than an dirty filesystem. Is there another possibility to rescue my system without an fresh install. Im sorry but i cannot log any messages at that state of boot. So it is not easy to get better informations about special error codes.
I have forget to give you some informations about my stats:
- actual stable arch kernel 2.6.38
- gnome 3
- thinkpad t400
Last edited by Psikon (2011-05-13 20:18:12)With udev 168-1 I obtain this message during boot:
:: checking filesystems
fsck.ext4: no such file or directory while trying to open /dev/sda6 (my root device)
Possibly non-existent device?
***************** FILESYSTEM CHECK FAILED ****************
* Please repair manually and reboot. Note that the root *
* file system is currently mounted read-only. To remount *
* it read-write type: mount -n -o remount,rw / *
* When you exit the maintenance shell the system will *
* reboot automatically. *
but fsck run manually says it's all clean.
I have to remount rw / partition and manually mount all the other partition, then I can switch to runlevel 3.
With udev 167-2 (and prior) I can boot without any problems.
I'm not sure it's a problem from udev, but downgrading it works for me. -
Problem with sun outlook connector, Microsoft LDAP services
Dear All
I have big problem with sun outlook connector and I can find any way to fix the problem,
I am using sun java system connector deployment to create installation script for my clients.
in the tool I have specify the location of Microsoft LDAP services, I am using outlook 2003 and sun say this option is not needed for outlook 2003, if I try to create the script and run the script on target client I will receive below error,
I tried the office CD-ROM as path for LDAP services but the outlook connector says there is no LDAP services on the CD and I receive same error,
19:02:29 [5365] Outlook version is 11.0.5608.0.
19:02:29 [5376] Adding MAPI directory 'C:\Program Files\Common Files\System\MAPI\1033' to PATH.
19:02:29 [5475] TMP directory is 'C:\DOCUME~1\MMESKA~1\LOCALS~1\Temp'.
19:02:31 [5362] Checking Windows version.
19:02:31 [5363] Windows version is 5.1.
19:02:31 [5364] Checking Outlook version.
19:02:31 [5509] Checking default mail client.
19:02:31 [5508] Default mail client is 'Microsoft Outlook'.
19:02:31 [5178] Verifying that Outlook is not running.
19:02:31 [5179] Trying to login to shared session.
19:02:31 [5369] Installing Sun Java System MAPI Service Providers using 'C:\DOCUME~1\MMESKA~1\LOCALS~1\Temp\Sun Outlook Connector\sunone-mapi-services.msi'.
19:02:32 [5502] Upgrading the Sun Java System MAPI Service Providers.
19:02:40 [5370] Finished installing Sun Java System MAPI Service Providers.
19:02:40 [5366] Checking whether Sun Java System MAPI Service Providers are installed.
19:02:40 [5367] Sun Java System MAPI Service Providers are installed.
19:02:40 [5416] Checking whether Microsoft LDAP Directory MAPI Service Provider is installed.
19:02:40 [5418] The Microsoft LDAP Directory MAPI Service Provider is not installed:
19:02:40 File 'C:\Program Files\Common Files\System\MAPI\1033\EMABLT32.DLL' does not exist.
19:02:40 [5416] Checking whether Microsoft LDAP Directory MAPI Service Provider is installed.
19:02:40 [5418] The Microsoft LDAP Directory MAPI Service Provider is not installed:
19:02:40 File 'C:\Program Files\Common Files\System\MAPI\1033\EMABLT32.DLL' does not exist.
19:02:41 ERROR: Microsoft LDAP Directory MAPI Service Provider must first be installed.
Best regards
MoThis is likely to depend on the version of the OC you have. The released one isn't supposed to work with Outlook 2003. Please contact Tech Support for the latest version and help.
-
Using JMF API with Sun One Studio v4 update 1 (community ed.)
Having great difficulty trying to utilise the JMF API I've just downloaded with Sun One Studio v4, update 1 (community edition).
After installing the API, I tried copying the the .jar files under the lib folder of JMF to the lib folder of sun one studio.
Although admittedly a novice in the field of adding API's I have attempted to add the .jar files into the libary of recognised modules but made no progress.
The problem is that although JMF API is installed, Sun One Studio does not seem to be aware of this and so does not recognise any associated libraries e.g. java.media or JMFApplet.
I would appreciate advice from anyone who knows how to configure Sun One Studio to utilise the JMF API.
MarkAll right, I think I may have solved it. After mounting jmf.jar I needed to update the parser database. All the libraries seem to be there.
Can someone clarify though, the trial program i'm using makes reference to: java.media
I don't have this module. I do instead have javax.media which I believe includes all the methods of the java version. Am I right or am I missing this crucial module?? -
Chart - problem with realize one of the function under CR XI
Post Author: mrowa
CA Forum: Charts and Graphs
Hello,
I have
problem with realize one of the function under CR XI. I would be persuade if
any of us would like to help me.
1)
1) From
database (basically from one table), I take data to make report. Each of record
have appropriate fields:
dteData
intYear
intMonth
intDate
2)
2) I
want to realized comparison data from two or more periods of time on one chart
and in one table. For easily explanation I will describe problem on two
periods.For instance, user want to display and compare
on chart date (type monthly -sum data of each month) from 2007.02 u2013 2007.05
with date from 2006.03 u2013 2006.06. So we compare month 2007.02 with 2006.03;
2007.03 with 2006.04; 2007.04 with 2006.05; 2007.05 with 2006.06
On char I would like to display bars with comparison
of months.
Problem is that I donu2019t know how to write
something similar. I can use one period without any problems, but two and mores
I canu2019t realized.
Detail description:
I passed
two parameters two report:
{?from}, {?to} u2013for first period
{?offset}, it means {?from}+{?offset},
{?to}+{?offset} - for second period
On axis Y I have Sum(intDate);On
X (year + month). But on each value x( example 20007.02) I need to have
two values (bars). Value for standard period and offset.
For example for x=2007.02, I need
two bars one equal 2007.02 and second with offset u2013 2006.03
Movement to next value (bar) is
persuade by fields {data.rok}&{data.month} first or second period. This is
combination of two elements year&month defined under Formula. Problem
persist in that both period has different year.month and here problem starts once
again. I donu2019t know how to solve it. I have found out one solution but it
limits user only for two periods (I want to compare more).
My idea for compare only two
periods:
I make one query in CR for one
period and second query for second period.
Firs query:
"SELECT
year ,
month
Second query
"SELECT
year + FLOOR({month + offset} % 13),
{month + offset} % 13
Then in CR I connect two periods and
make u201Ctableu201D (results of queries) with JOIN on fields year and month.
This solution is not functional,
because I need to make reports for days and hours as well. In this solution I
canu2019t use (%31), because not all months has 31 days.
I use CR in WEB app made in Visual
Studio 2005. Maybe from aspx we can manipulate with date to get exact solution,
and solve problem with SELECT.
Hope my description clearly
describe problem and someone will be able to help me. I would be thankful.I have had similar problem before.
Because I had too many data, the legend would not display all the data. Also the chart would not display all the data. But I was able to find a work around.
In your case, Right click on the Legend text and click on Format Legend Entry.
Change the font of the legend to 4 (which is the minimum). This may work.
If you are also having problem with data labels, you could change the font size of the data labels.
Hope this helps.
Thank you. -
BUG: ADF BC read-only VO with no Key attrs + af:table
Hello all,
I've got a bug to report - quite easily reproducable with the HR demo schema. To see it:
1). Create a new application from the ADF BC + Faces template
2). Create a read-only VO, use "SELECT employee_id, first_name from employees" and order by "employee_id" - take the defaults for everything - do not set any key attributes.
3). Create an AM, add the VO to it's data model. Turn off AM pooling in the configuration.
4). Create a JSPX page. Drag-drop the VO from the data control palette as an ADF read-only table - with selection
5). Bind the actionlistener of the "submit" button to a backing bean method that just system.out.println's something.
Now, run the app. Try selecting an employee from the first page (records 1-10) and clicking submit - it works. Now, scroll to the second set of records, select one and click submit - no message appears - the action listener is never called. No errors are thrown.
Workaround: ensure the VO has employee_id selected as a key attribute.
My code is at the bottom for reference.
Cheers,
John
untitled1.jspx:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<afh:html>
<afh:head title="untitled1">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
</afh:head>
<afh:body>
<af:messages/>
<h:form>
<af:table value="#{bindings.emp1.collectionModel}" var="row"
rows="#{bindings.emp1.rangeSize}"
first="#{bindings.emp1.rangeStart}"
emptyText="#{bindings.emp1.viewable ? 'No rows yet.' : 'Access Denied.'}"
selectionState="#{bindings.emp1.collectionModel.selectedRow}"
selectionListener="#{bindings.emp1.collectionModel.makeCurrent}">
<af:column sortProperty="EmployeeId" sortable="false"
headerText="#{bindings.emp1.labels.EmployeeId}">
<af:outputText value="#{row.EmployeeId}">
<f:convertNumber groupingUsed="false"
pattern="#{bindings.emp1.formats.EmployeeId}"/>
</af:outputText>
</af:column>
<af:column sortProperty="FirstName" sortable="false"
headerText="#{bindings.emp1.labels.FirstName}">
<af:outputText value="#{row.FirstName}"/>
</af:column>
<f:facet name="selection">
<af:tableSelectOne text="Select and">
<af:commandButton text="Submit" actionListener="#{abc.click}"/>
</af:tableSelectOne>
</f:facet>
</af:table>
</h:form>
</afh:body>
</afh:html>
</f:view>
</jsp:root>abc.java:
import javax.faces.event.ActionEvent;
public class abc
public abc()
public void click(ActionEvent actionEvent)
System.out.println("click");
}emp.xml (View Object):
<?xml version='1.0' encoding='windows-1252' ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<ViewObject
Name="emp"
OrderBy="employee_id"
BindingStyle="OracleName"
CustomQuery="true"
ComponentClass="model.empImpl"
UseGlueCode="false" >
<SQLQuery><![CDATA[
select employee_id, first_name
from employees
]]></SQLQuery>
<DesignTime>
<Attr Name="_isExpertMode" Value="true" />
<Attr Name="_version" Value="10.1.3.39.84" />
<Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
</DesignTime>
<ViewAttribute
Name="EmployeeId"
IsUpdateable="false"
IsPersistent="false"
IsNotNull="true"
Precision="6"
Scale="0"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
AliasName="EMPLOYEE_ID"
Expression="EMPLOYEE_ID"
SQLType="NUMERIC" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="FirstName"
IsUpdateable="false"
IsPersistent="false"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FIRST_NAME"
Expression="FIRST_NAME"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="20" />
</DesignTime>
</ViewAttribute>
</ViewObject>appModule.xml:
<?xml version='1.0' encoding='windows-1252' ?>
<!DOCTYPE AppModule SYSTEM "jbo_03_01.dtd">
<AppModule
Name="AppModule"
ComponentClass="model.AppModuleImpl" >
<DesignTime>
<Attr Name="_isCodegen" Value="true" />
<Attr Name="_version" Value="10.1.3.39.84" />
<Attr Name="_deployType" Value="0" />
</DesignTime>
<ViewUsage
Name="emp1"
ViewObjectName="model.emp" >
</ViewUsage>
</AppModule>bc4j.xcfg:
<?xml version = '1.0' encoding = 'UTF-8'?>
<BC4JConfig>
<AppModuleConfigBag>
<AppModuleConfig name="AppModuleLocal">
<DeployPlatform>LOCAL</DeployPlatform>
<JDBCName>local_hr</JDBCName>
<jbo.ampool.doampooling>false</jbo.ampool.doampooling>
<jbo.project>Model</jbo.project>
<jbo.ampool.dynamicjdbccredentials>false</jbo.ampool.dynamicjdbccredentials>
<AppModuleJndiName>model.AppModule</AppModuleJndiName>
<ApplicationName>model.AppModule</ApplicationName>
</AppModuleConfig>
</AppModuleConfigBag>
<ConnectionDefinition name="local_hr">
<ENTRY name="JDBC_PORT" value="1521"/>
<ENTRY name="ConnectionType" value="JDBC"/>
<ENTRY name="HOSTNAME" value="localhost"/>
<ENTRY name="DeployPassword" value="true"/>
<ENTRY name="user" value="hr"/>
<ENTRY name="ConnectionName" value="local_hr"/>
<ENTRY name="SID" value="STGY"/>
<ENTRY name="password">
<![CDATA[{904}05DB46A9C39F51D1A4814423FFD9297C71]]>
</ENTRY>
<ENTRY name="JdbcDriver" value="oracle.jdbc.OracleDriver"/>
<ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
<ENTRY name="DeployPassword" value="true"/>
</ConnectionDefinition>
</BC4JConfig>Hi,
reproduces for me. It appears that the parameter is not applied properly when executing the query.
Frank -
Debug RMI - Service with Sun One Studio
Hi, I'm trying to debug an rmi - service with sun one studio 4u1 (win nt 4.0). To do so I start the rmid daemon via
rmid -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_shmem,server=y,address=dime,suspend=n -J-Djava.security.policy=%POLICY% -log %RUNDIR% >%RUNDIR%\server.log
Then I register the service to the daemon and attach the debugger in the studio to the address "dime". This seems to work, but the service does not stop at breakpoints set in the debugger.
Can someone help?I set the breakpoints at false line numbers (method heads). Now It works fine (breakpoints, watches, ...). The only thing is, that the current line is not visible in the source (although the line number is displayed correctly).
-
Problem Installing Sun One Studio ce on Linux RedHat 8.0
I have a problem installinh Sun One Studio CE on a machin with Linux RedHat 8.0.
The installation starts but at about 80% of its ther is an error and install stops.
Does anybody help me?
I don't know what error stop the installI'm having the same problem.
The Sun One Studio CE starts up fine then towards the end it says:
"installing... this my take a few minutes"
But it doesn't, in fact it freezes there and doesn't do anything else.
(I left it running over night and it was still there with the same message)
Need help.
Maybe you are looking for
-
Firefox 3.6.8 causes problem in Microsoft Outlook
I updated Firefox to version 3.6.8 a few days ago. Since then, when I start Microsoft Outlook (version 10), it aks if I want to open or save an html page file (a different one each time; these pages are always empty when I save or open one), prior th
-
Production Order on basis of Material and Plant
Hi, I want to know the table name from which i can get the Production Order on the basis of Material No and Plant no
-
Hi, I created the indexes using the following commands. I have a few questions: <b>1. Is the way i have created the indexes is correct? Is it must that i need to use the data store?If yes how do I use that given that there are multiple tables involve
-
Hi, How can I find the list of method in class and the line number of each method or for specific method what is the line number? Thanks
-
Right Click or Ctl-Click -- Safari Crashes
Used to work ok, but now when I right click or ctl-click on a web page, Safari quits "unexpectedly". Using a Logitech wireless mouse & keyboard. Any suggestions will be appreciated.