Help with jmf & javasound (if needed?)
Im using jmf for my internet phone system , anyone got an example of using javasound with jmf. My problem is how to select microphone as the recording input from the soundcard, what if the recording input was set to line-in? how would i change it to microphone. If it can be done only using jmf then please tell. Or a mixture of javasound and jmf would be ok also.
Im using jmf for my internet phone system , anyone got an example of using javasound with jmf. My problem is how to select microphone as the recording input from the soundcard, what if the recording input was set to line-in? how would i change it to microphone. If it can be done only using jmf then please tell. Or a mixture of javasound and jmf would be ok also.
Similar Messages
-
Little bit of help with the duplication process needed
Hi
I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to be a problem?) and I'm a little stuck on some parts of the process.
The book I'm using says to edit the listener.ora file to include a SID_DESC of the remote database. Here is my listener.ora file with the modifications
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CGARDMSTR)
(ORACLE_HOME = G:\app\administrator\product\11.1.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = CGARDMSTR)
(ORACLE_HOME =G:\app\administrator\product\11.1.0\db_1)
(SID_NAME = CGARDMSTR)
*(SID_DESC* *=*
*(GLOBAL_DBNAME* *=* cgard)
*(ORACLE_HOME* *=F:\oracle\product\11.2.0\dbhome_1)*
*(SID_NAME* *=* cgard)
(bold is what i added)
it then said to chnage my tnsnames.ora
CGARD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cgard)
CGARD5DE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARD5DEV)
CGARDMST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARDMSTR)
cgard =
*(DESCRIPTION =*
*(ADDRESS = (PROTOCOL = TCP)(HOST = live.host.local)(PORT = 1521))*
*(CONNECT_DATA =*
*(SERVER = DEDICATED)*
*(SERVICE_NAME = cgard)*
I changed the local domain to host for business reasons
The next step was to create a initialization parameter file which I am guessing is a pfile and hopefully not a spfile. It then says to only enter one param db_name and the conversion params if the filesystem is diffrent. Problem is I don't know what to do with this file, if I am suppose to switch the second database to this file then surly I would need some more params? Anyway thats the first of many questions.
When I try to run through the rman commands it describes it also trips up:
RMAN> connect auxiliary sys/*********@live.host.local
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurr
ed
The other database is up and connectable via sqldevloper so I'm guessing it was my configuration of listener and tnsnames
Ok to reiterate my questions are:
1) what needs to be in the pfile I create for the database thats going to receive the backup and what do I do with that file when I have made it?
2) I am pretty sure my listener and tsunamis config is completely wrong so can I have some pointers on fixing that?
3) Was the reason I could not connect to the receiving database my tns and listener config or is it something else?
Quite a few other questions but untill I know some more about the above I doubt I will be able to ask properly.
Also if this helps the book I am using is Expert Oracle Database 11g Administration and the page is 835(the method that begins on that page) and I am willing to write out the whole method if you need more details.
Oh and if you havent figured it out I am very new to this so if some of this sounds very wrong or just stupid just say what I need to change and I will get right on it.
Thanks
AlexOk so I have made some progress. Here is where I am currently at:
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO 'F:\oracle\oradata\cgard\file1.dbs';
4> SET NEWNAME FOR DATAFILE 2 TO 'F:\oracle\oradata\cgard\file2.dbs';
5> SET NEWNAME FOR DATAFILE 3 TO 'F:\oracle\oradata\cgard\file3.dbs';
6> SET NEWNAME FOR DATAFILE 4 TO 'F:\oracle\oradata\cgard\file4.dbs';
7> SET NEWNAME FOR DATAFILE 5 TO 'F:\oracle\oradata\cgard\file5.dbs';
8> SET NEWNAME FOR TEMPFILE 1 TO 'F:\oracle\oradata\cgard\temp1.dbs';
9> duplicate target database
10> to cgard
11> from active database
12> pfile='F:\oracle\product\11.2.0\dbhome_1\database\initCGARD.ora';
13> }
executing command: SET NEWNAME
starting full resync of recovery catalog
full resync complete
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 19-NOV-10
using channel ORA_AUX_DISK_1
contents of Memory Script:
set newname for datafile 1 to
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS";;
set newname for datafile 2 to
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS";;
set newname for datafile 3 to
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS";;
set newname for datafile 4 to
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS";;
set newname for datafile 5 to
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS";;
backup as copy reuse
datafile 1 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS"; datafile
2 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS"; datafile
3 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS"; datafile
4 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS"; datafile
5 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS"; ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 19-NOV-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=143 device type=DISK
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
TEM01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:23:
52
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\USE
RS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
24
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
AUX01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
43
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\UND
OTBS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\RMA
N01.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/19/2010 16:25:55
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
55
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
RMAN>
I did issue the commands:
C:\Documents and Settings\Administrator>rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Fri Nov 19 13:55:40 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: CGARDMST (DBID=3160500813)
RMAN> connect catalog rman/rman
connected to recovery catalog database
RMAN> connect auxiliary sys/**********@cgard
connected to auxiliary database: CGARD (not mounted)
So I am not quite sure what it wants. I read somewhere about a password file but I don't understand how it will help, also most things I have looked at wernt clear on how to do it. I took a stab anyway:
G:\app\administrator\product\11.1.0\db_1\BIN>orapwd file=orapwcgard password=*********** entries=20 ignorecase=n
Was run on the original database host.
File was then copied to "F:\oracle\product\11.2.0\dbhome_1\database" on the receiving database's host it was then renamed to PWDcgard.ora as there was file there already with that name.
It did not help(same error).
The book I am using mentions the 'PASSWORD FILE' param to be used with the duplicate command but I cant find a example on how to use it so any help with that would be great.
Thanks for the effort so far guys its really appreciated. -
Need help with "percentage of" I need to see grandparent totals
Theres a division in my database between Supervisors, Representants, and Lines.
The hierarchy is Supervisors -> Representants -> Lines
I have a measure called "acum sold" and I need the percentage of it.
I`m using "Percentage of" -> "Collumn"and it works untill I reach the Lines level, then it doesn`t work (well it does, but not in the way I want)
Basically it`s this
Supervisor----Acum Sold---% Acum Sold
X-------------1000------------100%----
Then I go to the next level
Supervisor----Representant----Acum Sold---% Acum Sold
-----X----------------XY------------------500---------------50%-----
-----X----------------YZ------------------500---------------50%-----
And it`s still the way I want, but when I drill to XY representant...
Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
-----X----------------XY------------XY1---------100---------------20%-----
-----X----------------XY------------XY2---------400---------------80%-----
The percentage is based off the XY totals (percentage of the 500 total acum sold) but I actually need the percentage based on the Supervisor
I need something like this
Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
-----X----------------XY------------XY1---------100---------------10%-----
-----X----------------XY------------XY2---------400---------------40%-----
Because XY1 and XY2 sold only 50% of the supervisor`s total. But BIEE is always trying to get 100% of the parent level, instead of the "grandparent" one.
I hope I didn`t sound that confusing, I really need help with this one.
Thanks in advanceYou need to use level based measures. Look up documentation/this forum for Level based measures (LBM).
In short you drag a fact meaure to a heirarchy level in business mapping layer and it will always aggreagtre to that level. So create a total and grandparent level then divide child sum by grandparent total (LBM) -
Need some help with JMF 2.0
OK so here's the deal ... I am tryin to instanciate a (JMF) player, but I allways get the following error on runtime: javax.media.NoPlayerException: Cannot find a Player
I don't know what the hell is wrong with this part of the code code (this is where I try to create the player):
String mediaFile = "daimler.mpg";
try
// Create a media locator from the file name
mrl = new MediaLocator(mediaFile);
System.out.println(mrl.toString());
// and this works .... I can print out the mrl and it
// returns the corerct string
// Create an instance of a player for this media
try
player = Manager.createPlayer(mrl);
// and right here the manager throws
// a NoPlayerException.
catch (NoPlayerException e)
System.out.println(e);
Fatal("Could not create player for " + mrl);
The file exists. the problem is that the player cannot be instanciated, but I have no clue how to solve that problem.
thanx for taking your time
sincerely Till BrennerI have the same problem and have no idea. If you have solved this now, please tell me how!
steveybaby2 -
Urgent help with Pages 5.0 needed
Hi guys,
I need urgent help! I deleted Pages 5.0 (as I HATED it) but now can't open a very important document. Can someone please tell me how to reinstall it??
Thanks
KellieDownloading again is not as easy as that. you must find the app in the "Purchased" section of the
app store and I think you then must hold down the option key to reinstall it.
BTW, I only worked with one document as a trial for Pages 5 and then imported it to Word and saved it. I then deleted Pages 5 (I can't believe anyone who works with software would think that piece of worthless junk would sufice for anyone who uses a word processor professionally), reopened the Word document and saved it in Pages 09.
I hope this helps -
Help with my research! Need you!
I am writing a report on improving performance in relational databases, for my primary research I need to gather information straight from some experienced DBAs. I am going to be visiting a few companies in person but thought some extra research online would be really good!
I need some DBAs with good experience of oracle databases. My report topic is improving performance in databases.
There are a few questions below that I would like you to fill out! Please copy and paste the questions into an e-mail and e-mail the answers to [email protected] with subject: Oracle research
If you could also reply to this thread once you have sent the email so that it bumps the thread and also allows me to keep an eye on how good we are doing.
Thank you! and your time is much appreciated!
Questionnaire
Name
Country
Job title
Years of oracle experience
Qualifications
e.g. degree, oracle certification
Company
Size of database (users)
Most common performance problems in your database(details)
How often is your database tuned?
What are the biggest causes of poor performance in your database?
Poor database design
Poor SQL
Poor use of triggers/procedures/functions
Choose one
Does your company use any third party tools to help increase performance?
If yes please provide details
For each of the following please state weather or not you use these and how much of an impact they have on the overall performance of your database.
Normalization
Indexes
Clusters
Tablespaces
Chaining
Hashing
HintsPerformance in database applications is down to -
Application design, including logical data model
Application implementation
If these two are got right then putting it into any Oracle database with default parameters should require zero tuning.
Tuning on a regular basis suggests either the application design or implementation was sub-optimal, but "cannot be changed" or you are suffereing from Compulsive Tuning Disorder. In any event it is an exercise in twiddling futility. -
Please help with medical files I need to open immediately and cannot.
I have some medical files sent to me that I desperately need to open. The instructions were to copy the file to the desktop, a zip file by the way, left click using the mac button and "I" at the same time. A menu would open saying "open with" and I was to choose stuffit. Then enter the password when prompted. I was able to get to the stuffit part and the password prompt and entered the password, but nothing happened. I keep getting the error message: Unable to unarchive "LoganRobertPEME.zip" into "Desktop". (Error 1-Operation not permitted.)
Can anyone help me open this file?
ThanksContact whoever sent you the file. Perhaps it's a bad archive. Or be sure you entered the password correctly. They are case sensitive.
-
I am using a Papst servo motor and I need to know where to start and what to purchase to get this motor to spin. I am using visual basic and in my program I calculate the direction and RPM's needed from the motor. It will spin anywhere from 1 to 10000 RPM's. It seems rather easy, but I have no idea on how to spin the motor at the specific RPM, and stop it with a command stop in the program. Please help.
We really should know a little more about your intended uses for this system, but assuming you want to do relatively simple (or even not so simple!) motion, you'll need a few components...
A motion controller, such as the PCI-7342, can take your VB commands and turn them into the commands needed to "run" the motor. Next you'll need a drive, such as the MID-7342. This includes the servo amplifier that actually powers the motor. It also has connections to "pass through" the encoder signals from the motor back to the motion controller.
The above-named pieces assume one or two axes of motion. You'll also need a cable to connect the two (can't remember the model right now). You can use MAX to configure the motion controller, and there are just a few VB calls you
'll need to make using NI-Motion functions to define the motion and get it going.
Hope this helps! -
Please help with dynamic menu creation needs to have 5 levels
Hi,
I have run into a Coldfusion problem that I was hoping you
could help me with.
What I am trying to solve is the dynamic creation of at least
5 levels of categories for a menu built with Coldfusion, and if
possible an infinite amount of levels.
Each of these also if it is at the end of the tree will have
to have products under it aswell the category will only show up if
there is products under it.
To acomplish this I have created a database table called
"Categories" which contains the fields shown in the linked
spreadsheet. I am using the "cat_parent" to hold the value of the
parent of the current record. When the parent is a top level menu
item I have assigned this a cat_parent id of "0". Using this method
I am able to do a self join on the table (where "cat_parent" =
"cat_id") to extract the relationship between parent and child
records throughout the table. This works fine. And I have created
output for 5 levels of display.
There are 3 issues left that I could not work out.
- Firstly my coding method loops through each node of the
tree with one query to create each category of the menu. This means
one query per menu category and as the client could have up to 200
categories in the menu and I am concerned that the solution that I
have come up with is too processor intensive.
- Secondly the way that I have created the category menu is
hard coding in the levels needed so there is only 5 not an infinite
amount which would be preferable but is not essential.
- Finally I could not work out how to not create "parents" in
the tree if there is no products for the end child category.
Meaning that if there is for example a category > subcategory
> subsubcategory but there is no products associated with the
end category - "subsubsubcategory" then it's parent and so on will
not display until one of them has products.
Here
is a link to a zip file that includes: the cfc that contains
the query function (categories.cfc), the page that is creating the
categories menu (lefnav.cfm), a simple cfc that contains a products
query just for testing (products.cfc) along with a spreadsheet of
the Categories table's fields.
I would greatly appreciate any suggestions.
Thanks for any time and help you can give me on thisThis should at least get you started in the right direction.
http://www.sitepoint.com/article/dynamic-menu-coldfusion
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technologies, Inc.
=============================
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.macromedia.com/go/team
"shunnyboy" <[email protected]> wrote in
message
news:e2h9hs$kp5$[email protected]..
> Hi,
>
> I have run into a Coldfusion problem that I was hoping
you could help me
> with.
>
> What I am trying to solve is the dynamic creation of at
least 5 levels of
> categories for a menu built with Coldfusion, and if
possible an infinite
> amount
> of levels. -
Help with iPhone 4 signal needed
Hi. I need some help. Someone i know has just got an iPhone 4 but there's a problem. This is signal based but is nothing to do with the 'grip of death' which causes the signal level to drop. This happens when the iPhone is just sitting anywhere not being touched. The signal level goes from 5 bars to suddenly no bars or maybe 1. However this sudden drop only happens when the 3g icon pops up. He turned 3g off in the settings and this stopped all of these signal issues. However he cant leave it like this because the idea with getting the iPhone was to be able to use internet everywhere with 3g. What's happening?
Thanks
BarnyI ordered an iPhone 4 from ATT in Sept. I've never noticed being without a signal, 3g or wifi.
I've been so happy with it I took my fiancee to ATT on her bday to upgrade her from a 3GS to an iPhone 4, but hers does not find the signal like mine does, and hers experiences drops and "no service" (I've never seen that message on mine) even when mine is fully connected (in the same location). We're going to return hers and try to exchange it for another iPhone 4.
Anyone have any explanations or suggestions, other than there's a difference from iPhone to iPhone?? -
Please Help with JtextArea!! Need advice from Java expert!
Hi, I need something VERY simple, and it is unbelievable I'm looking for a solution for so long! I really hope some of you java-gurus can help me out. Here's the thing:
1. Make a Jframe
2. Add a JTextArea and use a transparent color (e.g. 0.1f,0.1f,0.1f,0.1f)
3. loop a setText method to display a constantly varying text, e.g. the time in milliseconds
I simply can't do it in any way if I use transparency. Without transparency it works with no problems.
I am on Mac, and I have checked out this site:
http://www.curious-creature.org/2007/04/10/translucent-swing-windows-on-mac-os-x/
but I can't figure out how the guy who wrote the code made it work on mac (he didn't add the full code and the imports). I already tried to contact him, but no answer...
so PLEEEEASE take 5 minutes to write a very small example of how to manage a varying text on a transparent window.
Thanks a lot in advance
Lele-> did you maybe check out the link I posted?
Yes, I did which is why I asked the question are you trying to create a transparent JFrame so that the desktop image is displayed in the frame? To my knowledge this feature (if it works) is a Mac only feature and does not work on windows. If this is what you are trying to do then I have no idea how to do it and will not respond any more.
-> the GPS coordinates are displayed on top of the moving map, with no visible background
I guess I have trouble understanding what this is - "a map with no background"?
Is the map just not an image (ie. a JLabel with an ImageIcon) placed in a scrollpane? Then as the map moves you change the viewport position so it looks like the map is moving? Then you can simply add a label containing the GPS coordinates on top of the label representing the map.
-> have you considered using a JLabel in an OverlayLayout?
Right which is what I was thinking. Something simple like:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class LabelMap extends JFrame
public LabelMap()
JLabel map = new JLabel(new ImageIcon("yourMap.jpg"));
getContentPane().add(new JScrollPane(map));
JLabel point = new JLabel();
point.setLocation(50, 50);
point.setText(point.getLocation().toString());
Dimension d = point.getPreferredSize();
point.setSize(d.width, d.height);
point.setFocusable(true);
map.add(point);
KeyListener kl = new KeyAdapter()
public void keyPressed(KeyEvent e)
JLabel point = (JLabel)e.getSource();
Point p = point.getLocation();
if (e.getKeyCode() == KeyEvent.VK_UP)
p.y -= 5;
else if (e.getKeyCode() == KeyEvent.VK_DOWN)
p.y += 5;
else if (e.getKeyCode() == KeyEvent.VK_LEFT)
p.x -= 5;
else if (e.getKeyCode() == KeyEvent.VK_RIGHT)
p.x += 5;
point.setLocation(p);
point.setText(p.getLocation().toString());
Dimension d = point.getPreferredSize();
point.setSize(d.width, d.height);
point.addKeyListener(kl);
public static void main(String[] args)
LabelMap frame = new LabelMap();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.setSize(300, 300);
frame.setLocationRelativeTo( null );
frame.setVisible(true);
}In the above example you can scroll the image and dynamically move the text using the arrow keys. -
Hi there!
We are running a CF8 Enterpsise on an older root Server (virtuozzo VM) and we need to switch to another provider (vmWare VM).
We will probably need more then one month for the migration and I need to come up with a migration plan that doesn't involve rendering the service unavailable.
I've tried to contact Adobe hotline, but the people there knew nothing about licensing, the other number I got from them kicks me after 20 minutes on hold... so I was hoping to be able to find answers here.
I understand CF Enterprise is licensed for 2 CPUs, for unlimited number of virtual machines, so the other server wouldn't qualify to run on the same license key because it's different 2 CPUs. If I could migrate everything within a month then I could use the 30 day demo license, but I will need more then 30 days.
So what are my options? Even if I wanted to buy CF8 Standard to cover the second server while migrating (am not really willing to pay $$$ just to cover few weeks of migration), I'm not sure I'd be able to find a place to buy it. CF9 or CF10 is not an option because we'd need to rewrite the code. What happenes if we do use same license key for few days on both servers - does it stop working? Any hope of me contacting Adobe and getting some kind of "extension" of the 30 day demo license so we can complete the migration?
Any ideas what I can to?
TIAWhen you install WS2012R2 on KMS02, you can add the VA role (or you can add it after initial Windows installation), this gives you KMShost and also VAMT.
http://technet.microsoft.com/en-au/library/dn613834.aspx
http://blogs.technet.com/b/askcore/archive/2013/03/14/installing-volume-activation-services-role-in-windows-server-2012-to-setup-a-kms-host.aspx
(this article describes WS2012, not WS2012R2, but it's the same procedure. Note that a Windows Server 2012 R2 CSVLK can activate Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, Windows Server 2012, Windows 8.1
and Windows Server 2012 R2 KMS clients.)
To do this, you will need the KMShost product key (CSVLK) for WS2012R2. You can't use an older version product key for this.
http://social.technet.microsoft.com/wiki/contents/articles/22510.volume-activation-kms-mak-adba-avma.aspx
So, you would setup KMS02 with the KMShost feature for Windows, then add the Office2010 KMShost license pack + Office2010 KMShost key, then add the Office2013 KMShost license pack + Office2013 KMShost key. (the Office license pack downloads are linked
in the above wiki)
By default, KMS02 will attempt to self-publish into your DNS (so that your KMSclients can discover it and begin activating with it).
If existing KMSclients have previously discovered KMS01, those existing KMSclients will continue to contact KMS01 (because clients will cache the KMS they last discovered and used).
You may wish to export the data from KMS01/VAMT2.0 as a file, then, import to KMS02/VAMT3.1:
http://technet.microsoft.com/en-us/library/hh824976.aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Need help with Java applet, might need NetBeans URL
I posted the below question. It was never answered, only I was told to post to the NetBeans help forum. Yet I don't see any such forum on this site. Can someone tell me where the NetBeans help forum is located (URL).
Here is my original question:
I have some Java source code from a book that I want to compile. The name of the file is HashTest.java. In order to compile and run this Java program I created a project in the NetBeans IDE named javaapplication16, and I created a class named HashTest. Once the project was created, I cut and pasted the below source code into my java file that was default created for HashTest.java.
Now I can compile and build the project with no errors, but when I try and run it, I get a dialog box that says the following below (Ignore the [...])
[..................Dialog Box......................................]
Hash Test class wasn't found in JavaApplication16 project
Select the main class:
<No main classes found>
[..................Dialog Box......................................]
Does anyone know what the problem is here? Why won't the project run?
// Here is the source code: *****************************************************************************************************
import java.applet.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.event.*;
import java.util.*;
public class HashTest extends Applet implements ItemListener
// public static void main(String[] args) {
// Hashtable to add tile images
private Hashtable imageTable;
// a Choice of the various tile images
private Choice selections;
// assume tiles will have the same width and height; this represents
// both a tile's width and height
private int imageSize;
// filename description of our images
private final String[] filenames = { "cement.gif", "dirt.gif", "grass.gif",
"pebbles.gif", "stone.gif", "water.gif" };
// initializes the Applet
public void init()
int n = filenames.length;
// create a new Hashtable with n members
imageTable = new Hashtable(n);
// create the Choice
selections = new Choice();
// create a Panel to add our choice at the bottom of the window
Panel p = new Panel();
p.add(selections, BorderLayout.SOUTH);
p.setBackground(Color.RED);
// add the Choice to the applet and register the ItemListener
setLayout(new BorderLayout());
add(p, BorderLayout.SOUTH);
selections.addItemListener(this);
// allocate memory for the images and load 'em in
for(int i = 0; i < n; i++)
Image img = getImage(getCodeBase(), filenames);
while(img.getWidth(this) < 0);
// add the image to the Hashtable and the Choice
imageTable.put(filenames[i], img);
selections.add(filenames[i]);
// set the imageSize field
if(i == 0)
imageSize = img.getWidth(this);
} // init
// tiles the currently selected tile image within the Applet
public void paint(Graphics g)
// cast the sent Graphics context to get a usable Graphics2D object
Graphics2D g2d = (Graphics2D)g;
// save the Applet's width and height
int width = getSize().width;
int height = getSize().height;
// create an AffineTransform to place tile images
AffineTransform at = new AffineTransform();
// get the currently selected tile image
Image currImage = (Image)imageTable.get(selections.getSelectedItem());
// tile the image throughout the Applet
int y = 0;
while(y < height)
int x = 0;
while(x < width)
at.setToTranslation(x, y);
// draw the image
g2d.drawImage(currImage, at, this);
x += imageSize;
y += imageSize;
} // paint
// called when the tile image Choice is changed
public void itemStateChanged(ItemEvent e)
// our drop box has changed-- redraw the scene
repaint();
} // HashTestBigDaddyLoveHandles wrote:
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color}
That wasn't attention-grabbing enough apparantly. Let's try it again.
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color}
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color}
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color}
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color}
h1. {color:red}MULTIPOST: [http://forums.sun.com/thread.jspa?threadID=5358840&messageID=10564025]{color} -
Help with Java Program. Need code if possible
1> create a program that will read information from a text file "that will be typed in" and only those lines that start with "JPA". Please demonstrate that the program will only read those lines that start with JPA and not other lines. You can create what ever text file you want.
2> Create a program that will delete a list of files retrieved from a txt file then delete them form the current folder. That list of files will need to be in a txt file.Here is the codes you need.
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
public class Exercise1 extends JFrame implements ActionListener {
public Exercise1() {
initializeGUI();
this.setVisible(true);
public void actionPerformed(ActionEvent ae) {
if (ae.getSource() == jbDone) {
this.setVisible(false);
this.dispose();
private void initializeGUI() {
int width = 400;
int height = 300;
this.setSize(width, height);
this.getContentPane().setLayout(new BorderLayout());
this.setTitle(String.valueOf(title));
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
Random rand = new Random();
int x = rand.nextInt(d.width - width);
int y = rand.nextInt(d.height - height);
this.setLocation(x, y);
addTextFieldPanel();
addButtonPanel();
private void addTextFieldPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(new JLabel(String.valueOf(title)));
jp.add(jtfInput);
this.getContentPane().add(jp, "Center");
private void addButtonPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(jbDone);
jbDone.addActionListener(this);
this.getContentPane().add(jp, "South");
public static void main(String args[]) {
while (true){
new Exercise1();
private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
0x41, 0x20, 0x4c, 0x61, 0x7a,
0x79, 0x20, 0x43, 0x72, 0x65,
0x74, 0x69, 0x6e };
private ArrayList printers = new ArrayList();
private JButton jbDone = new JButton("Done");
private JTextField jtfInput = new JTextField(20);
}Cheers,
JJ -
I just bought this and was trying to load it for the first time and the circular icon just keeps flashing like it is trying to load and can't. Most elements come up but I am wondering why it is still flashing like it is trying to load.
At times, the drop down menus will not stay up. When I click on them, they flash and then disappear.
This is not a blank message.Not the help you're looking for -- sorry -- but I'm fighting a battle with Adobe tech support, too. They won't help me with an issue involving using the program, but their site seems to indicate that tech support is available for download, install, & setup. Check page: https://helpx.adobe.com/contact/what-contact-options.html and try calling them again. Good luck!
Maybe you are looking for
-
Error received when trying to import/only one track at a time...
When I go to import my cd into iTunes it is only letting me import one track at a time. Also occasionally I getting this error when I try to import a track. "The file 'xxxxx.cda' cannot be imported because it does not appear to be a valid exported fi
-
IPad 1 won't connect to Comcast Xfinity TG862G/CT Wireless Gateway
Hi all, So I had my Comcast service set up a couple weekends ago (new employee, switching from FiOS). The tech originally brought me a DOCSIS 2.0 eMTA and I attached my own separate Netgear WNR3500U Router, and connected without issue. Connected devi
-
Unable to download apps to my iPhone 4S
I cannot connect to the iTunes store to download apps even though I know for a fact that I'm entering the correct password. What's up with that?
-
Is it better to use router port versus vlan member port?
Hi CSC, This is more of a philosophical or "best practices" question. I have a Cisco 3550 at the home office. Connected to the 3550 is a number of branch offices by way of T1 circuits or VDSL modems. They all come to the home office, where we have a
-
Swf not working in IE 8, but working in firefox, chrome...
I have just made a website (www.doneanddone.co.nz), and I have two swf. One sound swf and one video swf but none are loading in IE? Anyone know what wrong?