Help !! help !! mysql bc4j and jheadstart & uix
hi please help me
i make a bc4j project against mysql database server
i used jdbc connection with the wy as described in the document :How To Use ADF Business Components with MySQL
url:http://www.oracle.com/technology/products/jdev/howtos/10g/MySql/MySQL_and_BC_HowTo.html
and i do not forgete to add all parameters to the jdbc connection url
for example :jdbc:mysql://DESIGNSVR/test?&ultraDevHack=true&capitalizeTypeNames=yes&pedantic=yes&sqlmode=oracle
so i use the bc4j tester and i navigate into records insert ,update ,delete !! no problems
but when i moved to ViewController project end enable jheadstart and create new jheadstart application structure file every things go so well !! no problems
i run the appliction first moved to index.html page as usual with jheadstart then when i start the link Start AppModule:StartAppModule.do
i find the message 500 internal server error
why?? please help me
nieo1977
30-3-2006
when i moved to ViewController project open struts page folow diagram
and put data page and moved to uix editor !!!!
simple drag and drop operation to data controll unit as read only table
run the program the browser : ie 6 tell that the page cannot be displayed
and in Embedded OC4J window i have the folowing:
Target URL -- http://hussam:8988/mysqljapp-adfonly-context-root/dept.do
06/04/04 20:23:57 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
04/04/2006 08:24:01 م org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
04/04/2006 08:24:01 م org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
04/04/2006 08:24:01 م org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='mypackage1.ApplicationResources', returnNull=true
04/04/2006 08:24:04 م org.apache.struts.action.RequestProcessor processException
WARNING: Unhandled Exception thrown: class oracle.jbo.common.ampool.ApplicationPoolException what is the problem ???
it may somthing about aplicationmodule pool isn't it??????
my jdeveloper version is 10.1.2.1.0 build(1913)
and mysql database server version is 5.0 18-nt
can you sandra help me please
nieo1977
Similar Messages
-
Help with MYSQLi Query and WHILE statement
Hi,
Not sure what is wrong here but the same record is printed in the while loop 11 times (the amount of records in the table).
<?php
//Main Connection & Query
//Database Connection & Error
$con_host = 'X';
$con_username = 'X';
$con_password = 'X';
$con_database = 'X';
$con = mysqli_connect($con_host, $con_username, $con_password, $con_database);
?>
<?php
//Query
$sql = "SELECT * FROM equipment ORDER BY name ASC";
$query = mysqli_query($con, $sql);
$row = mysqli_fetch_assoc($query);
$row_count = mysqli_num_rows($query);
//Create Variables
$name = $row['name'];
$size = $row['size'];
$quantity = $row['quantity'];
$protection = $row['protection'];
$location = $row['location'];
$sublocation = $row['sublocation'];
$bc = $row['BC'];
$id = $row['id'];
?>
<!doctype html>
<html>
<link href="stylesheets/main_stylesheet.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Slabo+27px' rel='stylesheet' type='text/css'>
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="images/icon.png" />
<style type="text/css">
</style>
<head>
<meta charset="utf-8">
<title>Print Equipment List</title>
<link href="stylesheets/print_stylesheet.css" rel="stylesheet" type="text/css">
<script src="sorttable.js"></script>
<!--<body onload="window.print()">-->
</head>
<body>
<div class="print_button no-print" onClick="window.print()">Print</div>
<div class="print_text no-print">Select the sorting of the list by clicking on the table categories and click the print button below</div>
<div class="print_a4page">
<div class="print_header">
<div class="print_header_logo"><img src="images/logo.png" width="306" height="43"></div>
<div class="print_header_text" id="header_text">Drama Database</div>
<div class="print_header_info">List printed: <script type="text/javascript">
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
document.write(day + "/" + month + "/" + year);</script>
<br>
Total records:
<?php echo $row_count ?></div>
</div>
<div class="print_header_divider">Equipment List</div>
<div class="print_body">
<div>
<form name="users" method="post">
<div class="table_print">
<table width="100%" border="0" cellpadding="5" class="sortable">
<tr class="table_header_print">
<th width="15%" scope="col">Name</th>
<th width="12%" scope="col">Size</th>
<th width="9%" scope="col">Quantity</th>
<th width="12%" scope="col">Protection</th>
<th width="17%" scope="col">Location</th>
<th width="12%" scope="col">Sublocation</th>
<th width="11%" scope="col">Barcode</th>
<th width="12%" scope="col">Internal ID</th>
</tr>
<?php do { ?>
<tr class="table_body">
<td><?php echo $name ?></td>
<td><?php echo $size ?></td>
<td><?php echo $quantity ?></td>
<td><?php echo $protection ?></td>
<td><?php echo $location ?></td>
<td><?php echo $sublocation ?></td>
<td><?php echo $bc ?></td>
<td><?php echo $id ?></td>
</tr>
<?php } while ($row = mysqli_fetch_assoc($query));?>
</table>
</form>
</div>
</div>
</div>
</body>
</html>Still getting the same issue.
As I see it, the way you have suggested is just rearanging things right?
here is a screenshot of the outcome:
And here is the improved code:
<?php
//Main Connection & Query
//Database Connection & Error
$con_host = 'X';
$con_username = 'X';
$con_password = 'X';
$con_database = 'X';
$con = new mysqli($con_host, $con_username, $con_password, $con_database);
?>
<?php
//Query
$sql = "SELECT * FROM equipment ORDER BY name ASC";
$result = $con->query($sql);
$row = $result->fetch_assoc();
$row_count = $result->num_rows;
//Create Variables
$name = $row['name'];
$size = $row['size'];
$quantity = $row['quantity'];
$protection = $row['protection'];
$location = $row['location'];
$sublocation = $row['sublocation'];
$bc = $row['BC'];
$id = $row['id'];
?>
<!doctype html>
<html>
<link href="stylesheets/main_stylesheet.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Slabo+27px' rel='stylesheet' type='text/css'>
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="images/icon.png" />
<style type="text/css">
</style>
<head>
<meta charset="utf-8">
<title>Print Equipment List</title>
<link href="stylesheets/print_stylesheet.css" rel="stylesheet" type="text/css">
<script src="sorttable.js"></script>
<!--<body onload="window.print()">-->
</head>
<body>
<div class="print_button no-print" onClick="window.print()">Print</div>
<div class="print_text no-print">Select the sorting of the list by clicking on the table categories and click the print button below</div>
<div class="print_a4page">
<div class="print_header">
<div class="print_header_logo"><img src="images/logo.png" width="306" height="43"></div>
<div class="print_header_text" id="header_text">Drama Database</div>
<div class="print_header_info">List printed: <script type="text/javascript">
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
document.write(day + "/" + month + "/" + year);</script>
<br>
Total records:
<?php echo $row_count ?></div>
</div>
<div class="print_header_divider">Equipment List</div>
<div class="print_body">
<div>
<form name="users" method="post">
<div class="table_print">
<table width="100%" border="0" cellpadding="5" class="sortable">
<tr class="table_header_print">
<th width="15%" scope="col">Name</th>
<th width="12%" scope="col">Size</th>
<th width="9%" scope="col">Quantity</th>
<th width="12%" scope="col">Protection</th>
<th width="17%" scope="col">Location</th>
<th width="12%" scope="col">Sublocation</th>
<th width="11%" scope="col">Barcode</th>
<th width="12%" scope="col">Internal ID</th>
</tr>
<?php while ($row = $result->fetch_assoc()) { ?>
<tr class="table_body">
<td><?php echo $name ?></td>
<td><?php echo $size ?></td>
<td><?php echo $quantity ?></td>
<td><?php echo $protection ?></td>
<td><?php echo $location ?></td>
<td><?php echo $sublocation ?></td>
<td><?php echo $bc ?></td>
<td><?php echo $id ?></td>
</tr>
<?php } ?>
</table>
</form>
</div>
</div>
</div>
</body>
</html> -
Separate BC4J and JHeadStart in two projects.
Hello,
Is it possible to separate the BC4J components in a different project (in the same workspace)?
I would like to have 1 project containing all the BC4J components and 1 project for the JHeadStart software. But when I do this JAG gives a error it can't find the persistenceBase in the SourceDir.
I found out that the problem is de property "Source Directory" I have to set in the Application Structure Editor. JAG uses this directory to find the BC4J components.
I also try to change this to the source directory of the BC4J project. But this also keep giving Errors. (bc4j.xml not found in bc4jDir ....)
I'm using JDeveloper 9.0.3.Dennis,
Sorry to say but JHeadstart is not setup with this requirement in mind. As you found out, you cannot put your BC4J components in another projects.
Jan Kettenis -
Need Help with mysql admin for Mac
Hello all.
I am new to cold fusion and databases all together. Infact I
am doing an online tutorial to get me started, my problem is the
tutorial really just scratches the surface for the mac side and in
some cases sorta explains how to do but no visual help and I am
very visual.
I am searching for software that is really idiot proof to
start my knowledge with then make the transition when I learn more
and more to hard coding. The tutorial suggests Navicat for Mysql
admin and it is nice but he is setting up basic databases in Access
which looks really easy and I am trying to follow along with
navicat but I am just not getting it specifically when it comes to
setting up relationships between tables. Can I use a software like
FileMaker Pro and just convert to mysql or is their other software
that makes it a little more easy to understand how to set up
relationships like access does.
I am totally new to this stuff and I am looking for the
easiest product to use. Thanks again for your help and time.
ChrisAs for the database part, before you write your first query,
you should become grounded in the concepts of data modeling. Then
find a good source (book, books-on-line, etc. ) for the particular
"flavor" of SQL used by your database of choice, then start writing
your queries. Data model first (entities, relationships,
attributes), then SQL.
Couple of fairly good online tutorials for data modeling.
Introduction
to Data Modeling and
Data Model
Reference
Master this and you will save yourself many hours of grief,
trust me.
Phil -
Hi Everybody,
I am new to BC4J Framework. I have enough experience in Java and JSP/Struts. Is there any guide which will explain me step by step development of an sample application using JDeveloper, Struts, BC4J and Oracle Database. I have tried to search the forum, but not able to find proper document. Please help.
Thanks & Regards,
Shailesh JoshiCan anyone please tell me why in struts in most of the situations we are getting the error,
cannot find ActionForward and ActionMappings.You're getting the error because Struts isn't configured correctly. The solution is to configure Struts correctly.
~ -
Need help on model-choicelist of JHeadStart
Hi All,
I am very new to ADF and JHeadStart, i have developed HR application using jshtutorial1111.
my question is:
In Locations tab we can able to see corresponding countries list of location. Here i need to add Regions model-choicelist also, on selection of Region the countries list should refresh and should show selected region countries list only.
ex: if i select region as Asia then counties list should display only Asian countries.
i have tried so many ways but nothing is worked out.
can any one help me on this.
Thanks,
Madhu.You should double check that this linked LOV is working in the model prior to using it with JHS.
Here is a recent example:
https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
Good luck!
BradW -
Hi Fellows,
I have a MySQL database located on a Remote Server. I want to download one of its Table to my local computer. I want to use JDBC to get and insert data in this database.
How it could be possible? How could I get this database table at my local machine? Please help me by giving some fruitful suggestions.....
The table size is aprox. 500 MB.
Thanks...
VJYou query is a bit vague. I operate a "remote" MySQL database and use a combination of CORBA and JDBC to access and administer the data in the DB. If you are running your system on an intranet then simply make the database a ODBC data source and using the correct jdbc to mysql drivers you can then issue SQL commands to manipulate the data from your client. You just have to make sure you tell your client where the database is hosted which will be part of the connection methods you will use in your code.
Hope this helps.
Regards
Rich -
I lost my status from administrator to standard and now I have no access to anything on my mac. I'm the only account on my mac. How did this happen? and what can I do to fix this? Help Help!!!
anastasia808,
which model Mac do you have, and which version of OS X is installed on it? -
hi, have a iphone/macbook itunes prob. i connected my phone to mac to add songs, and it wiped 99% of music from my phone. on the mac it still lists the songs on my phone but they are greyed out. can anyone help? very frustrated and want my music back.
I am having the same problem. I have just tried this. Unplug iphone > open itunes > delete all music from itunes library > close itunes > re-open itunes > add music from original folder > plug in iphone > select songs > press sync > unplug iphone using eject button onscreen > checked phone .... still nothing in music folder on phone. On itunes the "On this iphone" tab the songs remain there but greyed out.
-
i forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder
If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625. Then you can reset the password as explained here: http://support.apple.com/kb/PH2617. Of course, you can only do this if it's your ID.
-
I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
help help help please - I have latest version of indesign - thanks, DJlol... it seems to work, but I have another huge problem!
Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
Solution? Hopefully, an EASY solution. lol as we have thousands of records.
Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
Thx,
DJ -
How can I add a Epson Stylus SX445w to my Mac Book Pro
This is the second one I've tried and failing miserably...it should be so simple...I've installed poken to the help line at Epson and they say it's down to Apple !! Somebody please help meYes I did everything that I was instructed to do!
Cheers
Joyce -
My daughters ipod touch has been disabled because of a wrong passcode. After 2 days of trying to get into Itunes, it will not help without a passcode and is not recognizing it as a device even though the computer is recognizing the USB. I know I have to do a complete recovery, but can I do this without Itunes (or Icloud)?
You cannot do this without itunes on your computer
-
HELP! Downloaded LR5 and when open it shows an error message saying error while trying to change from modules and I can not even import photos. Am I doing something wrong?
I have the same problem, and the solutions in Error changing modules | Lightroom do not work. Even uninstalling and reinstalling a new copy did not solve the problem. As anyone got an idea what other lingering files might be causing the problem?
-
Hi there, can anyone please help? Download itunes and it says The Itunes library .itl file is locked, or on a locked disk or you do not have write permission for this file.
Holding down the shift key while iTunes is opening. That will bring up the 'choose iTunes library' dialog. Select 'Choose LIbrary' from the choices and navigate to your music folder and iTunes music folder.
Or refer to this article:
iTunes for Windows XP: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
http://support.apple.com/kb/HT1866
Maybe you are looking for
-
Goods Receipt and Serial Numbers
I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API. We are ru
-
Photoshop CC how do I Deactivate file formats in Save As menu
I only use a couple of save as formats. Does anyone how to remove the ones I don't need. Thanks.
-
Some users are not available to send e-mails
Hi, I've got a Sun One messaging server 2004 Q2 installed on a solaris 9 (sparc). Everything works fine until I created two users, only those users have problems with sending e-mails outside the server and the most strange thing is that they do not r
-
Editing photo results in error
Hi, I'm using iPhoto 8.1.2 (424) on a Macbook Aluminum first gen. The last few days I've had trouble editing photos in iPhoto which I cannot fix with a restart or even a reboot. The problem is every time I edit a photo and click done the photo size g
-
Hello, Is there any way using codes to Save an "Excel Sheet" as a "CSV" file. Thanks